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) |
![]() | |
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 |
Private Member Functions | |
iterator (HashTable< T, Key, Hash > *curHashTable) | |
Construct from hash table, moving to its 'begin' position. More... | |
iterator (HashTable< T, Key, Hash > *curHashTable, hashedEntry *elmt, const label hashIndex) | |
Construct from hash table, element and hash index. More... | |
Friends | |
class | HashTable |
Additional Inherited Members | |
![]() | |
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 415 of file HashTable.H.
Construct from hash table, moving to its 'begin' position.
|
inlineprivate |
Construct from hash table, element and hash index.
|
inline |
Construct null (end iterator)
Definition at line 325 of file HashTableI.H.
|
inline |
Construct end iterator.
Return referenced hash value.
Definition at line 365 of file HashTableI.H.
Definition at line 373 of file HashTableI.H.
Return referenced hash value.
Definition at line 381 of file HashTableI.H.
Definition at line 389 of file HashTableI.H.
|
inline |
Definition at line 398 of file HashTableI.H.
|
inline |
Definition at line 407 of file HashTableI.H.
|
friend |
Definition at line 419 of file HashTable.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.