Value iterator for the union of two value iterators. More...
#include <values-union.hpp>
Protected Attributes | |
I | i |
First iterator. More... | |
J | j |
Second iterator. More... | |
int | v |
Current value. More... | |
bool | done |
Whether iterator is done. More... | |
Constructors and initialization | |
Union (void) | |
Default constructor. More... | |
Union (I &i, J &j) | |
Initialize with values from i and j. More... | |
void | init (I &i, J &j) |
Initialize with values from i and j. 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 the union of two value iterators.
Definition at line 47 of file values-union.hpp.
|
inline |
Default constructor.
Definition at line 86 of file values-union.hpp.
|
inline |
Initialize with values from i and j.
Definition at line 119 of file values-union.hpp.
|
inline |
Initialize with values from i and j.
Definition at line 112 of file values-union.hpp.
|
inline |
Test whether iterator is still at a value or done.
Definition at line 125 of file values-union.hpp.
|
inline |
Move iterator to next value (if possible)
Definition at line 90 of file values-union.hpp.
|
inline |
Return current value.
Definition at line 131 of file values-union.hpp.
|
protected |
First iterator.
Definition at line 50 of file values-union.hpp.
|
protected |
Second iterator.
Definition at line 52 of file values-union.hpp.
|
protected |
Current value.
Definition at line 54 of file values-union.hpp.
|
protected |
Whether iterator is done.
Definition at line 56 of file values-union.hpp.