![]() |
GM6000 Digital Heater Controller Build: 20 (Branch = develop)
SDX-1330
|
This concrete class implements the core functionality for a Dictionary and/or Hash Table. More...
This concrete class implements the core functionality for a Dictionary and/or Hash Table.
All of the memory for the class is statically allocated
The hash function is 'fixed' to the default hash function
Template args: N:= The number of hash buckets
#include <FHashTable_.h>
Classes | |
| struct | MemDList |
| Struct to allocate Memory for array of hash buckets. More... | |
Public Member Functions | |
| FHashTable_ () | |
| Constructor. | |
| FHashTable_ (const char *ignoreThisParameter_usedToCreateAUniqueConstructor) | |
| Constructor when statically allocating the instance. | |
| void | insert (DictItem &node) |
| See Cpl::Container::HashTable_. | |
| DictItem * | removeItem (DictItem &nodeToDelete) |
| See Cpl::Container::HashTable_. | |
| DictItem * | find (const Key &keyToFind) const |
| See Cpl::Container::HashTable_. | |
| DictItem * | first () const |
| See Cpl::Container::HashTable_. | |
| DictItem * | next (DictItem ¤t) const |
| See Cpl::Container::HashTable_. | |
| void | tableStats (HashTableStats &tableInfo) const |
| See Cpl::Container::HashTable_. | |
Protected Attributes | |
| MemDList | m_memBuckets [N] |
| Memory for an array of hash buckets. | |
| unsigned long | m_numItems |
| Number of items in the table. | |
| struct Cpl::Container::FHashTable_::MemDList |
|
inline |
Constructor.
|
inline |
Constructor when statically allocating the instance.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Memory for an array of hash buckets.
|
protected |
Number of items in the table.