Gecode::Int::Element::PairValues Class Reference
Value iterator for pair of iterators. More...
Constructors and initialization | |
| |
PairValues (IntView x, IntView y, int w) | |
Initialize with views x and y and width w. | |
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. |
Detailed Description
Value iterator for pair of iterators.
Definition at line 47 of file pair.cpp.
Constructor & Destructor Documentation
Member Function Documentation
bool Gecode::Int::Element::PairValues::operator() | ( | void | ) | const [inline] |
void Gecode::Int::Element::PairValues::operator++ | ( | void | ) | [inline] |
int Gecode::Int::Element::PairValues::val | ( | void | ) | const [inline] |
The documentation for this class was generated from the following file:
- gecode/int/element/pair.cpp (Revision: 11192)