MDL SDK API nvidia_logo_transpbg.gif Up
mi::mdl::DAG_constant Class Referenceabstract

A DAG IR constant. More...

#include <mdl_generated_dag.h>

Inheritance diagram for mi::mdl::DAG_constant:

Public Member Functions

virtual IValue const * get_value () const =0
 Get the value of the constant. More...
 
- Public Member Functions inherited from mi::mdl::DAG_node
virtual Kind get_kind () const =0
 Get the kind of this DAG IR node. More...
 
virtual IType const * get_type () const =0
 Get the type of this DAG IR node. More...
 
virtual size_t get_id () const =0
 Get the unique ID of this DAG IR node. More...
 

Static Public Attributes

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

Additional Inherited Members

- Public Types inherited from mi::mdl::DAG_node
enum  Kind {
  EK_CONSTANT ,
  EK_TEMPORARY ,
  EK_CALL ,
  EK_PARAMETER
}
 The possible kinds of DAG IR nodes. More...
 

Detailed Description

A DAG IR constant.

This node represents constants inside the DAG Intermediate Representation.

Member Function Documentation

 get_value()

virtual IValue const * mi::mdl::DAG_constant::get_value ( ) const
pure virtual

Get the value of the constant.

Member Data Documentation

 s_kind

Kind const mi::mdl::DAG_constant::s_kind = EK_CONSTANT
static

The kind of this subclass.