1#ifndef Cpl_Container_HashTable_x_h_ 
    2#define Cpl_Container_HashTable_x_h_ 
   42                        unsigned int     numBuckets,
 
   44                        unsigned long&   numItems ) 
noexcept;
 
   53                                 unsigned int     numBuckets,
 
   55                                 unsigned long&   numItems ) 
noexcept;
 
   62                           unsigned int     numBuckets,
 
   67                            unsigned int     numBuckets,
 
   69                            unsigned long    numItems ) 
noexcept;
 
   74                           unsigned int     numBuckets,
 
   87                            unsigned int     numBuckets,
 
   89                            unsigned long    numItems ) 
noexcept;
 
This template class implements a Doubly linked list which maintains the ordering imposed on it by the...
Definition DList.h:29
This abstract class represents a item that can be contained in Dictionary.
Definition DictItem.h:34
This concrete provides a collection of functions used by the 'Hash Table' classes.
Definition HashTable_.h:36
static void tableStats(HashTableStats &tableInfo, DList< DictItem > *buckets, unsigned int numBuckets, HashFunc hashFunc, unsigned long numItems) noexcept
Returns table stats.
static DictItem * removeItem(DictItem &nodeToDelete, DList< DictItem > *buckets, unsigned int numBuckets, HashFunc hashFunc, unsigned long &numItems) noexcept
Removes the specified item from the table.
static void insert(DictItem &node, DList< DictItem > *buckets, unsigned int numBuckets, HashFunc hashFunc, unsigned long &numItems) noexcept
Inserts an item into the table.
static DictItem * next(DictItem ¤t, DList< DictItem > *buckets, unsigned int numBuckets, HashFunc hashFunc) noexcept
Returns the next item in the table. Returns 0 if at the end-of-table.
static DictItem * first(DList< DictItem > *buckets, unsigned int numBuckets, HashFunc hashFunc, unsigned long numItems) noexcept
Returns the first item in the table. Returns 0 if table is empty.
static DictItem * find(const Key &keyToFind, DList< DictItem > *buckets, unsigned int numBuckets, HashFunc hashFunc) noexcept
Searches for a item with a matching key.
This abstract class defines the interface that a contained object must support if it has comparable k...
Definition Key.h:32
unsigned int(* HashFunc)(const void *keystart, unsigned keylen, unsigned int maxBuckets)
This type defines the function signature for the hashing function that operates on a key stored in co...
Definition Hash.h:23
This struct defines what usage/stats can be retrieved from a Hash table.
Definition Hash.h:29
The 'Cpl' namespace is the root name space for the Colony.
Definition Api16.h:20