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. |
Protected Attributes | |
I | i |
First iterator. | |
J | j |
Second iterator. |
Constructors and initialization | |
Inter (void) | |
Default constructor. | |
Inter (I &i, J &j) | |
Initialize with values from i and j. | |
void | init (I &i, J &j) |
Initialize with values from i and j. |
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 the intersection of two value iterators.
Definition at line 43 of file values-inter.hpp.
|
inline |
Default constructor.
Definition at line 80 of file values-inter.hpp.
|
inline |
Initialize with values from i and j.
Definition at line 101 of file values-inter.hpp.
|
inlineprotected |
Find next element from intersection.
Definition at line 84 of file values-inter.hpp.
|
inline |
Initialize with values from i and j.
Definition at line 95 of file values-inter.hpp.
|
inline |
Test whether iterator is still at a value or done.
Definition at line 113 of file values-inter.hpp.
|
inline |
Move iterator to next value (if possible)
Definition at line 107 of file values-inter.hpp.
|
inline |
Return current value.
Definition at line 119 of file values-inter.hpp.
|
protected |
First iterator.
Definition at line 46 of file values-inter.hpp.
|
protected |
Second iterator.
Definition at line 48 of file values-inter.hpp.