indirect_range_iterator< T, Storage > Class Template Reference
#include <indirect_range_iterator.h>
Inheritance diagram for indirect_range_iterator< T, Storage >:
Public Member Functions | |
indirect_range_iterator (T &rval) | |
indirect_range_iterator (T &rval, const T beg, const T end, const bool reset_state=true) | |
virtual | ~indirect_range_iterator () |
void | reset () |
void | advance () |
bool | is_done () const |
Public Member Functions inherited from abstract_range_iterator | |
virtual | ~abstract_range_iterator () |
abstract_range_iterator & | operator++ () |
void | operator() () |
operator bool () const | |
Detailed Description
template<typename T, typename Storage = T>
class illumina::interop::util::indirect_range_iterator< T, Storage >
Iterate over a range and update a reference to another value
Constructor & Destructor Documentation
|
inline |
Constructor
- Parameters
-
rval reference to value to update
|
inline |
Constructor
- Parameters
-
rval reference to value to update beg value at start of range end value at end of range reset_state reset current state
|
inlinevirtual |
Destructor
Member Function Documentation
|
inlinevirtual |
Advance the iterator to the next element in the range
Implements abstract_range_iterator.
|
inlinevirtual |
Test if you are at the end of the range
- Returns
- true if you are done iterating, reached the end of the range
Implements abstract_range_iterator.
|
inlinevirtual |
Reset the iterator to the start of the range
Implements abstract_range_iterator.
The documentation for this class was generated from the following file:
- /io/interop/util/indirect_range_iterator.h