An STL-conforming iterator. More...
Public Member Functions | |
iterator () | |
Construct null (end iterator) More... | |
iterator (const iteratorEnd &unused) | |
Construct end iterator. More... | |
T & | operator* () |
Return referenced hash value. More... | |
T & | operator() () |
const T & | operator* () const |
Return referenced hash value. More... | |
const T & | operator() () const |
iterator & | operator++ () |
iterator | operator++ (int) |
Public Member Functions inherited from HashTable< T, Key, Hash >::iteratorBase | |
const Key & | key () const |
Return the Key corresponding to the iterator. More... | |
bool | operator== (const iteratorBase &) const |
Compare hashedEntry element pointers. More... | |
bool | operator!= (const iteratorBase &) const |
bool | operator== (const iteratorEnd &unused) const |
Compare hashedEntry to iteratorEnd pointers. More... | |
bool | operator!= (const iteratorEnd &unused) const |
Friends | |
class | HashTable |
Additional Inherited Members | |
Protected Member Functions inherited from HashTable< T, Key, Hash >::iteratorBase | |
iteratorBase () | |
Construct null - equivalent to an 'end' position. More... | |
iteratorBase (const HashTable< T, Key, Hash > *curHashTable) | |
Construct from hash table, moving to its 'begin' position. More... | |
iteratorBase (const HashTable< T, Key, Hash > *curHashTable, const hashedEntry *elmt, const label hashIndex) | |
Construct from hash table, element and hash index. More... | |
void | increment () |
Increment to the next position. More... | |
bool | erase () |
Erase the HashTable element at the current position. More... | |
T & | object () |
Return non-const access to referenced object. More... | |
const T & | cobject () const |
Return const access to referenced object. More... | |
An STL-conforming iterator.
Definition at line 440 of file HashTable.H.
|
inline |
Construct null (end iterator)
Definition at line 319 of file HashTableI.H.
|
inline |
Construct end iterator.
Definition at line 326 of file HashTableI.H.
Return referenced hash value.
Definition at line 359 of file HashTableI.H.
Definition at line 367 of file HashTableI.H.
Return referenced hash value.
Definition at line 375 of file HashTableI.H.
Definition at line 383 of file HashTableI.H.
|
inline |
Definition at line 392 of file HashTableI.H.
|
inline |
Definition at line 401 of file HashTableI.H.
|
friend |
Definition at line 444 of file HashTable.H.