Defined in file: hzDatabase.h

Derivative of: hdbIndex

hdbIndexEnum applies specifically to ENUM data class members and is currently the only indexation method available for such members. It consists of a 1:1 map of ENUM values to Idsets. Member values are usually set in HTML forms, where the ENUM is manifest as a set of selector options, a set of radio buttons or a set of check-boxes. In this scenario, ENUM populations are generally small. This not always the case however. The maximum posible population is set to 65,355 values. ENUM members either store a single ENUM value in which case the value will occupy 1 or 2 bytes in the repository, OR it will store multiple ENUM values in encoded form.

Constructors/Detructors

hdbIndexEnum*hdbIndexEnum(hdbIndexEnum& op)
hdbIndexEnum*hdbIndexEnum(void)
void~hdbIndexEnum(void)

Public Methods:

uint32_tCount(void)
hzEcodeDelete(uint32_t objId)hzAtom& Key, Purpose: Delete an object/key combination
hzEcodeDump(hzString& Filename)bool bFull, Output list of keys and thier segment numbers together with the segment contents (Ids relative to the segment start)
voidHalt(void)Close down the enumerated index. De-allocate the bitmaps and clear the bitmap array. Arguments: None Returns: None
hzEcodeInsert(uint32_t objId)hzAtom& Key, Purpose: Add an object/key combination
hzEcodeSelect(hzIntset& Result)hzAtom& Key, Purpose: Select into a set, all identifiers matching the key
hdbIdxtypeWhatami(void)

Overloaded operators:

hdbIndexEnum&operator=(hdbIndexEnum& op)

Member Variables:

hzMapS<uint32_t,hzIntset*>m_MapsMap of keys to lists of objects matching the key (held as bitmaps)