A value of type struct.
More...
|
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
neuraylib::IValue_compound > | 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...
|
|
virtual const IValue* mi::neuraylib::IValue_struct::get_field |
( |
const char * |
name) | |
const |
|
pure virtual |
Returns a field by name in linear time.
- Parameters
-
name | The name of the field. |
- Returns
- The value of the field, or
NULL
if there is no such field.
template<class T >
const T* mi::neuraylib::IValue_struct::get_field |
( |
const char * |
name) | |
const |
|
inline |
Returns a field by name in linear time.
- Parameters
-
name | The name of the field. |
- Returns
- The value of the field, or
NULL
if there is no such field.
virtual IValue* mi::neuraylib::IValue_struct::get_field |
( |
const char * |
name) | |
|
|
pure virtual |
Returns a field by name in linear time.
- Parameters
-
name | The name of the field. |
- Returns
- The value of the field, or
NULL
if there is no such field.
template<class T >
T* mi::neuraylib::IValue_struct::get_field |
( |
const char * |
name) | |
|
|
inline |
Returns a field by name in linear time.
- Parameters
-
name | The name of the field. |
- Returns
- The value of the field, or
NULL
if there is no such field.
virtual const IType_struct* mi::neuraylib::IValue_struct::get_type |
( |
) | |
const |
|
pure virtual |
virtual Sint32 mi::neuraylib::IValue_struct::set_field |
( |
const char * |
name, |
|
|
IValue * |
value |
|
) |
| |
|
pure virtual |
Sets a field by name in linear time.
- Parameters
-
name | The name of the field. |
value | The new value of the field. |
- Returns
- 0: Success.
- -1: Invalid parameter (
NULL
pointer).
- -2: There is no such field of the given name.
- -3: Incorrect type of
value
.
The kind of this subclass.