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

The type of kind array. More...

Inheritance diagram for mi::neuraylib::IType_array:
mi::base::Interface_declare< 0x21ab6abe, 0x0e26, 0x40da, 0xa1, 0x98, 0x42, 0xc0, 0x89, 0x71, 0x5d, 0x2a, neuraylib::IType_compound > mi::neuraylib::IType_compound mi::base::Interface_declare< 0xc9ca497f, 0xc38b, 0x411f, 0xa8, 0x16, 0xa7, 0xd8, 0x23, 0x28, 0xa5, 0x40, neuraylib::IType > mi::neuraylib::IType mi::base::Interface_declare< 0x242af675, 0xeaa2, 0x48b7, 0x81, 0x63, 0xba, 0x06, 0xa5, 0xfb, 0x68, 0xf0 > mi::base::IInterface

Public Member Functions

virtual const ITypeget_element_type () const =0
 Returns the type of the array elements. More...
 
virtual bool is_immediate_sized () const =0
 Indicates whether the array is immediate-sized or deferred-sized. More...
 
virtual Size get_size () const =0
 Returns the size of the array in case of immediate-sized arrays, and -1 otherwise. More...
 
virtual const char * get_deferred_size () const =0
 Returns the abstract size of the array in case of deferred-sized arrays, and NULL otherwise. More...
 

Static Public Attributes

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

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0x21ab6abe, 0x0e26, 0x40da, 0xa1, 0x98, 0x42, 0xc0, 0x89, 0x71, 0x5d, 0x2a, neuraylib::IType_compound >
typedef Interface_declare< id1,
id2, id3, id4, id5, id6, id7,
id8, id9, id10, id11,
neuraylib::IType_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< 0x21ab6abe, 0x0e26, 0x40da, 0xa1, 0x98, 0x42, 0xc0, 0x89, 0x71, 0x5d, 0x2a, neuraylib::IType_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

The type of kind array.

Member Function Documentation

virtual const char* mi::neuraylib::IType_array::get_deferred_size ( ) const
pure virtual

Returns the abstract size of the array in case of deferred-sized arrays, and NULL otherwise.

Note that the empty string is a valid return value for deferred-sized arrays.

virtual const IType* mi::neuraylib::IType_array::get_element_type ( ) const
pure virtual

Returns the type of the array elements.

virtual Size mi::neuraylib::IType_array::get_size ( ) const
pure virtual

Returns the size of the array in case of immediate-sized arrays, and -1 otherwise.

Implements mi::neuraylib::IType_compound.

virtual bool mi::neuraylib::IType_array::is_immediate_sized ( ) const
pure virtual

Indicates whether the array is immediate-sized or deferred-sized.

Member Data Documentation

const Kind mi::neuraylib::IType_array::s_kind = TK_ARRAY
static

The kind of this subclass.