neuray API Programmer's Manual

mi::neuraylib::IType_array Class Reference

[MDL type system]

Description

The type of kind array.

Public Member Functions

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...
virtual const ITypeget_element_type() const =0
Returns the type of the array elements.
virtual Size get_size() const =0
Returns the size of the array in case of immediate-sized arrays, and -1 otherwise.
virtual bool  is_immediate_sized() const =0
Indicates whether the array is immediate-sized or deferred-sized.

Static Public Variables

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

Member Functions

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.

virtual bool mi::​neuraylib::​IType_array::is_immediate_sized() const [pure virtual]

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

Variables

const Kind mi::​neuraylib::​IType_array::s_kind = TK_ARRAY [static]

The kind of this subclass.