A container of DAG representations of a module containing materials, functions, constants, types and module annotations.
More...
|
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 IType const * | get_material_return_type (size_t material_index) const =0 |
| Get the return type of the material at material_index. More...
|
|
virtual IDefinition::Semantics | get_material_semantics (size_t material_index) const =0 |
| Get the semantics of the material at material_index. 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_hash const * | get_material_hash (size_t material_index) const =0 |
| Get the material hash value for the given material index if available. 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 DAG_node const * | get_function_value (size_t function_index) const =0 |
| Get the body of the function at function_index. More...
|
|
virtual bool | get_function_exported (size_t function_index) const =0 |
| Get the export flags 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 DAG_node const * | get_material_body (size_t material_index) const =0 |
| Get the body expression 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 bool | get_material_property (size_t material_index, Function_property fp) const =0 |
| Get the property flag of the material at material_index. More...
|
|
virtual size_t | get_material_references_count (size_t material_index) const =0 |
| Get the number of entities referenced by a material. More...
|
|
virtual char const * | get_material_reference (size_t material_index, size_t callee_index) const =0 |
| Get the signature of the i'th reference of a material. 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_struct_category_count () const =0 |
| Get the number of (exported and non-exported) user defined struct categories of this compiled module. More...
|
|
virtual char const * | get_struct_category_name (size_t index) const =0 |
| Get the name of the user-defined struct category at index. More...
|
|
virtual IStruct_category const * | get_struct_category (size_t index) const =0 |
| Get the user defined struct category at index. More...
|
|
virtual size_t | get_struct_category_annotation_count (size_t index) const =0 |
| Get the number of annotations of the user defined struct category at index. More...
|
|
virtual DAG_node const * | get_struct_category_annotation (size_t cat_index, size_t annotation_index) const =0 |
| Get the annotation at annotation_index of the user defined struct category at cat_index. More...
|
|
virtual bool | is_struct_category_exported (size_t index) const =0 |
| Returns true if the user defined struct category at index is exported. 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...
|
|