| Overview | Group | Tree | Graph | Deprecated | Index | Concepts |

This class is used to iterate over the current domain of an integer variable.
For more information, see the concept Iterator.
See Also:
| Method Summary | |
|---|---|
public | IntVarIterator(const IloCPEngine cp, const IloIntVar var) |
public IloBool | ok() const |
public IloInt | operator*() const |
public IntVarIterator & | operator++() |
| Method Detail |
|---|
This constructor creates an iterator which will iterate over
the current domain of var as maintained by
cp.
This member function indicates if all domain elements have
been traversed by returning IloTrue; otherwise
it returns IloFalse.
This operator returns the current domain element, the one to which the invoking iterator points.
This operator advances the iterator to point to the next value in the domain of the constrained integer variable. A reference to the invoking iterator is returned.