Overview | Group | Tree | Graph | Index | Concepts |
This class is the implementation class for IlcIntToFloatExpFunction, the class of the object that makes the association between an integer value and a constrained floating-point 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:
Constructor and Destructor Summary | |
---|---|
public | IlcIntToFloatExpFunctionI() |
public | ~IlcIntToFloatExpFunctionI() |
Method Summary | |
---|---|
public virtual IlcFloatExp | 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 floating-point variable or expression associated with the integer element e
.