Overview | Group | Tree | Graph | Index | Concepts |
An instance of the class IlcAltResSetIterator
is an iterator
that traverses a set of sets of alternative resources. For example,
you might need an iterator to traverse all the instances of IlcAltResSet
managed by a particular schedule; or you might
be interested in traversing all the instances of IlcAltResSet
to which a given resource belongs.
See Also:
IlcAltResSet, IlcResource, IlcSchedule
Constructor and Destructor Summary | |
---|---|
public | IlcAltResSetIterator(IlcResource resource) |
public | IlcAltResSetIterator(const IlcSchedule schedule) |
Method Summary | |
---|---|
public IlcBool | ok() const |
public IlcAltResSet | operator*() const |
public IlcAltResSetIterator & | operator++() |
Constructor and Destructor Detail |
---|
This constructor creates a new instance of
IlcAltResSetIterator
that traverses all the alternative
resource sets that have resource
as an element.
This constructor creates a new instance of
IlcAltResSetIterator
that traverses all the instances of
IlcAltResSet
that are managed by
schedule
.
Method Detail |
---|
This member function returns IlcTrue
if there is a current
instance of IlcAltResSet
and the invoking
iterator points to it. Otherwise, it returns IlcFalse
.
This operator returns the current instance of IlcAltResSet
, the one to which the invoking iterator points.
If the iterator is set past the end position, then this operator returns an
empty handle.
This operator shifts the iterator to the next instance of IlcAltResSet
.