dune-common
2.4.1
|
Base class for stl conformant forward iterators. More...
#include <dune/common/iteratorfacades.hh>
Public Types | |
typedef T | DerivedType |
The type of derived iterator. More... | |
typedef V | Value |
The type of value accessed through the iterator. More... | |
typedef V * | Pointer |
The pointer to the Value. More... | |
typedef D | DifferenceType |
The type of the difference between two positions. More... | |
typedef R | Reference |
The type of the reference to the values accessed. More... | |
Public Member Functions | |
Reference | operator* () const |
Dereferencing operator. More... | |
Pointer | operator-> () const |
DerivedType & | operator++ () |
Preincrement operator. More... | |
DerivedType | operator++ (int) |
Postincrement operator. More... | |
Base class for stl conformant forward iterators.
T | The derived class |
V | The value type |
R | The reference type |
D | The type for differences between two iterators |
typedef T Dune::ForwardIteratorFacade< T, V, R, D >::DerivedType |
The type of derived iterator.
The iterator has to define following functions have to be present:
For an elaborate explanation see the STL Documentation!
typedef D Dune::ForwardIteratorFacade< T, V, R, D >::DifferenceType |
The type of the difference between two positions.
typedef V* Dune::ForwardIteratorFacade< T, V, R, D >::Pointer |
The pointer to the Value.
typedef R Dune::ForwardIteratorFacade< T, V, R, D >::Reference |
The type of the reference to the values accessed.
typedef V Dune::ForwardIteratorFacade< T, V, R, D >::Value |
The type of value accessed through the iterator.
|
inline |
Dereferencing operator.
|
inline |
Preincrement operator.
Referenced by Dune::ForwardIteratorFacade< SLListIterator< RemoteIndex, Allocator >, RemoteIndex, RemoteIndex &, std::size_t >::operator++(), Dune::BidirectionalIteratorFacade< ContainerWrapperIterator< CW, T, R >, T, R, int >::operator++(), and Dune::RandomAccessIteratorFacade< ConstArrayListIterator< T, N, A >, const A::value_type, A::const_reference, A::difference_type >::operator++().
|
inline |
Postincrement operator.
|
inline |