An STL-conforming iterator. More...
Public Member Functions | |
iterator (base_iterator iter) | |
pointer | get () const |
Return the address of the object being referenced. More... | |
reference | operator* () const |
pointer | operator-> () const |
reference | operator() () const |
![]() | |
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) |
![]() | |
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 | |
![]() | |
using | iterator_category = std::forward_iterator_tag |
using | difference_type = this_type::difference_type |
using | node_type = this_type::node_type |
using | key_type = this_type::key_type |
using | mapped_type = this_type::mapped_type |
using | value_type = this_type::value_type |
using | pointer = this_type::pointer |
using | reference = this_type::reference |
using | const_pointer = this_type::const_pointer |
using | const_reference = this_type::const_reference |
![]() | |
using | iterator_category = std::forward_iterator_tag |
using | difference_type = this_type::difference_type |
using | table_type = typename std::conditional< Const, const this_type, this_type >::type |
The HashTable container type. More... | |
using | node_type = typename std::conditional< Const, const this_type::node_type, this_type::node_type >::type |
The node-type being addressed. More... | |
using | key_type = this_type::key_type |
The key type. More... | |
using | mapped_type = typename std::conditional< Const, const this_type::mapped_type, this_type::mapped_type >::type |
The object type being addressed. More... | |
![]() | |
constexpr | Iterator () noexcept |
Default construct (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... | |
![]() | |
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... | |
An STL-conforming iterator.
Definition at line 191 of file LPtrList.H.
|
inline |
Definition at line 197 of file LPtrList.H.
|
inline |
Return the address of the object being referenced.
Definition at line 203 of file LPtrList.H.
References forceSuSp::operator*.
Referenced by LPtrList< LListBase, T >::iterator::operator*(), and LPtrList< LListBase, T >::iterator::operator->().
Definition at line 208 of file LPtrList.H.
References LPtrList< LListBase, T >::iterator::get().
Referenced by LPtrList< LListBase, T >::iterator::operator()().
Definition at line 213 of file LPtrList.H.
References LPtrList< LListBase, T >::iterator::get().
Definition at line 218 of file LPtrList.H.
References LPtrList< LListBase, T >::iterator::operator*().