|
| coHashBase (DATA nullelem) |
|
| coHashBase () |
|
virtual unsigned long | nextHash (unsigned long) const |
| no identical keys in table More...
|
|
virtual int | insert (const KEY &key, const DATA &inData) |
| insert: if existing element, replace it More...
|
|
virtual unsigned long | hash1 (const KEY &) const =0 |
| first hash function (pure virtual) More...
|
|
virtual unsigned long | hash2 (const KEY &) const =0 |
| second hash function (pure virtual) More...
|
|
virtual bool | equal (const KEY &, const KEY &) const =0 |
| KEY1 == KEY2 operation (pure virtual) More...
|
|
| coMultiHashBase () |
| constructor More...
|
|
| coMultiHashBase (DATA nullelem) |
| constructor More...
|
|
const DATA & | getNullElem () const |
| get the NULL element More...
|
|
virtual | ~coMultiHashBase () |
| destructor More...
|
|
virtual int | insert (const KEY &key, const DATA &inData) |
| insert an entry (virtual for non-multi hash) More...
|
|
int | remove (unsigned long hashIndex) |
| remove an entry by hashIndex More...
|
|
void | removeAll () |
| remove an entry by hashIndex More...
|
|
unsigned long | getHash (const KEY &key) const |
| get hash index, 0 if no element found More...
|
|
DATA & | operator[] (unsigned long hashIndex) |
| access element by hash index: assert() correct index !! More...
|
|
const DATA & | operator[] (unsigned long hashIndex) const |
| access element by hash index: assert() correct index !! More...
|
|
virtual unsigned long | nextHash (unsigned long hashIndex) const |
| get next hashIndex to given hashIndex More...
|
|
int | getNumEntries () const |
| get number of entries currently in hash More...
|
|
virtual unsigned long | hash1 (const KEY &) const =0 |
| first hash function (pure virtual) More...
|
|
virtual unsigned long | hash2 (const KEY &) const =0 |
| second hash function (pure virtual) More...
|
|
virtual bool | equal (const KEY &, const KEY &) const =0 |
| KEY1 == KEY2 operation (pure virtual) More...
|
|