dune-common 2.9.0
|
Base class for stl conformant forward iterators. More...
#include <dune/common/iteratorfacades.hh>
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = typename std::remove_const< V >::type |
using | difference_type = D |
using | pointer = V * |
using | reference = R |
typedef T | DerivedType |
The type of derived iterator. | |
typedef V | Value |
The type of value accessed through the iterator. | |
typedef V * | Pointer |
The pointer to the Value. | |
typedef D | DifferenceType |
The type of the difference between two positions. | |
typedef R | Reference |
The type of the reference to the values accessed. | |
Public Member Functions | |
Reference | operator* () const |
Dereferencing operator. | |
Pointer | operator-> () const |
DerivedType & | operator++ () |
Preincrement operator. | |
DerivedType | operator++ (int) |
Postincrement operator. | |
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!
using Dune::ForwardIteratorFacade< T, V, R, D >::difference_type = D |
typedef D Dune::ForwardIteratorFacade< T, V, R, D >::DifferenceType |
The type of the difference between two positions.
using Dune::ForwardIteratorFacade< T, V, R, D >::iterator_category = std::forward_iterator_tag |
using Dune::ForwardIteratorFacade< T, V, R, D >::pointer = V* |
typedef V* Dune::ForwardIteratorFacade< T, V, R, D >::Pointer |
The pointer to the Value.
using Dune::ForwardIteratorFacade< T, V, R, D >::reference = R |
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.
using Dune::ForwardIteratorFacade< T, V, R, D >::value_type = typename std::remove_const<V>::type |
|
inline |
Dereferencing operator.
|
inline |
Preincrement operator.
|
inline |
Postincrement operator.
|
inline |