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

A DAG IR temporary reference. More...

#include <mdl_generated_dag.h>

Inheritance diagram for mi::mdl::DAG_temporary:

Public Member Functions

virtual int get_index () const =0
 Get the index (the "name") of the referenced temporary. More...
 
virtual DAG_node const * get_expr () const =0
 Get the node of the temporary. 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_TEMPORARY
 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 temporary reference.

This node represents temporaries (aka nodes with a "name") inside the DAG Intermediate Representation.

Member Function Documentation

 get_expr()

virtual DAG_node const * mi::mdl::DAG_temporary::get_expr ( ) const
pure virtual

Get the node of the temporary.

 get_index()

virtual int mi::mdl::DAG_temporary::get_index ( ) const
pure virtual

Get the index (the "name") of the referenced temporary.

Member Data Documentation

 s_kind

Kind const mi::mdl::DAG_temporary::s_kind = EK_TEMPORARY
static

The kind of this subclass.