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

An instance of this class traverses the set of non-alternative resource constraints defined on an environment.
IloIterator<IloResourceConstraint> class of Scheduler 5.0 and Scheduler 5.1.
In the current version of the library, IloIterator<IloResourceConstraint>
traverses all resource constraints (whether or not they are defined on an
alternative resource set) defined on an environment.For more information, see IloIterator<IloResourceConstraint>
in the Concert Reference Manual.
See Also:
| Constructor Summary | |
|---|---|
public | IloResourceConstraintIterator(const IloEnv env) |
| Method Summary | |
|---|---|
public IloBool | ok() |
public IloResourceConstraint | operator*() |
public void | operator++() |
| Constructor Detail |
|---|
This constructor creates an iterator to traverse all the non-alternative
resource constraints that are defined on the environment
env.
| Method Detail |
|---|
This member function returns IloTrue if the current position of the iterator is a
valid one. It returns IloFalse if all the non-alternative resource constraints have been
scanned by the iterator.
This operator returns the current instance of
IloResourceConstraint,
the one to which the invoking iterator points. This operator must not be
called if the iterator does not point to a valid position,
that is, one to which the member function IloResourceConstraintIterator::ok
returns IloFalse.
This left-increment operator shifts the current position of the iterator to the next
non-alternative instance of
IloResourceConstraint.