| Overview | Group | Tree | Graph | Index | Concepts | 

An instance of the class IlcIntervalList represents a
 list of non-overlapping intervals. Each interval [timeMin, timeMax)
 from the list is associated with a numerical type.
Note that when two consecutive intervals of the list have the same types, these intervals are merged so that the list is always represented with the minimal number of intervals.
The class IlcIntervalListCursor provides a way to traverse those
 lists of intervals. 
See Also:
| Constructor and Destructor Summary | |
|---|---|
public  | IlcIntervalListCursor(const IlcIntervalListCursor & csor) | 
public  | IlcIntervalListCursor(const IlcIntervalList list, const IlcBool forward=IlcTrue) | 
| Method Summary | |
|---|---|
public IlcInt | getDuration() const | 
public IlcInt | getEnd() const | 
public IlcInt | getStart() const | 
public IlcInt | getType() const | 
public IlcBool | ok() const | 
public IlcIntervalListCursor & | operator++() | 
public IlcIntervalListCursor & | operator--() | 
| Constructor and Destructor Detail | 
|---|
This copy constructor creates a cursor by copying another one. C++ relies on this constructor when you pass an interval cursor as an argument to a function.
This constructor creates a new instance of IlcIntervalListCursor
 that traverses the intervals in list. If forward is
 IlcTrue (its default value), then the cursor starts at the
 first interval, that is, the interval with the earliest start time. Otherwise, the
 cursor starts with the last interval, that is, the interval with the latest start
 time.
| Method Detail | 
|---|
This member function returns the duration of the current interval, the one to which the invoking cursor points.
This member function returns the end time of the current interval, the one to which the invoking cursor points.
This member function returns the start time of the current interval, the one to which the invoking cursor points.
This member function returns the type of the current interval.
This member function returns IlcTrue if there is a current
 interval and the invoking cursor points to it. Otherwise, it returns
 IlcFalse.
This operator shifts the cursor to the next interval.
This operator shifts the cursor back to the previous interval.