Overview | Group | Tree | Graph | Index | Concepts |
Instances of the class IlcIntSetVarArrayIterator
traverse
the values of an array of sets of constrained integer
variables.
For more information, see the concept Iterator.
See Also:
IlcIntSetVar, IlcIntSetVarArray
Constructor and Destructor Summary | |
---|---|
public | IlcIntSetVarArrayIterator(const IlcIntSetVarArray array) |
Method Summary | |
---|---|
public IlcBool | next(IlcIntSetVar & variable) |
Constructor and Destructor Detail |
---|
This constructor creates an iterator to traverse the values belonging to an array of sets of constrained integer variables. This iterator lets you iterate forward over the complete index range of the array.
Method Detail |
---|
This member function takes a reference to a constrained integer set variable and returns a
Boolean value. It begins with the first element. It returns IlcFalse
if there is
no other element on which to iterate and IlcTrue
otherwise. When it returns
IlcTrue
, it writes the next element of the iterator (forward iteration) to the argument.