Value iterator for pointwise offset (by some constant) More...
#include <values-offset.hpp>
Protected Attributes | |
I | i |
Input iterator. | |
int | c |
Offset for ranges. | |
Constructors and initialization | |
Offset (void) | |
Default constructor. | |
Offset (I &i, int c) | |
Initialize with values from i and offset c. | |
void | init (I &i, int c) |
Initialize with values from i and offset c. | |
Iteration control | |
bool | operator() (void) const |
Test whether iterator is still at a value or done. | |
void | operator++ (void) |
Move iterator to next value (if possible) | |
Value access | |
int | val (void) const |
Return current value. | |
Value iterator for pointwise offset (by some constant)
Definition at line 42 of file values-offset.hpp.
|
inline |
Default constructor.
Definition at line 77 of file values-offset.hpp.
|
inline |
Initialize with values from i and offset c.
Definition at line 87 of file values-offset.hpp.
|
inline |
Initialize with values from i and offset c.
Definition at line 81 of file values-offset.hpp.
|
inline |
Test whether iterator is still at a value or done.
Definition at line 96 of file values-offset.hpp.
|
inline |
Move iterator to next value (if possible)
Definition at line 91 of file values-offset.hpp.
|
inline |
Return current value.
Definition at line 102 of file values-offset.hpp.
|
protected |
Input iterator.
Definition at line 45 of file values-offset.hpp.
|
protected |
Offset for ranges.
Definition at line 47 of file values-offset.hpp.