Forward iterator with non-const access. More...


Public Member Functions | |
| iterator ()=default | |
| Default construct (end iterator) More... | |
| iterator (const Iterator< false > &iter) | |
| Copy construct from similar access type. More... | |
| const node_type * | node () const noexcept |
| Const access to the entry (node) More... | |
| node_type * | node () noexcept |
| Non-const access to the entry (node) More... | |
| const_reference | val () const |
| Const access to referenced object (value) More... | |
| reference | val () |
| Non-const access to referenced object (value) More... | |
| const_reference | operator* () const |
| Const access to referenced object (value) More... | |
| const_reference | operator() () const |
| reference | operator* () |
| Non-const access to referenced object (value) More... | |
| reference | operator() () |
| iterator & | operator++ () |
| iterator | operator++ (int) |
Public Member Functions inherited from HashTable< T, Key, Hash >::Iterator< false > | |
| bool | good () const noexcept |
| True if iterator points to an entry. More... | |
| bool | found () const noexcept |
| True if iterator points to an entry - same as good() More... | |
| const Key & | key () const |
| The key associated with the iterator. More... | |
| Ostream & | print (Ostream &os) const |
| Write the (key, val) pair. More... | |
| operator bool () const noexcept | |
| True if iterator points to an entry. More... | |
| bool | operator== (const Iterator< Any > &iter) const noexcept |
| Compare hash-entry element pointers. More... | |
| bool | operator!= (const Iterator< Any > &iter) const noexcept |
Additional Inherited Members | |
Protected Member Functions inherited from HashTable< T, Key, Hash >::Iterator< false > | |
| constexpr | Iterator () noexcept |
| Default construct. Also the same as the end iterator. More... | |
| Iterator (table_type *tbl) | |
| Construct from begin of hash-table. More... | |
| Iterator (table_type *tbl, const Key &key) | |
| Construct by finding key in hash table. More... | |
| void | increment () |
| Increment to the next position. More... | |
| operator const Iterator< Any > & () const | |
| Permit explicit cast to the other (const/non-const) iterator. More... | |
Protected Attributes inherited from HashTable< T, Key, Hash >::Iterator< false > | |
| node_type * | entry_ |
| The selected entry. More... | |
| table_type * | container_ |
| The hash-table container being iterated on. More... | |
| label | index_ |
| Index within the hash-table data. More... | |
Forward iterator with non-const access.
Definition at line 978 of file HashTable.H.
| using iterator_category = std::forward_iterator_tag |
Definition at line 985 of file HashTable.H.
Definition at line 986 of file HashTable.H.
| using node_type = this_type::node_type |
Definition at line 988 of file HashTable.H.
| using key_type = this_type::key_type |
Definition at line 989 of file HashTable.H.
| using mapped_type = this_type::mapped_type |
Definition at line 990 of file HashTable.H.
| using value_type = this_type::value_type |
Definition at line 991 of file HashTable.H.
| using pointer = this_type::pointer |
Definition at line 992 of file HashTable.H.
| using reference = this_type::reference |
Definition at line 993 of file HashTable.H.
Definition at line 994 of file HashTable.H.
Definition at line 995 of file HashTable.H.
|
default |
Default construct (end iterator)
Copy construct from similar access type.
Definition at line 1008 of file HashTable.H.
|
inlinenoexcept |
Const access to the entry (node)
Definition at line 1019 of file HashTable.H.
|
inlinenoexcept |
Non-const access to the entry (node)
Definition at line 1027 of file HashTable.H.
|
inline |
Const access to referenced object (value)
Definition at line 1035 of file HashTable.H.
Referenced by cyclicPolyPatch::coupledEdges(), faMeshDecomposition::decomposeMesh(), HashTable< T, Key, Hash >::iterator::operator()(), and HashTable< T, Key, Hash >::iterator::operator*().

|
inline |
Non-const access to referenced object (value)
Definition at line 1043 of file HashTable.H.
|
inline |
Const access to referenced object (value)
Definition at line 1051 of file HashTable.H.
References HashTable< T, Key, Hash >::iterator::val().

|
inline |
Definition at line 1052 of file HashTable.H.
References HashTable< T, Key, Hash >::iterator::val().

Non-const access to referenced object (value)
Definition at line 1057 of file HashTable.H.
References HashTable< T, Key, Hash >::iterator::val().

Definition at line 1058 of file HashTable.H.
References HashTable< T, Key, Hash >::iterator::val().

|
inline |
Definition at line 124 of file HashTableIterI.H.
References HashTable< T, Key, Hash >::Iterator< false >::increment().

|
inline |
Definition at line 133 of file HashTableIterI.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.