#include <ConcatIterator.h>
Public Types | |
using | iterator_category = std::input_iterator_tag |
using | value_type = typename T::value_type |
using | difference_type = typename T::difference_type |
using | pointer = typename T::pointer |
using | reference = typename T::reference |
Public Member Functions | |
ConcatIterator () | |
default constructed iterator points to end() More... | |
ConcatIterator (const T &beginFirst, const T &endFirst, const T &beginSecond, const T &endSecond) | |
ConcatIterator & | operator++ () |
ConcatIterator | operator++ (int) |
bool | operator== (const ConcatIterator &rhs) const |
bool | operator!= (const ConcatIterator &rhs) const |
T::reference | operator* () |
T::pointer | operator-> () |
Private Member Functions | |
void | checkStateAndAdapt () |
checks if iterator has to jump to second range More... | |
Private Attributes | |
T | it_ |
current position More... | |
const T | itEndFirst_ |
end of first range More... | |
const T | itBeginSecond_ |
begin of second range More... | |
const T | itEndSecond_ |
end of second range More... | |
bool | first_ |
located in first range? More... | |
bool | ended_ |
end reached? More... | |
using walberla::ConcatIterator< T >::difference_type = typename T::difference_type |
using walberla::ConcatIterator< T >::iterator_category = std::input_iterator_tag |
using walberla::ConcatIterator< T >::pointer = typename T::pointer |
using walberla::ConcatIterator< T >::reference = typename T::reference |
using walberla::ConcatIterator< T >::value_type = typename T::value_type |
|
inline |
default constructed iterator points to end()
|
inline |
|
inlineprivate |
checks if iterator has to jump to second range
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
end reached?
|
private |
located in first range?
|
private |
current position
|
private |
begin of second range
|
private |
end of first range
|
private |
end of second range