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