OpenStructure
|
#include <iterator.hh>
Public Types | |
typedef I | iterator_type |
typedef I::value_type | value_type |
Public Member Functions | |
IterRange () | |
IterRange (I beg, I end) | |
bool | AtEnd () const |
IterRange< I > & | Next () |
I::value_type & | Get () |
IterRange< I > & | operator++ () |
I::value_type & | operator* () |
adaptor to turn iterator into an iterator range
To turn two iterators marking the half-closed range [beg, end) into a iterator range use:
Definition at line 51 of file iterator.hh.
typedef I iterator_type |
Definition at line 53 of file iterator.hh.
typedef I::value_type value_type |
Definition at line 54 of file iterator.hh.
|
inline |
Definition at line 55 of file iterator.hh.
|
inline |
Definition at line 56 of file iterator.hh.
|
inline |
evaluates to true when end of range is reached
Definition at line 60 of file iterator.hh.
|
inline |
Definition at line 68 of file iterator.hh.
|
inline |
step to next element in range
Definition at line 64 of file iterator.hh.
|
inline |
Definition at line 75 of file iterator.hh.
|
inline |
Definition at line 71 of file iterator.hh.