Base data entry for HashMap. More...
Public Member Functions | |
uint_t | IsEmpty (void) const noexcept |
Is the Entry an empty record. | |
uint_t | IsEndOfChain (void) const noexcept |
Is the Entry the last Entry of a linked list. | |
uint_t | IsHashInvalid (void) const noexcept |
Is the Entry uninitialized? | |
Public Attributes | |
uintptr_t | m_uNextInChain |
Next item index in the linked list chain or END_OF_CHAIN to mark the end of a linked list. | |
uintptr_t | m_uHashValue |
Computed hash value for this object (INVALID_HASH indicates this entry is not initialized) | |
This is the base class for each data entry used by the HashMap / HashMapShared hash manager. These entries are used for managing the linked list for multiple hash items
The derived class will append the key / value pairs to this class.
An entry is considered initialized if the hash value is not INVALID_HASH
An entry is considered "dormant", that is, part of a linked list, yet must be skipped when the entry is not EMPTY_RECORD and the hash is INVALID_HASH.
This is to support erasing entries during the use of an iterator without complicating the iterator code.
|
inlinenoexcept |
|
inlinenoexcept |
Is the Entry the last Entry of a linked list.
If the Entry is the last link of the linked list, it will return TRUE. Otherwise, it returns FALSE.
|
inlinenoexcept |
Is the Entry uninitialized?
If the Entry doesn't contain valid data, it will return TRUE. Otherwise, it returns FALSE.
uintptr_t Burger::HashMapShared::Entry::m_uHashValue |
Computed hash value for this object (INVALID_HASH indicates this entry is not initialized)
uintptr_t Burger::HashMapShared::Entry::m_uNextInChain |
Next item index in the linked list chain or END_OF_CHAIN to mark the end of a linked list.