neuray API Programmer's Manual

mi::neuraylib::IExpression_direct_call Class Reference

[MDL type system]

Description

A direct call expression. This call expression is called direct since it directly represents the actual call (and not simply references another DB element representing the actual call as for indirect call expressions). See mi::neuraylib::IExpression_call for of comparison of direct and indirect call expressions.

Direct call expressions appear in fields and temporaries of compiled materials, in the bodies of function and material definitions, and in bodies in the module builder.

Public Member Functions

virtual const IExpression_listget_arguments() const =0
Returns the arguments of the direct call.
virtual const char* get_definition() const =0
Returns the DB name of the corresponding function or material definition.

Static Public Variables

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

Member Functions

virtual const IExpression_list* mi::​neuraylib::​IExpression_direct_call::get_arguments() const [pure virtual]

Returns the arguments of the direct call.

virtual const char* mi::​neuraylib::​IExpression_direct_call::get_definition() const [pure virtual]

Returns the DB name of the corresponding function or material definition.

Variables

const Kind mi::​neuraylib::​IExpression_direct_call::s_kind = EK_DIRECT_CALL [static]

The kind of this subclass.