A constant expression. More...
#include <iexpression.h>

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... | |
Public Member Functions inherited from mi::neuraylib::IExpression | |
| 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... | |
Public Member Functions inherited from mi::base::IInterface | |
| virtual Uint32 | retain () const =0 |
| Increments the reference count. More... | |
| virtual Uint32 | release () const =0 |
| Decrements the reference count. More... | |
| virtual const IInterface * | get_interface (const Uuid &interface_id) const =0 |
| Acquires a const interface from another. More... | |
| template<class T> | |
| const T * | get_interface () const |
| Acquires a const interface from another. More... | |
| virtual IInterface * | get_interface (const Uuid &interface_id)=0 |
| Acquires a mutable interface from another. More... | |
| template<class T> | |
| T * | get_interface () |
| Acquires a mutable interface from another. More... | |
| virtual Uuid | get_iid () const =0 |
| Returns the interface ID of the most derived interface. More... | |
Static Public Attributes | |
| static const Kind | s_kind = EK_CONSTANT |
| The kind of this subclass. More... | |
Additional Inherited Members | |
Public Types inherited from mi::base::Interface_declare< 0x9da8d465, ... > | |
| using | Self = Interface_declare< id1, ... > |
| Own type. More... | |
| using | IID = Uuid_t< id1, ... > |
| Declares the interface ID (IID) of this interface. More... | |
Public Types inherited from mi::neuraylib::IExpression | |
| enum | Kind : Uint32 { EK_CONSTANT , EK_CALL , EK_PARAMETER , EK_DIRECT_CALL , EK_TEMPORARY } |
| The possible kinds of expressions. More... | |
Public Types inherited from mi::base::Interface_declare< 0x0f4a7542, ... > | |
| using | Self = Interface_declare< id1, ... > |
| Own type. More... | |
| using | IID = Uuid_t< id1, ... > |
| Declares the interface ID (IID) of this interface. More... | |
Public Types inherited from mi::base::IInterface | |
| using | IID = Uuid_t<0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0> |
| Declares the interface ID (IID) of this interface. More... | |
Static Public Member Functions inherited from mi::base::Interface_declare< 0x9da8d465, ... > | |
| static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and of its ancestors. More... | |
Static Public Member Functions inherited from mi::base::Interface_declare< 0x0f4a7542, ... > | |
| static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and of its ancestors. More... | |
Static Public Member Functions inherited from mi::base::IInterface | |
| static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface. More... | |
A constant expression.
Constant expressions represent values (see mi::neuraylib::IValue). They appear basically everywhere where expressions are used.
|
inline |
Returns the value of the constant.
|
inline |
Returns the value of the constant.
|
pure virtual |
Returns the value of the constant.
|
pure virtual |
Returns the value of the constant.
Sets the value of the constant.
nullptr).value does not match the type of the constant.
|
static |
The kind of this subclass.