olp-cpp-sdk
1.23.1
|
Iterator for iterating over adjacent pairs in a sequence. More...
#include <PathTiling.h>
Public Member Functions | |
AdjacentPairIterator (InputIterator segment_it) | |
Constructs an AdjacentPairIterator. More... | |
AdjacentPairIterator (typename InputIterator::value_type initial_value, InputIterator segment_it) | |
Constructs an AdjacentPairIterator with an initial value. More... | |
value_type | operator* () const |
AdjacentPairIterator & | operator++ () |
bool | operator== (const AdjacentPairIterator &other) const |
bool | operator!= (const AdjacentPairIterator &other) const |
Iterator for iterating over adjacent pairs in a sequence.
|
inlineexplicit |
Constructs an AdjacentPairIterator.
segment_it | The input iterator. |
|
inline |
Constructs an AdjacentPairIterator with an initial value.
initial_value | The initial value. |
segment_it | The input iterator. |