A constant expression. More...
Public Member Functions | |
virtual const IValue * | get_value () const =0 |
Returns the value of the constant. More... | |
template<class T > | |
const T * | get_value () const |
Returns the value of the constant. More... | |
virtual IValue * | get_value ()=0 |
Returns the value of the constant. More... | |
template<class T > | |
T * | get_value () |
Returns the value of the constant. More... | |
virtual Sint32 | set_value (IValue *value)=0 |
Sets the value of the constant. More... | |
Static Public Attributes | |
static const Kind | s_kind = EK_CONSTANT |
The kind of this subclass. More... | |
Additional Inherited Members | |
![]() | |
typedef Interface_declare< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, neuraylib::IExpression > | 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... | |
![]() | |
static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and of its ancestors. More... | |
A constant expression.
Constant expressions appear as defaults of material or function definitions, as arguments of material instances or function calls, as arguments of annotations, and in fields and temporaries of compiled materials.
|
pure virtual |
Returns the value of the constant.
|
inline |
Returns the value of the constant.
|
pure virtual |
Returns the value of the constant.
|
inline |
Returns the value of the constant.
Sets the value of the constant.
NULL
pointer).value
does not match the type of the constant.
|
static |
The kind of this subclass.