The interface to MDL expressions. More...
Public Types | |
enum | Kind { EK_CONSTANT, EK_CALL, EK_PARAMETER, EK_DIRECT_CALL, EK_TEMPORARY } |
The possible kinds of expressions. More... | |
![]() | |
typedef Interface_declare< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, IInterface > | Self |
Own type. More... | |
typedef Uuid_t< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11 > | IID |
Declares the interface ID (IID) of this interface. More... | |
![]() | |
typedef Uuid_t< 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 > | IID |
Declares the interface ID (IID) of this interface. More... | |
Public Member Functions | |
virtual Kind | get_kind () const =0 |
Returns the kind of this expression. More... | |
virtual const IType * | get_type () const =0 |
Returns the type of this expression. More... | |
template<class T > | |
const T * | get_type () const |
Returns the type of this expression. More... | |
Additional Inherited Members | |
![]() | |
static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and of its ancestors. More... | |
The interface to MDL expressions.
Expressions can be created using the expression factory mi::neuraylib::IExpression_factory.
The possible kinds of expressions.
Enumerator | |
---|---|
EK_CONSTANT |
A constant expression. See mi::neuraylib::IExpression_constant. |
EK_CALL |
An indirect call expression. See mi::neuraylib::IExpression_call. |
EK_PARAMETER |
A parameter reference expression. See mi::neuraylib::IExpression_parameter. |
EK_DIRECT_CALL |
A direct call expression. See mi::neuraylib::IExpression_direct_call. |
EK_TEMPORARY |
A temporary reference expression. See mi::neuraylib::IExpression_temporary. |
|
pure virtual |
Returns the kind of this expression.
|
pure virtual |
Returns the type of this expression.
|
inline |
Returns the type of this expression.