FRAMES NO FRAMES

Class IlcStateResourceIterator

Definition file: ilsched/schedulerdoc.h
Include files: <ilsched/ilsched.h> and <ilsched/ilsched.h>

An instance of this class traverses the set of state resources.

An instance of this class traverses the set of timetables associated with a state resource.

See Also:

Constructor and Destructor Summary
public IlcStateResourceIterator(const IlcSchedule schedule)
Method Summary
public IlcBoolok() const
public IlcStateResourceoperator*() const
public IlcStateResourceIterator &operator++()
Constructor and Destructor Detail

IlcStateResourceIterator

public IlcStateResourceIterator(const IlcSchedule schedule)

This constructor creates an iterator to traverse all the state resources of schedule.


Method Detail

ok

public IlcBool ok() const

This member function returns IlcTrue if the current position of the iterator is a valid one. It returns IlcFalse if all the state resources have been scanned by the iterator.


operator*

public IlcStateResource operator*() const

This operator accesses the instance of IlcStateResource located at the current position of the iterator. If the iterator is set past the end position, this operator returns an empty handle.


operator++

public IlcStateResourceIterator & operator++()

This left-increment operator shifts the current position of the iterator.