Overview | Group | Tree | Graph | Index | Concepts |
This class is the implementation class for IlcIntToIntExpFunction, the class of the object that makes the association between an integer value and a constrained integer variable or expression.
The virtual member function getValue
returns the constrained
variable or expression associated with a given value. To define an
association class, you have to derive this class, and overload the
getValue
virtual member function.
The following constraints and expressions use this kind of indirection:
IlcSum
, IlcMin
, IlcMax
, and
IlcUnion
.
See Also:
IlcIntToIntExpFunction, IlcAnyToIntExpFunction, IlcAnyToIntFunction
Constructor and Destructor Summary | |
---|---|
public | IlcIntToIntExpFunctionI() |
public | ~IlcIntToIntExpFunctionI() |
Method Summary | |
---|---|
public virtual IlcIntExp | getValue(IlcInt e) |
Constructor and Destructor Detail |
---|
This constructor creates an implementation object.
As this class is to be subclassed, a virtual destructor is provided
Method Detail |
---|
This member function must return the constrained variable or expression associated with the integer element e
.