An STL iterator. More...
#include <src/OpenFOAM/containers/HashTables/StaticHashTable/StaticHashTable.H>
An STL iterator.
Definition at line 273 of file StaticHashTable.H.
Public Member Functions | |
Iterator (TableRef, label hashIndex_, label elemIndex_) | |
Construct from hash table, hash index and element index.
| |
Iterator (const iterator &) | |
Construct from the non-const iterator.
| |
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 |
Friends | |
class | StaticHashTable |
class | Iterator |
Iterator | ( | TableRef | hashTbl, |
label | hashIndex_, | ||
label | elemIndex_ | ||
) | [inline]
|
Construct from hash table, hash index and element index.
Definition at line 151 of file StaticHashTableI.H.
Construct from the non-const iterator.
Definition at line 166 of file StaticHashTableI.H.
void operator= | ( | const iterator & | iter ) | [inline]
|
Definition at line 180 of file StaticHashTableI.H.
bool operator== | ( | const iterator & | iter ) | const [inline]
|
Definition at line 193 of file StaticHashTableI.H.
bool operator== | ( | const const_iterator & | iter ) | const [inline]
|
Definition at line 205 of file StaticHashTableI.H.
bool operator!= | ( | const iterator & | iter ) | const [inline]
|
Definition at line 217 of file StaticHashTableI.H.
References Foam::operator==().
bool operator!= | ( | const const_iterator & | iter ) | const [inline]
|
Definition at line 229 of file StaticHashTableI.H.
References Foam::operator==().
TRef operator* | ( | ) | [inline]
|
Definition at line 240 of file StaticHashTableI.H.
TRef operator() | ( | ) | [inline]
|
Definition at line 249 of file StaticHashTableI.H.
References Foam::operator*().
Foam::StaticHashTable< T, Key, Hash >::template Iterator< TRef, TableRef > & operator++ | ( | ) | [inline]
|
Definition at line 267 of file StaticHashTableI.H.
Foam::StaticHashTable< T, Key, Hash >::template Iterator< TRef, TableRef > operator++ | ( | int | ) | [inline]
|
Definition at line 315 of file StaticHashTableI.H.
const Key & key | ( | ) | const [inline]
|
Definition at line 328 of file StaticHashTableI.H.
friend class StaticHashTable [friend]
|
Definition at line 275 of file StaticHashTable.H.
friend class Iterator [friend]
|
Definition at line 279 of file StaticHashTable.H.