Value iterator for the intersection of two value iterators. More...
#include <values-inter.hpp>
Protected Member Functions | |
void | next (void) |
Find next element from intersection. More... | |
Protected Attributes | |
I | i |
First iterator. More... | |
J | j |
Second iterator. More... | |
Constructors and initialization | |
Inter (void) | |
Default constructor. More... | |
Inter (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 intersection of two value iterators.
Definition at line 47 of file values-inter.hpp.
|
inline |
Default constructor.
Definition at line 84 of file values-inter.hpp.
|
inline |
Initialize with values from i and j.
Definition at line 105 of file values-inter.hpp.
|
inlineprotected |
Find next element from intersection.
Definition at line 88 of file values-inter.hpp.
|
inline |
Initialize with values from i and j.
Definition at line 99 of file values-inter.hpp.
|
inline |
Test whether iterator is still at a value or done.
Definition at line 117 of file values-inter.hpp.
|
inline |
Move iterator to next value (if possible)
Definition at line 111 of file values-inter.hpp.
|
inline |
Return current value.
Definition at line 123 of file values-inter.hpp.
|
protected |
First iterator.
Definition at line 50 of file values-inter.hpp.
|
protected |
Second iterator.
Definition at line 52 of file values-inter.hpp.