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

An instance of the class IloIntervalListCursor allows you to
 inspect the intervals of an IloIntervalList.
 Cursors are intended to iterate forward or backward over the intervals of an
 interval list.
See Also:
| Constructor and Destructor Summary | |
|---|---|
public  | IloIntervalListCursor(const IloIntervalList) | 
public  | IloIntervalListCursor(const IloIntervalList, IloNum) | 
public  | IloIntervalListCursor(const IloIntervalListCursor &) | 
| Method Summary | |
|---|---|
public IloNum | getEnd() | 
public IloNum | getStart() | 
public IloNum | getType() | 
public IloBool | ok() | 
public void | operator++() | 
public void | operator--() | 
public void | operator=(const IloIntervalListCursor &) | 
public void | seek(IloNum) | 
| Constructor and Destructor Detail | 
|---|
This constructor creates a cursor to inspect the interval list argument. This cursor lets you iterate forward or backward over the intervals of the interval list. The cursor initially indicates the first interval of the interval list.
This constructor creates a cursor to inspect the interval list
 intervals. This cursor lets you iterate forward or backward
 over the interval list. The cursor initially indicates the interval of the
 interval list that contains x. 
Note that if n is the number of intervals of the interval list given as argument, the worst-case complexity of this constructor is O(log(n)).
This constructor creates a new cursor that is a copy of the argument. The
 new cursor initially indicates the same interval and the same interval list
 as the argument cursor.
| Method Detail | 
|---|
This member function returns the end point of the interval currently indicated by the cursor.
This member function returns the start point of the interval currently indicated by the cursor.
This member function returns the type of the interval currently indicated by the cursor.
This member function returns IloFalse if the cursor does not
 currently indicate an interval included in the interval list. Otherwise, it
 returns IloTrue.
This operator moves the cursor to the interval adjacent to the current interval (forward move).
This operator moves the cursor to the interval adjacent to the current interval (backward move).
This operator assigns an address to the handle pointer of the invoking
 instance of IloIntervalListCursor. That address is the location
 of the implementation object of the argument cursor. After the
 execution of this operator, the invoking object and cursor both
 point to the same implementation object.
This member function sets the cursor to indicate the first interval of
 the interval list whose end is strictly greater than x. Note
 that if n is the number of intervals of the interval list traversed
 by the invoking iterator, the worst-case complexity of this member function
 is O(log(n)). An instance of IloException is thrown if
 x does not belong to the interval of definition of the invoking
 interval list.