Beispiel #1
0
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
	}
}
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;
}
Beispiel #3
0
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;
}
Beispiel #4
0
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
	}
}
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);
	}
}
void PtgAreaErr3d::storeFields(CFRecord& record)
{
	record << ixti;
	record.reserveNunBytes(8); // unused
}
Beispiel #7
0
void PtgElfColSV::storeFields(CFRecord& record)
{
	record.reserveNunBytes(4); // unused
}
void PtgAttrSpaceSemi::storeFields(CFRecord& record)
{
	record.reserveNunBytes(2); // I do not use it, but the data present
}
void UserSViewEnd::writeFields(CFRecord& record)
{
	record.reserveNunBytes(2, static_cast<unsigned short>(1)); // reserved
}
Beispiel #10
0
void SerErr::store(CFRecord& record)
{
    record.storeAnyData(fixed_type);
	record << err;
	record.reserveNunBytes(7); // reserved/unused
}
void PtgElfRadicalS::storeFields(CFRecord& record)
{
	record.reserveNunBytes(4); // unused
}
Beispiel #12
0
void PtgMemErr::storeFields(CFRecord& record)
{
	record << err;
	record.reserveNunBytes(3); // unused
	record << cce;
}
Beispiel #13
0
void AxisParent::writeFields(CFRecord& record)
{
	record << iax;
	record.reserveNunBytes(16);// unused
}
Beispiel #14
0
void PtgAttrSemi::storeFields(CFRecord& record)
{
	record.reserveNunBytes(2); // unused
}