FRAMES NO FRAMES

Class IloShiftObject

Definition file: ilsched/ilocalendar.h

The class IloShiftObject allows definition of shifts which constrain the possible date execution of concerned activities. Shifts are forbidden time intervals, not necessarily defined in extension (see ILCUSERSHIFTOBJECT), which restrict possible starts, ends or whole executions of activities.

To express shifts it is possible to enumerate all intervals with an IloShiftListObject, or to write an intention definition using ILCUSERSHIFTOBJECT.

For more information, see Calendars and Shift Object Semantic.

Constructor Summary
public IloShiftObject()
public IloShiftObject(IloShiftObjectI * impl)
Method Summary
public IloShiftObjectI *getImpl() const
Constructor Detail

IloShiftObject

public IloShiftObject()
This constructor creates an instance that is empty, that is, one whose handle pointer is null. You must assign it a value before you access it. Any attempt to access it before assignment leads to undefined behaviour.

IloShiftObject

public IloShiftObject(IloShiftObjectI * impl)
This constructor creates an instance of the handle class from the pointer to an instance of the implementation class.

Method Detail

getImpl

public IloShiftObjectI * getImpl() const
This member function returns a pointer to the implementation object of the invoking handle.