neuray API Programmer's Manual

mi::neuraylib::IValue_array Class Reference

[MDL type system]

Description

A value of type array.

Public Member Functions

virtual const IType_arrayget_type() const =0
Returns the type of this value.
virtual Sint32 set_size( Size size) =0
Sets the size for deferred-sized arrays. More...

Static Public Variables

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

Member Functions

virtual const IType_array* mi::​neuraylib::​IValue_array::get_type() const [pure virtual]

Returns the type of this value.

virtual Sint32 mi::​neuraylib::​IValue_array::set_size( Size size) [pure virtual]

Sets the size for deferred-sized arrays.

Parameters

size
The desired array size.

Returns

  • 0: Success.
  • -1: The array is an immediate-sized array.

Variables

const Kind mi::​neuraylib::​IValue_array::s_kind = VK_ARRAY [static]

The kind of this subclass.