FRAMES NO FRAMES

Class IlcCalendar::ShiftObjectIterator

Definition file: ilsched/sbecprop.h

An instance of this class traverses the list of shift objects that have been added to the corresponding IlcCalendar.

Constructor Summary
public ShiftObjectIterator(IlcCalendar calendar)
Method Summary
public IlcBoolok() const
public IlcShiftObjectoperator*() const
public ShiftObjectIterator &operator++()
Constructor Detail

ShiftObjectIterator

public ShiftObjectIterator(IlcCalendar calendar)

This constructor creates an iterator to traverse the list of shift objects that have been added to calendar.


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 the list of shift objects has been completely scanned by the iterator.


operator*

public IlcShiftObject operator*() const

This operator returns the current instance of IlcShiftObject, the one to which the invoking iterator points. If the iterator is set past the end position, then this operator returns an empty handle.


operator++

public ShiftObjectIterator & operator++()

This left-increment operator shifts the current position of the iterator to the next instance of IlcShiftObject.