Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::neuraylib::IValue_vector Class Referenceabstract

A value of type vector. More...

Inheritance diagram for mi::neuraylib::IValue_vector:
mi::base::Interface_declare< 0xf5d09fc3, 0xd783, 0x4571, 0x8d, 0x59, 0x41, 0xb1, 0xff, 0xd3, 0x91, 0x49, neuraylib::IValue_compound > mi::neuraylib::IValue_compound mi::base::Interface_declare< 0xdabc8fe3, 0x5c70, 0x4ef0, 0xa2, 0xf7, 0x34, 0x30, 0xb5, 0x67, 0xdc, 0x75, neuraylib::IValue > mi::neuraylib::IValue mi::base::Interface_declare< 0xbf837f4a, 0x9034, 0x4f32, 0xaf, 0x5c, 0x75, 0xb3, 0x67, 0x64, 0x53, 0x23 > mi::base::IInterface

Public Member Functions

virtual const IType_vectorget_type () const =0
 Returns the type of this value. More...
 
virtual const IValue_atomicget_value (Size index) const =0
 Returns the value at index, or NULL if index is out of bounds. More...
 
template<class T >
const T * get_value (Size index) const
 Returns the value at index, or NULL if index is out of bounds. More...
 
virtual IValue_atomicget_value (Size index)=0
 Returns the value at index, or NULL if index is out of bounds. More...
 
template<class T >
T * get_value (Size index)
 Returns the value at index, or NULL if index is out of bounds. More...
 

Static Public Attributes

static const Kind s_kind = VK_VECTOR
 The kind of this subclass. More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0xf5d09fc3, 0xd783, 0x4571, 0x8d, 0x59, 0x41, 0xb1, 0xff, 0xd3, 0x91, 0x49, neuraylib::IValue_compound >
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 Public Member Functions inherited from mi::base::Interface_declare< 0xf5d09fc3, 0xd783, 0x4571, 0x8d, 0x59, 0x41, 0xb1, 0xff, 0xd3, 0x91, 0x49, neuraylib::IValue_compound >
static bool compare_iid (const Uuid &iid)
 Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 

Detailed 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.

Member Function Documentation

virtual const IType_vector* mi::neuraylib::IValue_vector::get_type ( ) const
pure virtual

Returns the type of this value.

Implements mi::neuraylib::IValue_compound.

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.

Implements mi::neuraylib::IValue_compound.

template<class T >
const T* mi::neuraylib::IValue_vector::get_value ( Size  index) const
inlinevirtual

Returns the value at index, or NULL if index is out of bounds.

Implements mi::neuraylib::IValue_compound.

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.

Implements mi::neuraylib::IValue_compound.

template<class T >
T* mi::neuraylib::IValue_vector::get_value ( Size  index)
inlinevirtual

Returns the value at index, or NULL if index is out of bounds.

Implements mi::neuraylib::IValue_compound.

Member Data Documentation

const Kind mi::neuraylib::IValue_vector::s_kind = VK_VECTOR
static

The kind of this subclass.