Overview | Group | Tree | Graph | Index | Concepts |
An instance of this nested class is an iterator capable of traversing the extractable objects in a model.
An iterator of this class differs from one created by the template
IloIterator
. Instances of
IloIterator
traverse all the extractable objects of a
given class (indicated by E
in the template) within a given environment
(an instance of IloEnv
), whether or not those
extractable objects have been explicitly added to a model. Instances of
IloModel::Iterator
traverse only those extractable objects that have
explicitly been added to a given model (an instance of
IloModel
).
See Also:
Constructor Summary | |
---|---|
public | Iterator(const IloModel) |
Method Summary | |
---|---|
public IloBool | ok() |
public IloExtractable | operator *() |
public void | operator++() |
Constructor Detail |
---|
This constructor creates an iterator to traverse the extractable objects
in the model indicated by model
.
Method Detail |
---|
This member function returns IloTrue
if there is a current element and
the iterator points to it. Otherwise, it returns IloFalse
.
This operator returns the current extractable object, the one to which the invoking iterator points.
This operator advances the iterator to point to the next extractable object in the model.