CvFieldList

Helper struct for field list records LF_FIELDLIST/LF_FIELDLIST_V2

if the size exceeds the maximum length of a record, the last entry is an LF_INDEX entry with the type index pointing to the next field list record

Processing is done in two phases:

Phase 1: computing the size of the field list and distributing it over multiple records - construct CvFieldList with some precalculated field count/length - for each field, call count(length of field)

Phase 2: write the actual data - call alloc() to allocate debtyp's - for each field, - call writePtr() to get a pointer into the current debtyp - fill memory with field data - call written(length of field) - call debtyp() to create type records and return the index of the first one

Constructors

this
this(uint fields, uint len)
Undocumented in source.

Members

Functions

alloc
void alloc()
Undocumented in source. Be warned that the author may not have intended to support it.
count
void count(uint n)
Undocumented in source. Be warned that the author may not have intended to support it.
debtyp
idx_t debtyp()
Undocumented in source. Be warned that the author may not have intended to support it.
writePtr
ubyte* writePtr()
Undocumented in source. Be warned that the author may not have intended to support it.
written
void written(uint n)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

FLChunk
struct FLChunk
Undocumented in source.

Variables

canSplitList
bool canSplitList;
Undocumented in source.
fieldIndexLen
uint fieldIndexLen;
Undocumented in source.
fieldLenMax
uint fieldLenMax;
Undocumented in source.
fieldLists
Array!FLChunk fieldLists;
Undocumented in source.
nfields
uint nfields;
Undocumented in source.
writeIndex
uint writeIndex;
Undocumented in source.

Meta