dune-common 2.9.0
|
A constant iterator for the SLList. More...
#include <dune/common/sllist.hh>
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = typename std::remove_const< const T >::type |
using | difference_type = std::size_t |
using | pointer = const T * |
using | reference = const T & |
typedef SLListConstIterator< T, A > | DerivedType |
The type of derived iterator. | |
typedef const T | Value |
The type of value accessed through the iterator. | |
typedef const T * | Pointer |
The pointer to the Value. | |
typedef std::size_t | DifferenceType |
The type of the difference between two positions. | |
typedef const T & | Reference |
The type of the reference to the values accessed. | |
Public Member Functions | |
SLListConstIterator () | |
SLListConstIterator (typename SLList< T, A >::Element *item) | |
SLListConstIterator (const SLListIterator< T, A > &other) | |
SLListConstIterator (const SLListModifyIterator< T, A > &other) | |
const T & | dereference () const |
Dereferencing function for the facade. | |
bool | equals (const SLListConstIterator< T, A > &other) const |
Equality test for the iterator facade. | |
void | increment () |
Increment function for the iterator facade. | |
Reference | operator* () const |
Dereferencing operator. | |
Pointer | operator-> () const |
DerivedType & | operator++ () |
Preincrement operator. | |
DerivedType | operator++ (int) |
Postincrement operator. | |
A constant iterator for the SLList.
|
inherited |
The type of derived iterator.
The iterator has to define following functions have to be present:
For an elaborate explanation see the STL Documentation!
|
inherited |
|
inherited |
The type of the difference between two positions.
|
inherited |
|
inherited |
|
inherited |
The pointer to the Value.
|
inherited |
|
inherited |
The type of the reference to the values accessed.
|
inherited |
The type of value accessed through the iterator.
|
inherited |
|
inlineinherited |
Dereferencing operator.
|
inlineinherited |
Preincrement operator.
|
inlineinherited |
Postincrement operator.
|
inlineinherited |