class MDT


Public Methods

void AddEntry (const MDTREC& MdtRecord)
void Dump ()
void FlipIndexBytes ()
void FlushMDTIndexes ()
INT GetChanged ()
void GetEntry (const SIZE_T Index, MDTREC* MdtrecPtr)
SIZE_T GetMdtRecord (const GPTYPE gp, MDTREC* MdtrecPtr)
SIZE_T GetMdtRecord (const STRING& Key, MDTREC* MdtrecPtr)
GPTYPE GetNextGlobal ()
SIZE_T GetTotalEntries ()
void GetUniqueKey (STRING* StringPtr)
void IndexSortByIndex ()
SIZE_T LookupByGp (const GPTYPE Gp)
SIZE_T LookupByKey (const STRING& Key)
MDT (const STRING& DbFileStem, const GDT_BOOLEAN WrongEndian)
SIZE_T RemoveDeleted ()
void Resize (const SIZE_T Entries)
void SetEntry (const SIZE_T Index, const MDTREC& MdtRecord)
void SortGpIndex ()
void SortKeyIndex ()
~MDT ()

Private Fields

GDT_BOOLEAN Changed
STRING FileStem
GPREC* GpIndex
GDT_BOOLEAN GpIndexSorted
KEYREC* KeyIndex
GDT_BOOLEAN KeyIndexSorted
SIZE_T MaxEntries
FILE* MdtFp
GDT_BOOLEAN MdtWrongEndian
GDT_BOOLEAN ReadOnly
SIZE_T TotalEntries

Documentation

MDT(const STRING& DbFileStem, const GDT_BOOLEAN WrongEndian)

void AddEntry(const MDTREC& MdtRecord)

void IndexSortByIndex()

SIZE_T RemoveDeleted()

void GetEntry(const SIZE_T Index, MDTREC* MdtrecPtr)

void SetEntry(const SIZE_T Index, const MDTREC& MdtRecord)

void Resize(const SIZE_T Entries)

void SortKeyIndex()

SIZE_T LookupByKey(const STRING& Key)

SIZE_T GetMdtRecord(const STRING& Key, MDTREC* MdtrecPtr)

SIZE_T GetMdtRecord(const GPTYPE gp, MDTREC* MdtrecPtr)

void SortGpIndex()

SIZE_T LookupByGp(const GPTYPE Gp)

GPTYPE GetNextGlobal()

SIZE_T GetTotalEntries()

void GetUniqueKey(STRING* StringPtr)

void Dump()

INT GetChanged()

void FlipIndexBytes()

void FlushMDTIndexes()

~MDT()

STRING FileStem

FILE* MdtFp

KEYREC* KeyIndex

GPREC* GpIndex

SIZE_T TotalEntries

GDT_BOOLEAN KeyIndexSorted

GDT_BOOLEAN GpIndexSorted

GDT_BOOLEAN Changed

SIZE_T MaxEntries

GDT_BOOLEAN MdtWrongEndian

GDT_BOOLEAN ReadOnly


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de