Iterator over value lists.
More...
#include <values-list.hpp>
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)
|
void | reset (void) |
| Reset iterator to start.
|
Value access |
int | val (void) const |
| Return value.
|
Detailed Description
Iterator over value lists.
Definition at line 45 of file values-list.hpp.
Constructor & Destructor Documentation
Gecode::Iter::Values::ValueListIter::ValueListIter |
( |
void |
| ) |
|
|
inline |
Gecode::Iter::Values::ValueListIter::ValueListIter |
( |
const ValueListIter & |
i | ) |
|
|
inline |
Gecode::Iter::Values::ValueListIter::ValueListIter |
( |
Region & |
r | ) |
|
|
inline |
Gecode::Iter::Values::ValueListIter::~ValueListIter |
( |
void |
| ) |
|
|
inline |
Member Function Documentation
void Gecode::Iter::Values::ValueListIter::set |
( |
ValueList * |
l | ) |
|
|
inlineprotected |
void Gecode::Iter::Values::ValueListIter::init |
( |
Region & |
r | ) |
|
|
inline |
bool Gecode::Iter::Values::ValueListIter::operator() |
( |
void |
| ) |
const |
|
inline |
void Gecode::Iter::Values::ValueListIter::operator++ |
( |
void |
| ) |
|
|
inline |
void Gecode::Iter::Values::ValueListIter::reset |
( |
void |
| ) |
|
|
inline |
int Gecode::Iter::Values::ValueListIter::val |
( |
void |
| ) |
const |
|
inline |
Member Data Documentation
VLIO* Gecode::Iter::Values::ValueListIter::vlio |
|
protected |
ValueList* Gecode::Iter::Values::ValueListIter::h |
|
protected |
ValueList* Gecode::Iter::Values::ValueListIter::c |
|
protected |
The documentation for this class was generated from the following file: