|
|
|
StaticHashTable::Iterator Class Template ReferenceCollaboration diagram for StaticHashTable::Iterator:![]() Detailed Descriptiontemplate<class T, class Key = word, class Hash = string::hash>
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| Iterator (TableRef curStaticHashTable, label hashIndex_, label elementIndex_) | |
| Construct from hash table, element and hash index. | |
| Iterator (const iterator &) | |
| Construct from the non-const iterator. | |
| void | operator= (const iterator &iter) |
| bool | operator== (const iterator &iter) const |
| bool | operator== (const const_iterator &iter) const |
| bool | operator!= (const iterator &iter) const |
| bool | operator!= (const const_iterator &iter) const |
| TRef | operator * () |
| TRef | operator() () |
| Iterator & | operator++ () |
| Iterator | operator++ (int) |
| const Key & | key () |
Friends | |
| class | StaticHashTable |
| class | Iterator |
Construct from hash table, element and hash index.
Definition at line 101 of file StaticHashTableI.H.
| void operator= | ( | const iterator & | iter | ) | [inline] |
Definition at line 127 of file StaticHashTableI.H.
References StaticHashTable::Iterator::elementIndex_, and StaticHashTable::Iterator::hashIndex_.
| bool operator== | ( | const iterator & | iter | ) | const [inline] |
Definition at line 137 of file StaticHashTableI.H.
References StaticHashTable::Iterator::elementIndex_, and StaticHashTable::Iterator::hashIndex_.
Referenced by StaticHashTable::Iterator::operator!=(), and StaticHashTable::Iterator::operator==().
Here is the caller graph for this function:

| bool operator== | ( | const const_iterator & | iter | ) | const [inline] |
Definition at line 145 of file StaticHashTableI.H.
References StaticHashTable::Iterator::operator==().
Here is the call graph for this function:

| bool operator!= | ( | const iterator & | iter | ) | const [inline] |
Definition at line 154 of file StaticHashTableI.H.
References StaticHashTable::Iterator::operator==().
Here is the call graph for this function:

| bool operator!= | ( | const const_iterator & | iter | ) | const [inline] |
Definition at line 162 of file StaticHashTableI.H.
| TRef operator * | ( | ) | [inline] |
Definition at line 171 of file StaticHashTableI.H.
| TRef operator() | ( | ) | [inline] |
Definition at line 180 of file StaticHashTableI.H.
References if().
Here is the call graph for this function:

| StaticHashTable< T, Key, Hash >::template Iterator< TRef, TableRef > & operator++ | ( | ) | [inline] |
Definition at line 198 of file StaticHashTableI.H.
| StaticHashTable< T, Key, Hash >::template Iterator< TRef, TableRef > operator++ | ( | int | ) | [inline] |
Definition at line 242 of file StaticHashTableI.H.
| const Key & key | ( | ) | [inline] |
friend class StaticHashTable [friend] |
Definition at line 249 of file StaticHashTable.H.
friend class Iterator [friend] |
Definition at line 253 of file StaticHashTable.H.