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

An instance of the class IloIntMapLightIterator
is an iterator that traverses
the elements of an IloIntMapLightIterator(instance of
IloIntDExprMap).
| Method Summary | |
|---|---|
public IloBool | ok() const |
public IloNumDExprI * | operator*() |
public void | operator++() |
| Method Detail |
|---|
This member function is used to determine whether there is a current element and the invoking iterator points to it.
To traverse the elements of a finite set of pointers, use the following code:
IloIntExprArg val;
for(IloIntMapLightIterator iter(map); iter.ok(); ++iter){
val = *iter;
// do something with val
}IloTrue if there is a current element and the invoking iterator points to it. Otherwise, it returns IloFalse. This operator returns the current element, the one to which the invoking iterator points.
This operator advances the iterator to point to the next value in the data set.