Value iterator for mapping values of a value iterator. More...
#include <values-map.hpp>
Protected Attributes | |
I | i |
Input iterator. More... | |
M | m |
Mapping object. More... | |
Constructors and initialization | |
Map (void) | |
Default constructor. More... | |
Map (I &i) | |
Initialize with values from i. More... | |
Map (I &i, const M &m) | |
Initialize with values from i and map m. More... | |
void | init (I &i) |
Initialize with values from i. More... | |
void | init (I &i, const M &m) |
Initialize with values from i and map m. 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 mapping values of a value iterator.
If strict is true, the values obtained by mapping must be strictly increasing (that is, no duplicates).
Definition at line 49 of file values-map.hpp.
|
inline |
Default constructor.
Definition at line 88 of file values-map.hpp.
|
inline |
Initialize with values from i.
Definition at line 92 of file values-map.hpp.
|
inline |
Initialize with values from i and map m.
Definition at line 96 of file values-map.hpp.
|
inline |
Initialize with values from i.
Definition at line 100 of file values-map.hpp.
|
inline |
Initialize with values from i and map m.
Definition at line 106 of file values-map.hpp.
|
inline |
Test whether iterator is still at a value or done.
Definition at line 124 of file values-map.hpp.
|
inline |
Move iterator to next value (if possible)
Definition at line 112 of file values-map.hpp.
|
inline |
Return current value.
Definition at line 130 of file values-map.hpp.
|
protected |
Input iterator.
Definition at line 52 of file values-map.hpp.
|
protected |
Mapping object.
Definition at line 54 of file values-map.hpp.