A container of DAG representations of a module containing materials, functions, constants, types and module annotations. More...
#include <mdl_generated_dag.h>
Classes | |
class | DAG_node_factory |
The node factory for DAG IR nodes. More... | |
class | IMaterial_instance |
An instantiated material. More... | |
Public Types | |
enum | Function_property { FP_ALLOW_INLINE = 0 , FP_IS_EXPORTED = 1 , FP_USES_TEXTURES = 2 , FP_CAN_THROW_BOUNDS = 3 , FP_CAN_THROW_DIVZERO = 4 , FP_IS_UNIFORM = 5 , FP_IS_NATIVE = 6 } |
Properties of DAG functions. More... | |
enum | Annotation_property { AP_IS_EXPORTED = 1 } |
Properties of DAG annotations. More... | |
enum | Error_code { EC_NONE , EC_INVALID_INDEX , EC_MATERIAL_HAS_ERROR , EC_TOO_FEW_ARGUMENTS , EC_TOO_MANY_ARGUMENTS , EC_INSTANTIATION_ERROR , EC_ARGUMENT_TYPE_MISMATCH , EC_WRONG_TRANSMISSION_ON_THIN_WALLED } |
The possible error codes. More... | |
Public Types inherited from mi::base::Interface_declare< 0x9dbfd12e, ... > | |
typedef Interface_declare< id1, ... > | Self |
Own type. More... | |
typedef Uuid_t< id1, ... > | IID |
Declares the interface ID (IID) of this interface. More... | |
Public Member Functions | |
virtual char const * | get_module_name () const =0 |
Get the absolute module name of the module from which this code was generated. More... | |
virtual char const * | get_module_file_name () const =0 |
Get the module file name of the module from which this code was generated. More... | |
virtual size_t | get_import_count () const =0 |
Get the number of modules directly imported by the module from which this code was generated. More... | |
virtual char const * | get_import (size_t index) const =0 |
Get the name of module at index imported from the module from which this code was generated. More... | |
virtual size_t | get_function_count () const =0 |
Get the number of functions in the generated code. More... | |
virtual IType const * | get_function_return_type (size_t function_index) const =0 |
Get the return type of the function at function_index. More... | |
virtual IDefinition::Semantics | get_function_semantics (size_t function_index) const =0 |
Get the semantics of the function at function_index. More... | |
virtual char const * | get_function_name (size_t function_index) const =0 |
Get the name of the function at function_index. More... | |
virtual char const * | get_simple_function_name (size_t function_index) const =0 |
Get the simple name of the function at function_index. More... | |
virtual char const * | get_original_function_name (size_t function_index) const =0 |
Get the original name of the function at function_index if the function name is an alias, i.e. More... | |
virtual size_t | get_function_parameter_count (size_t function_index) const =0 |
Get the parameter count of the function at function_index. More... | |
virtual IType const * | get_function_parameter_type (size_t function_index, size_t parameter_index) const =0 |
Get the parameter type of the parameter at parameter_index of the function at function_index. More... | |
virtual char const * | get_function_parameter_type_name (size_t function_index, size_t parameter_index) const =0 |
Get the parameter type name of the parameter at parameter_index of the function at function_index. More... | |
virtual char const * | get_function_parameter_name (size_t function_index, size_t parameter_index) const =0 |
Get the parameter name of the parameter at parameter_index of the function at function_index. More... | |
virtual size_t | get_function_parameter_index (size_t function_index, char const *parameter_name) const =0 |
Get the index of the parameter parameter_name. More... | |
virtual DAG_node const * | get_function_parameter_enable_if_condition (size_t function_index, size_t parameter_index) const =0 |
Get the enable_if condition for the given function parameter if one was specified. More... | |
virtual size_t | get_function_parameter_enable_if_condition_users (size_t function_index, size_t parameter_index) const =0 |
Get the number of parameters whose enable_if condition depends on this parameter. More... | |
virtual size_t | get_function_parameter_enable_if_condition_user (size_t function_index, size_t parameter_index, size_t user_index) const =0 |
Get a parameter index whose enable_if condition depends on this parameter. More... | |
virtual DAG_hash const * | get_function_hash (size_t function_index) const =0 |
Get the function hash value for the given function index if available. More... | |
virtual size_t | get_material_count () const =0 |
Get the number of materials in the generated code. More... | |
virtual char const * | get_material_name (size_t material_index) const =0 |
Get the name of the material at material_index. More... | |
virtual char const * | get_simple_material_name (size_t material_index) const =0 |
Get the simple name of the material at material_index. More... | |
virtual char const * | get_original_material_name (size_t material_index) const =0 |
Get the original name of the material at material_index if the material name is an alias. More... | |
virtual size_t | get_material_parameter_count (size_t material_index) const =0 |
Get the parameter count of the material at material_index. More... | |
virtual IType const * | get_material_parameter_type (size_t material_index, size_t parameter_index) const =0 |
Get the parameter type of the parameter at parameter_index of the material at material_index. More... | |
virtual char const * | get_material_parameter_type_name (size_t material_index, size_t parameter_index) const =0 |
Get the parameter type name of the parameter at parameter_index of the material at material_index. More... | |
virtual char const * | get_material_parameter_name (size_t material_index, size_t parameter_index) const =0 |
Get the parameter name of the parameter at parameter_index of the material at material_index. More... | |
virtual size_t | get_material_parameter_index (size_t material_index, char const *parameter_name) const =0 |
Get the index of the parameter parameter_name. More... | |
virtual DAG_node const * | get_material_parameter_enable_if_condition (size_t material_index, size_t parameter_index) const =0 |
Get the enable_if condition for the given material parameter if one was specified. More... | |
virtual size_t | get_material_parameter_enable_if_condition_users (size_t material_index, size_t parameter_index) const =0 |
Get the number of parameters whose enable_if condition depends on this parameter. More... | |
virtual size_t | get_material_parameter_enable_if_condition_user (size_t material_index, size_t parameter_index, size_t user_index) const =0 |
Get a parameter index whose enable_if condition depends on this parameter. More... | |
virtual DAG_node_factory * | get_node_factory ()=0 |
Get the node factory. More... | |
virtual size_t | get_function_annotation_count (size_t function_index) const =0 |
Get the number of annotations of the function at function_index. More... | |
virtual DAG_node const * | get_function_annotation (size_t function_index, size_t annotation_index) const =0 |
Get the annotation at annotation_index of the function at function_index. More... | |
virtual size_t | get_function_return_annotation_count (size_t function_index) const =0 |
Get the number of annotations of the function return type at function_index. More... | |
virtual DAG_node const * | get_function_return_annotation (size_t function_index, size_t annotation_index) const =0 |
Get the annotation at annotation_index of the function return type at function_index. More... | |
virtual DAG_node const * | get_function_parameter_default (size_t function_index, size_t parameter_index) const =0 |
Get the default initializer of the parameter at parameter_index of the function at function_index. More... | |
virtual size_t | get_function_parameter_annotation_count (size_t function_index, size_t parameter_index) const =0 |
Get the number of annotations of the parameter at parameter_index of the function at function_index. More... | |
virtual DAG_node const * | get_function_parameter_annotation (size_t function_index, size_t parameter_index, size_t annotation_index) const =0 |
Get the annotation at annotation_index of the parameter at parameter_index of the function at function_index. More... | |
virtual size_t | get_function_temporary_count (size_t function_index) const =0 |
Get the number of temporaries used by the function at function_index. More... | |
virtual DAG_node const * | get_function_temporary (size_t function_index, size_t temporary_index) const =0 |
Get the temporary at temporary_index used by the function at function_index. More... | |
virtual char const * | get_function_temporary_name (size_t function_index, size_t temporary_index) const =0 |
Get the temporary name at temporary_index used by the function at function_index. More... | |
virtual DAG_node const * | get_function_body (size_t function_index) const =0 |
Get the body of the function at function_index. More... | |
virtual bool | get_function_property (size_t function_index, Function_property fp) const =0 |
Get the property flag of the function at function_index. More... | |
virtual size_t | get_function_references_count (size_t function_index) const =0 |
Get the number of entities referenced by a function. More... | |
virtual char const * | get_function_reference (size_t function_index, size_t callee_index) const =0 |
Get the signature of the i'th reference of a function. More... | |
virtual char const * | get_cloned_function_name (size_t function_index) const =0 |
Return the original function name of a cloned function or "" if the function is not a clone. More... | |
virtual size_t | get_material_annotation_count (size_t material_index) const =0 |
Get the number of annotations of the material at material_index. More... | |
virtual DAG_node const * | get_material_annotation (size_t material_index, size_t annotation_index) const =0 |
Get the annotation at annotation_index of the material at material_index. More... | |
virtual DAG_node const * | get_material_parameter_default (size_t material_index, size_t parameter_index) const =0 |
Get the default initializer of the parameter at parameter_index of the material at material_index. More... | |
virtual size_t | get_material_return_annotation_count (size_t material_index) const =0 |
Get the number of annotations of the material return type at material_index. More... | |
virtual DAG_node const * | get_material_return_annotation (size_t material_index, size_t annotation_index) const =0 |
Get the annotation at annotation_index of the material return type at material_index. More... | |
virtual size_t | get_material_parameter_annotation_count (size_t material_index, size_t parameter_index) const =0 |
Get the number of annotations of the parameter at parameter_index of the material at material_index. More... | |
virtual DAG_node const * | get_material_parameter_annotation (size_t material_index, size_t parameter_index, size_t annotation_index) const =0 |
Get the annotation at annotation_index of the parameter at parameter_index of the material at material_index. More... | |
virtual size_t | get_material_temporary_count (size_t material_index) const =0 |
Get the number of temporaries used by the material at material_index. More... | |
virtual DAG_node const * | get_material_temporary (size_t material_index, size_t temporary_index) const =0 |
Get the temporary at temporary_index used by the material at material_index. More... | |
virtual char const * | get_material_temporary_name (size_t material_index, size_t temporary_index) const =0 |
Get the temporary name at temporary_index used by the material at material_index. More... | |
virtual DAG_node const * | get_material_value (size_t material_index) const =0 |
Get the value of the material at material_index. More... | |
virtual bool | get_material_exported (size_t material_index) const =0 |
Get the export flags of the material at material_index. More... | |
virtual char const * | get_cloned_material_name (size_t material_index) const =0 |
Return the original material name of a cloned material or "" if the material is not a clone. More... | |
virtual IMaterial_instance * | create_material_instance (size_t index, Error_code *error_code=NULL) const =0 |
Create a new material instance. More... | |
virtual size_t | get_type_count () const =0 |
Get the number of (exported and non-exported) user defined types of this compiled module. More... | |
virtual char const * | get_type_name (size_t index) const =0 |
Get the name of the user type at index. More... | |
virtual char const * | get_original_type_name (size_t index) const =0 |
Get the original name of the user defined type at index if the type is an alias. More... | |
virtual IType const * | get_type (size_t index) const =0 |
Get the user defined type at index. More... | |
virtual bool | is_type_exported (size_t index) const =0 |
Returns true if the user defined type at index is exported. More... | |
virtual size_t | get_type_annotation_count (size_t index) const =0 |
Get the number of annotations of the user defined type at index. More... | |
virtual DAG_node const * | get_type_annotation (size_t type_index, size_t annotation_index) const =0 |
Get the annotation at annotation_index of the user defined type at type_index. More... | |
virtual size_t | get_type_sub_entity_count (size_t type_index) const =0 |
Get the number of user defined type sub-entities (fields or enum constants). More... | |
virtual char const * | get_type_sub_entity_name (size_t type_index, size_t entity_index) const =0 |
Get the name of an user defined type sub-entity (field or enum constant). More... | |
virtual IType const * | get_type_sub_entity_type (size_t type_index, size_t entity_index) const =0 |
Get the type of an user defined type sub-entity (field or enum constant). More... | |
virtual size_t | get_type_sub_entity_annotation_count (size_t type_index, size_t entity_index) const =0 |
Get the number of annotations of an user defined type sub-entity (field or enum constant) at index. More... | |
virtual DAG_node const * | get_type_sub_entity_annotation (size_t type_index, size_t entity_index, size_t annotation_index) const =0 |
Get the annotation at annotation_index of the user defined type sub-entity at (type_index, entity_index). More... | |
virtual size_t | get_constant_count () const =0 |
Get the number of exported constants. More... | |
virtual char const * | get_constant_name (size_t index) const =0 |
Get the name of the constant at index. More... | |
virtual DAG_constant const * | get_constant_value (size_t index) const =0 |
Get the value of the constant at index. More... | |
virtual size_t | get_constant_annotation_count (size_t index) const =0 |
Get the number of annotations of the constant at index. More... | |
virtual DAG_node const * | get_constant_annotation (size_t constant_index, size_t annotation_index) const =0 |
Get the annotation at annotation_index of the constant at constant_index. More... | |
virtual Messages const & | access_messages () const =0 |
Access messages. More... | |
virtual Messages & | access_messages ()=0 |
Access messages (writable). More... | |
virtual size_t | get_memory_size () const =0 |
Returns the amount of used memory by this code DAG. More... | |
virtual size_t | get_module_annotation_count () const =0 |
Get the number of annotations of the module. More... | |
virtual DAG_node const * | get_module_annotation (size_t annotation_index) const =0 |
Get the annotation at annotation_index of the module. More... | |
virtual char const * | get_internal_space () const =0 |
Get the internal space. More... | |
virtual size_t | get_annotation_count () const =0 |
Get the number of annotations in the generated code. More... | |
virtual IDefinition::Semantics | get_annotation_semantics (size_t annotation_index) const =0 |
Get the semantics of the annotation at annotation_index. More... | |
virtual char const * | get_annotation_name (size_t annotation_index) const =0 |
Get the name of the annotation at annotation_index. More... | |
virtual char const * | get_simple_annotation_name (size_t annotation_index) const =0 |
Get the simple name of the annotation at annotation_index. More... | |
virtual char const * | get_original_annotation_name (size_t annotation_index) const =0 |
Get the original name of the annotation at annotation_index if the annotation name is an alias, i.e. More... | |
virtual size_t | get_annotation_parameter_count (size_t annotation_index) const =0 |
Get the parameter count of the annotation at annotation_index. More... | |
virtual IType const * | get_annotation_parameter_type (size_t annotation_index, size_t parameter_index) const =0 |
Get the parameter type of the parameter at parameter_index of the annotation at annotation_index. More... | |
virtual char const * | get_annotation_parameter_type_name (size_t annotation_index, size_t parameter_index) const =0 |
Get the parameter type name of the parameter at parameter_index of the annotation at annotation_index. More... | |
virtual char const * | get_annotation_parameter_name (size_t annotation_index, size_t parameter_index) const =0 |
Get the parameter name of the parameter at parameter_index of the annotation at annotation_index. More... | |
virtual size_t | get_annotation_parameter_index (size_t annotation_index, char const *parameter_name) const =0 |
Get the index of the parameter parameter_name. More... | |
virtual DAG_node const * | get_annotation_parameter_default (size_t annotation_index, size_t parameter_index) const =0 |
Get the default initializer of the parameter at parameter_index of the annotation at annotation_index. More... | |
virtual bool | get_annotation_property (size_t annotation_index, Annotation_property ap) const =0 |
Get the property flag of the annotation at annotation_index. More... | |
virtual size_t | get_annotation_annotation_count (size_t annotation_index) const =0 |
Get the number of annotations of the annotation at annotation_index. More... | |
virtual DAG_node const * | get_annotation_annotation (size_t anno_decl_index, size_t annotation_index) const =0 |
Get the annotation at annotation_index of the annotation (declaration) at anno_decl_index. More... | |
virtual int | get_resource_tag (IValue_resource const *res) const =0 |
Get a tag,for a resource constant that might be reachable from this DAG. More... | |
virtual void | set_resource_tag (IValue_resource const *res, int tag)=0 |
Set a tag, version pair for a resource constant that might be reachable from this DAG. More... | |
virtual size_t | get_resource_tag_map_entries_count () const =0 |
Get the number of resource tag map entries. More... | |
virtual Resource_tag_tuple const * | get_resource_tag_map_entry (size_t index) const =0 |
Get the i'th resource tag map entry or NULL if the index is out of bounds;. More... | |
virtual IResource_tagger * | get_resource_tagger () const =0 |
Get the resource tagger for this code DAG. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from mi::base::Interface_declare< 0x9dbfd12e, ... > | |
static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and of its ancestors. More... | |
A container of DAG representations of a module containing materials, functions, constants, types and module annotations.
This object can be generated via ICode_generator_dag::compile() from a module loaded via IMDL::load_module().
The possible error codes.
Properties of DAG functions.
|
pure virtual |
Access messages.
|
pure virtual |
Access messages (writable).
|
pure virtual |
Create a new material instance.
[in] | index | The index of the material to instantiate. |
[out] | error_code | The error code of the instance creation. |
|
pure virtual |
Get the annotation at annotation_index of the annotation (declaration) at anno_decl_index.
anno_decl_index | The index of the annotation (declaration). |
annotation_index | The index of the annotation. |
|
pure virtual |
Get the number of annotations of the annotation at annotation_index.
annotation_index | The index of the annotation. |
|
pure virtual |
Get the number of annotations in the generated code.
|
pure virtual |
Get the name of the annotation at annotation_index.
annotation_index | The index of the annotation. |
|
pure virtual |
Get the parameter count of the annotation at annotation_index.
annotation_index | The index of the annotation. |
|
pure virtual |
Get the default initializer of the parameter at parameter_index of the annotation at annotation_index.
annotation_index | The index of the annotation. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get the index of the parameter parameter_name.
annotation_index | The index of the annotation. |
parameter_name | The name of the parameter. |
|
pure virtual |
Get the parameter name of the parameter at parameter_index of the annotation at annotation_index.
annotation_index | The index of the annotation. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get the parameter type of the parameter at parameter_index of the annotation at annotation_index.
annotation_index | The index of the annotation. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get the parameter type name of the parameter at parameter_index of the annotation at annotation_index.
annotation_index | The index of the annotation. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get the property flag of the annotation at annotation_index.
annotation_index | The index of the annotation. |
ap | The requested annotation property. |
|
pure virtual |
Get the semantics of the annotation at annotation_index.
annotation_index | The index of the annotation. |
|
pure virtual |
Return the original function name of a cloned function or "" if the function is not a clone.
function_index | The index of the function. |
|
pure virtual |
Return the original material name of a cloned material or "" if the material is not a clone.
material_index | The index of the material. |
|
pure virtual |
Get the annotation at annotation_index of the constant at constant_index.
constant_index | The index of the constant. |
annotation_index | The index of the annotation. |
|
pure virtual |
Get the number of annotations of the constant at index.
index | The index of the constant. |
|
pure virtual |
Get the number of exported constants.
|
pure virtual |
Get the name of the constant at index.
index | The index of the constant. |
|
pure virtual |
Get the value of the constant at index.
index | The index of the constant. |
|
pure virtual |
Get the annotation at annotation_index of the function at function_index.
function_index | The index of the function. |
annotation_index | The index of the annotation. |
|
pure virtual |
Get the number of annotations of the function at function_index.
function_index | The index of the function. |
|
pure virtual |
Get the body of the function at function_index.
function_index | The index of the function. |
|
pure virtual |
Get the number of functions in the generated code.
|
pure virtual |
Get the function hash value for the given function index if available.
function_index | The index of the function. |
|
pure virtual |
Get the name of the function at function_index.
function_index | The index of the function. |
|
pure virtual |
Get the annotation at annotation_index of the parameter at parameter_index of the function at function_index.
function_index | The index of the function. |
parameter_index | The index of the parameter. |
annotation_index | The index of the annotation. |
|
pure virtual |
Get the number of annotations of the parameter at parameter_index of the function at function_index.
function_index | The index of the function. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get the parameter count of the function at function_index.
function_index | The index of the function. |
|
pure virtual |
Get the default initializer of the parameter at parameter_index of the function at function_index.
function_index | The index of the function. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get the enable_if condition for the given function parameter if one was specified.
function_index | The index of the function. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get a parameter index whose enable_if condition depends on this parameter.
function_index | The index of the function. |
parameter_index | The index of the parameter. |
user_index | The index of the user. |
|
pure virtual |
Get the number of parameters whose enable_if condition depends on this parameter.
function_index | The index of the function. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get the index of the parameter parameter_name.
function_index | The index of the function. |
parameter_name | The name of the parameter. |
|
pure virtual |
Get the parameter name of the parameter at parameter_index of the function at function_index.
function_index | The index of the function. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get the parameter type of the parameter at parameter_index of the function at function_index.
function_index | The index of the function. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get the parameter type name of the parameter at parameter_index of the function at function_index.
function_index | The index of the function. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get the property flag of the function at function_index.
function_index | The index of the function. |
fp | The requested property. |
|
pure virtual |
Get the signature of the i'th reference of a function.
function_index | The index of the function. |
callee_index | The index of the callee. |
|
pure virtual |
Get the number of entities referenced by a function.
function_index | The index of the function. |
|
pure virtual |
Get the annotation at annotation_index of the function return type at function_index.
function_index | The index of the function. |
annotation_index | The index of the annotation. |
|
pure virtual |
Get the number of annotations of the function return type at function_index.
function_index | The index of the function. |
|
pure virtual |
Get the return type of the function at function_index.
function_index | The index of the function. |
|
pure virtual |
Get the semantics of the function at function_index.
function_index | The index of the function. |
|
pure virtual |
Get the temporary at temporary_index used by the function at function_index.
function_index | The index of the function. |
temporary_index | The index of the temporary variable. |
|
pure virtual |
Get the number of temporaries used by the function at function_index.
function_index | The index of the function. |
|
pure virtual |
Get the temporary name at temporary_index used by the function at function_index.
function_index | The index of the function. |
temporary_index | The index of the temporary variable. |
|
pure virtual |
Get the name of module at index imported from the module from which this code was generated.
index | the index of the requested imported module |
|
pure virtual |
Get the number of modules directly imported by the module from which this code was generated.
|
pure virtual |
Get the internal space.
|
pure virtual |
Get the annotation at annotation_index of the material at material_index.
material_index | The index of the material. |
annotation_index | The index of the annotation. |
|
pure virtual |
Get the number of annotations of the material at material_index.
material_index | The index of the material. |
|
pure virtual |
Get the number of materials in the generated code.
|
pure virtual |
Get the export flags of the material at material_index.
material_index | The index of the material. |
|
pure virtual |
Get the name of the material at material_index.
material_index | The index of the material. |
|
pure virtual |
Get the annotation at annotation_index of the parameter at parameter_index of the material at material_index.
material_index | The index of the material. |
parameter_index | The index of the parameter. |
annotation_index | The index of the annotation. |
|
pure virtual |
Get the number of annotations of the parameter at parameter_index of the material at material_index.
material_index | The index of the material. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get the parameter count of the material at material_index.
material_index | The index of the material. |
|
pure virtual |
Get the default initializer of the parameter at parameter_index of the material at material_index.
material_index | The index of the material. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get the enable_if condition for the given material parameter if one was specified.
material_index | The index of the material. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get a parameter index whose enable_if condition depends on this parameter.
material_index | The index of the material. |
parameter_index | The index of the parameter. |
user_index | The index of the user. |
|
pure virtual |
Get the number of parameters whose enable_if condition depends on this parameter.
material_index | The index of the material. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get the index of the parameter parameter_name.
material_index | The index of the material. |
parameter_name | The name of the parameter. |
|
pure virtual |
Get the parameter name of the parameter at parameter_index of the material at material_index.
material_index | The index of the material. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get the parameter type of the parameter at parameter_index of the material at material_index.
material_index | The index of the material. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get the parameter type name of the parameter at parameter_index of the material at material_index.
material_index | The index of the material. |
parameter_index | The index of the parameter. |
|
pure virtual |
Get the annotation at annotation_index of the material return type at material_index.
material_index | The index of the material. |
annotation_index | The index of the annotation. |
|
pure virtual |
Get the number of annotations of the material return type at material_index.
material_index | The index of the material. |
|
pure virtual |
Get the temporary at temporary_index used by the material at material_index.
material_index | The index of the material. |
temporary_index | The index of the temporary variable. |
|
pure virtual |
Get the number of temporaries used by the material at material_index.
material_index | The index of the material. |
|
pure virtual |
Get the temporary name at temporary_index used by the material at material_index.
material_index | The index of the material. |
temporary_index | The index of the temporary variable. |
|
pure virtual |
Get the value of the material at material_index.
material_index | The index of the material. |
|
pure virtual |
Returns the amount of used memory by this code DAG.
|
pure virtual |
Get the annotation at annotation_index of the module.
annotation_index | The index of the annotation. |
|
pure virtual |
Get the number of annotations of the module.
|
pure virtual |
Get the module file name of the module from which this code was generated.
|
pure virtual |
Get the absolute module name of the module from which this code was generated.
|
pure virtual |
Get the node factory.
|
pure virtual |
Get the original name of the annotation at annotation_index if the annotation name is an alias, i.e.
re-exported from a module.
annotation_index | The index of the annotation. |
|
pure virtual |
Get the original name of the function at function_index if the function name is an alias, i.e.
re-exported from a module.
function_index | The index of the function. |
|
pure virtual |
Get the original name of the material at material_index if the material name is an alias.
material_index | The index of the material. |
|
pure virtual |
Get the original name of the user defined type at index if the type is an alias.
index | The index of the type. |
|
pure virtual |
Get a tag,for a resource constant that might be reachable from this DAG.
res | a resource |
|
pure virtual |
Get the number of resource tag map entries.
|
pure virtual |
Get the i'th resource tag map entry or NULL if the index is out of bounds;.
index | the index of the resource map entry. |
|
pure virtual |
Get the resource tagger for this code DAG.
|
pure virtual |
Get the simple name of the annotation at annotation_index.
annotation_index | The index of the annotation. |
|
pure virtual |
Get the simple name of the function at function_index.
function_index | The index of the function. |
|
pure virtual |
Get the simple name of the material at material_index.
material_index | The index of the material. |
|
pure virtual |
Get the user defined type at index.
index | The index of the type. |
|
pure virtual |
Get the annotation at annotation_index of the user defined type at type_index.
type_index | The index of the type. |
annotation_index | The index of the annotation. |
|
pure virtual |
Get the number of annotations of the user defined type at index.
index | The index of the type. |
|
pure virtual |
Get the number of (exported and non-exported) user defined types of this compiled module.
|
pure virtual |
Get the name of the user type at index.
index | The index of the type. |
|
pure virtual |
Get the annotation at annotation_index of the user defined type sub-entity at (type_index, entity_index).
type_index | The index of the type. |
entity_index | The index of the sub entity. |
annotation_index | The index of the annotation. |
|
pure virtual |
Get the number of annotations of an user defined type sub-entity (field or enum constant) at index.
type_index | The index of the type. |
entity_index | The index of the sub entity. |
|
pure virtual |
Get the number of user defined type sub-entities (fields or enum constants).
type_index | The index of the type. |
|
pure virtual |
Get the name of an user defined type sub-entity (field or enum constant).
type_index | The index of the type. |
entity_index | The index of the sub entity. |
|
pure virtual |
Get the type of an user defined type sub-entity (field or enum constant).
type_index | The index of the type. |
entity_index | The index of the sub entity. |
|
pure virtual |
Returns true if the user defined type at index is exported.
index | The index of the type. |
|
pure virtual |
Set a tag, version pair for a resource constant that might be reachable from this DAG.
res | a resource |
tag | the tag value |