An STL-conforming const_iterator. More...


Public Member Functions | |
| const_iterator () | |
| Construct null (end iterator) More... | |
| const_iterator (const iterator &) | |
| Construct from iterator. More... | |
| const_iterator (const iteratorEnd &unused) | |
| Construct end iterator. More... | |
| const T & | operator* () const |
| Return referenced hash value. More... | |
| const T & | operator() () const |
| const_iterator & | operator++ () |
| const_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 const_iterator.
Definition at line 470 of file HashTable.H.
|
inline |
Construct null (end iterator)
Definition at line 428 of file HashTableI.H.
References HashTable< T, Key, Hash >::iteratorBase::iteratorBase().
Referenced by HashTable< T, Key, Hash >::cbegin(), and HashTable< T, Key, Hash >::const_iterator::const_iterator().


|
inline |
Construct from iterator.
|
inline |
Construct end iterator.
Definition at line 446 of file HashTableI.H.
References HashTable< T, Key, Hash >::const_iterator::const_iterator(), HashTable< T, Key, Hash >::iteratorBase::iteratorBase(), and Foam::T().

Return referenced hash value.
Definition at line 478 of file HashTableI.H.
References HashTable< T, Key, Hash >::iteratorBase::cobject(), and Foam::T().

Definition at line 486 of file HashTableI.H.
References HashTable< T, Key, Hash >::iteratorBase::cobject().

|
inline |
Definition at line 495 of file HashTableI.H.
References HashTable< T, Key, Hash >::iteratorBase::increment().

|
inline |
Definition at line 504 of file HashTableI.H.
References HashTable< T, Key, Hash >::iteratorBase::increment().

|
friend |
Definition at line 474 of file HashTable.H.
1.8.11