mi::neuraylib::IValue_vector Class Reference
[MDL type system]
Description
A value of type vector. The get_value() methods from mi::neuraylib::IValue_compound are duplicated here due to their covariant return type. See the parent interface for methods to set values.
Public Member Functions
- virtual const IType_vector* get_type() const =0
- Returns the type of this value.
- virtual const IValue_atomic* get_value( Size index) const =0
- Returns the value at index, or NULL if index is out of bounds.
- template< class T>virtual const T* get_value( Size index) const
- Returns the value at index, or NULL if index is out of bounds.
- virtual IValue_atomic* get_value( Size index) =0
- Returns the value at index, or NULL if index is out of bounds.
- template< class T>virtual T* get_value( Size index)
- Returns the value at index, or NULL if index is out of bounds.
Static Public Variables
Member Functions
- virtual const IType_vector* mi::neuraylib::IValue_vector::get_type() const [pure virtual]
-
Returns the type of this value.
- virtual const IValue_atomic* mi::neuraylib::IValue_vector::get_value( Size index) const [pure virtual]
-
Returns the value at index, or NULL if index is out of bounds.
-
template< class T>
virtual const T* mi::neuraylib::IValue_vector::get_value( Size index) const [inline, virtual] -
Returns the value at index, or NULL if index is out of bounds.
- virtual IValue_atomic* mi::neuraylib::IValue_vector::get_value( Size index) [pure virtual]
-
Returns the value at index, or NULL if index is out of bounds.
-
template< class T>
virtual T* mi::neuraylib::IValue_vector::get_value( Size index) [inline, virtual] -
Returns the value at index, or NULL if index is out of bounds.
Variables
- const Kind mi::neuraylib::IValue_vector::s_kind = VK_VECTOR [static]
-
The kind of this subclass.