An STL iterator. More...
Public Member Functions | |
Iterator (TableRef, label hashIndex_, label elemIndex_) | |
Construct from hash table, hash index and element index. More... | |
Iterator (const iterator &) | |
Construct from the non-const iterator. More... | |
void | operator= (const iterator &) |
bool | operator== (const iterator &) const |
bool | operator== (const const_iterator &) const |
bool | operator!= (const iterator &) const |
bool | operator!= (const const_iterator &) const |
TRef | operator* () |
TRef | operator() () |
Iterator & | operator++ () |
Iterator | operator++ (int) |
const Key & | key () const |
Private Attributes | |
TableRef | hashTable_ |
Reference to the StaticHashTable this is an iterator for. More... | |
label | hashIndex_ |
Current hash index. More... | |
label | elemIndex_ |
Index of current element at hashIndex. More... | |
Friends | |
class | StaticHashTable |
template<class TRef2 , class TableRef2 > | |
class | Iterator |
An STL iterator.
Definition at line 138 of file StaticHashTable.H.
Construct from hash table, hash index and element index.
Definition at line 147 of file StaticHashTableI.H.
Construct from the non-const iterator.
Definition at line 162 of file StaticHashTableI.H.
Definition at line 176 of file StaticHashTableI.H.
Definition at line 189 of file StaticHashTableI.H.
|
inline |
Definition at line 201 of file StaticHashTableI.H.
|
inline |
Definition at line 213 of file StaticHashTableI.H.
|
inline |
Definition at line 225 of file StaticHashTableI.H.
Definition at line 236 of file StaticHashTableI.H.
Definition at line 245 of file StaticHashTableI.H.
Definition at line 263 of file StaticHashTableI.H.
|
inline |
Definition at line 316 of file StaticHashTableI.H.
|
inline |
Definition at line 329 of file StaticHashTableI.H.
|
friend |
Definition at line 297 of file StaticHashTable.H.
|
friend |
Definition at line 300 of file StaticHashTable.H.
|
private |
Reference to the StaticHashTable this is an iterator for.
Definition at line 305 of file StaticHashTable.H.
|
private |
Current hash index.
Definition at line 308 of file StaticHashTable.H.
Referenced by StaticHashTable::Iterator< T &, StaticHashTable< T, Key, Hash > & >::operator=(), and StaticHashTable::Iterator< T &, StaticHashTable< T, Key, Hash > & >::operator==().
|
private |
Index of current element at hashIndex.
Definition at line 311 of file StaticHashTable.H.
Referenced by StaticHashTable::Iterator< T &, StaticHashTable< T, Key, Hash > & >::operator=(), and StaticHashTable::Iterator< T &, StaticHashTable< T, Key, Hash > & >::operator==().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.