本文整理汇总了C++中CFRecord::reserveNunBytes方法的典型用法代码示例。如果您正苦于以下问题:C++ CFRecord::reserveNunBytes方法的具体用法?C++ CFRecord::reserveNunBytes怎么用?C++ CFRecord::reserveNunBytes使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CFRecord
的用法示例。
在下文中一共展示了CFRecord::reserveNunBytes方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: writeFields
void Row::writeFields(CFRecord& record)
{
if(1 == in_block_position)
{
record.registerDelayedFilePointerSource(rt_DBCell); // For DBCell::dbRtrw
}
record << rw << colMic << colMac << miyRw;
record.reserveNunBytes(4); // reserved / unused
unsigned short flags = 0x0100;
SETBITS(flags, 0, 2, iOutLevel);
SETBIT(flags, 4, fCollapsed);
SETBIT(flags, 5, fDyZero);
SETBIT(flags, 6, fUnsynced);
SETBIT(flags, 7, fGhostDirty);
record << flags;
flags = 0;
SETBITS(flags, 0, 11, ixfe_val);
SETBIT(flags, 12, fExAsc);
SETBIT(flags, 13, fExDes);
SETBIT(flags, 14, fPhonetic);
record << flags;
if(1 == in_block_position)
{
record.registerDelayedFilePointerAndOffsetSource(record.getDataSize() + sizeof(unsigned short)/*size_short*/ + sizeof(CFRecordType::TypeId), rt_Blank); // For CELL container. All Cell containers will listen for rt_Blank
}
}
示例2: store
void PictFmlaEmbedInfo::store(CFRecord& record)
{
unsigned char ttb = 0x03; // reserved
record << ttb;
unsigned short cbClass = static_cast<unsigned char>(strClass.getSize());
record << cbClass;
record.reserveNunBytes(1); // reserved
record << strClass;
}
示例3: store
void FtGboData::store(CFRecord& record)
{
unsigned short ft = 0x000F; // reserved
unsigned short cb = 0x0006; // reserved
record << ft << cb;
record << accel;
record.reserveNunBytes(2); // reserved
unsigned short flags = 0;
SETBIT(flags, 0, fNo3d);
record << flags;
}
示例4: store
void LbsDropData::store(CFRecord& record)
{
unsigned short flags = 0;
SETBITS(flags, 0, 1, wStyle);
SETBIT(flags, 3, fFiltered);
record << flags << cLine << dxMin << str;
if(0 != (str.getStructSize() & 1))
{
record.reserveNunBytes(1); // padding
}
}
示例5: store
void CFMultistate::store(CFRecord& record)
{
record.reserveNunBytes(2); // unused
record.reserveNunBytes(1); // reserved
record << cStates << iIconSet;
unsigned char flags = 0;
SETBIT(flags, 0, fIconOnly);
SETBIT(flags, 2, fReverse);
record << flags;
for(std::vector<CFMStateItemPtr>::iterator it = rgStates.begin(), itEnd = rgStates.end(); it != itEnd; ++it)
{
(*it)->store(record);
}
}
示例6:
void PtgAreaErr3d::storeFields(CFRecord& record)
{
record << ixti;
record.reserveNunBytes(8); // unused
}
示例7: storeFields
void PtgElfColSV::storeFields(CFRecord& record)
{
record.reserveNunBytes(4); // unused
}
示例8: storeFields
void PtgAttrSpaceSemi::storeFields(CFRecord& record)
{
record.reserveNunBytes(2); // I do not use it, but the data present
}
示例9: writeFields
void UserSViewEnd::writeFields(CFRecord& record)
{
record.reserveNunBytes(2, static_cast<unsigned short>(1)); // reserved
}
示例10: store
void SerErr::store(CFRecord& record)
{
record.storeAnyData(fixed_type);
record << err;
record.reserveNunBytes(7); // reserved/unused
}
示例11: storeFields
void PtgElfRadicalS::storeFields(CFRecord& record)
{
record.reserveNunBytes(4); // unused
}
示例12: storeFields
void PtgMemErr::storeFields(CFRecord& record)
{
record << err;
record.reserveNunBytes(3); // unused
record << cce;
}
示例13: writeFields
void AxisParent::writeFields(CFRecord& record)
{
record << iax;
record.reserveNunBytes(16);// unused
}
示例14: storeFields
void PtgAttrSemi::storeFields(CFRecord& record)
{
record.reserveNunBytes(2); // unused
}