FRAMES NO FRAMES

Class IlcResourceIterator

Definition file: ilsched/schedule.h
Include file: <ilsched/ilsched.h>

An instance of this class traverses a set of resources (for example, all the resources managed by a given schedule).

See Also:

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

IlcResourceIterator

public IlcResourceIterator(const IlcSchedule schedule)

This constructor creates an iterator to traverse all the 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 resources have been scanned by the iterator.


operator*

public IlcResource operator*() const

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


operator++

public IlcResourceIterator & operator++()

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