FRAMES NO FRAMES

Class IlcIntTimetableIterator

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

An instance of this class traverses the set of timetables associated with an integer capacity resource (IlcDiscreteResource, IlcUnaryResourceIlcReservoir, or IlcDiscreteEnergy).

See Also:

Constructor Summary
public IlcIntTimetableIterator(IlcCapResource res)
Method Summary
public IlcIntTimetableoperator*()
public IlcIntTimetableIterator &operator++()
Constructor Detail

IlcIntTimetableIterator

public IlcIntTimetableIterator(IlcCapResource res)

This constructor creates an iterator to traverse all the timetables of a capacity resource.


Method Detail

operator*

public IlcIntTimetable operator*()

This operator accesses the instance of IlcIntTimetable 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 IlcIntTimetableIterator & operator++()

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