dune-common
2.2.1
|
A mutable iterator for the SLList. More...
#include <dune/common/sllist.hh>
Public Types | |
typedef SLListIterator< T, A > | DerivedType |
The type of derived iterator. More... | |
typedef T | Value |
The type of value accessed through the iterator. More... | |
typedef T * | Pointer |
The pointer to the Value. More... | |
typedef std::size_t | DifferenceType |
The type of the difference between two positions. More... | |
typedef T & | Reference |
The type of the reference to the values accessed. More... | |
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. More... | |
bool | equals (const SLListConstIterator< T, A > &other) const |
Equality test for the iterator facade. More... | |
bool | equals (const SLListIterator< T, A > &other) const |
Equality test for the iterator facade. More... | |
bool | equals (const SLListModifyIterator< T, A > &other) const |
Equality test for the iterator facade. More... | |
void | increment () |
Increment function for the iterator facade. More... | |
void | insertAfter (const T &v) const |
Insert an element in the underlying list after the current position. More... | |
void | deleteNext () const |
Delete the entry after the current position. More... | |
Reference | operator* () const |
Dereferencing operator. More... | |
Pointer | operator-> () const |
DerivedType & | operator++ () |
Preincrement operator. More... | |
DerivedType | operator++ (int) |
Postincrement operator. More... | |
Friends | |
class | SLListConstIterator< T, A > |
class | SLListModifyIterator< T, A > |
class | SLList< T, A > |
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 |
The type of the difference between two positions.
|
inherited |
The pointer to the Value.
|
inherited |
The type of the reference to the values accessed.
|
inherited |
The type of value accessed through the iterator.
|
inlineinherited |
Dereferencing operator.
|
inlineinherited |
Preincrement operator.
|
inlineinherited |
Postincrement operator.
|
inlineinherited |