dune-common 2.9.0
|
A mutable 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< T >::type |
using | difference_type = std::size_t |
using | pointer = T * |
using | reference = T & |
typedef SLListIterator< T, A > | DerivedType |
The type of derived iterator. | |
typedef T | Value |
The type of value accessed through the iterator. | |
typedef T * | Pointer |
The pointer to the Value. | |
typedef std::size_t | DifferenceType |
The type of the difference between two positions. | |
typedef T & | Reference |
The type of the reference to the values accessed. | |
Public Member Functions | |
SLListIterator (typename SLList< T, A >::Element *item, SLList< T, A > *sllist) | |
SLListIterator () | |
SLListIterator (const SLListModifyIterator< T, A > &other) | |
T & | dereference () const |
Dereferencing function for the iterator facade. | |
bool | equals (const SLListConstIterator< T, A > &other) const |
Equality test for the iterator facade. | |
bool | equals (const SLListIterator< T, A > &other) const |
Equality test for the iterator facade. | |
bool | equals (const SLListModifyIterator< T, A > &other) const |
Equality test for the iterator facade. | |
void | increment () |
Increment function for the iterator facade. | |
void | insertAfter (const T &v) const |
Insert an element in the underlying list after the current position. | |
void | deleteNext () const |
Delete the entry after the current position. | |
Reference | operator* () const |
Dereferencing operator. | |
Pointer | operator-> () const |
DerivedType & | operator++ () |
Preincrement operator. | |
DerivedType | operator++ (int) |
Postincrement operator. | |
A mutable 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 |