Assimp  v3.1.1 (June 2014)
CppGenerator.py File Reference

Namespaces

 CppGenerator
 

Functions

def CppGenerator.count_args_up
 
def CppGenerator.gen_converter
 
def CppGenerator.gen_type_struct
 
def CppGenerator.generate_fields
 
def CppGenerator.get_base_classes
 
def CppGenerator.get_cpp_type
 
def CppGenerator.get_derived
 
def CppGenerator.get_hierarchy
 
def CppGenerator.get_list_bounds
 
def CppGenerator.get_single_conversion
 
def CppGenerator.handle_unset_args
 
def CppGenerator.resolve_base_type
 
def CppGenerator.sort_entity_list
 
def CppGenerator.work
 

Variables

string CppGenerator.input_template_cpp = 'IFCReaderGen.cpp.template'
 
string CppGenerator.input_template_h = 'IFCReaderGen.h.template'
 
tuple CppGenerator.output_file_cpp = os.path.join('..','..','code','IFCReaderGen.cpp')
 
tuple CppGenerator.output_file_h = os.path.join('..','..','code','IFCReaderGen.h')
 
string CppGenerator.template_allow_derived = r""
 
string CppGenerator.template_allow_optional = r""
 
string CppGenerator.template_convert_single = r""
 
string CppGenerator.template_converter = r""
 
string CppGenerator.template_converter_check_argcnt = '\tif (params.GetSize() < {max_arg}) {{ throw STEP::TypeError("expected {max_arg} arguments to {name}"); }}'
 
string CppGenerator.template_converter_code_per_field = r""
 
string CppGenerator.template_converter_epilogue = '\treturn base;'
 
string CppGenerator.template_converter_omitted = '// this data structure is not used yet, so there is no code generated to fill its members\n'
 
string CppGenerator.template_converter_prologue_a = '\tsize_t base = GenericFill(db,params,static_cast<{parent}*>(in));\n'
 
string CppGenerator.template_converter_prologue_b = '\tsize_t base = 0;\n'
 
string CppGenerator.template_entity = r""
 
string CppGenerator.template_entity_ni = ''
 
string CppGenerator.template_entity_predef = '\tstruct {entity};\n'
 
string CppGenerator.template_entity_predef_ni = '\ttypedef NotImplemented {entity}; // (not currently used by Assimp)\n'
 
string CppGenerator.template_schema = '\t\tSchemaEntry("{normalized_name}",&STEP::ObjectHelper<{type},{argcnt}>::Construct )\n'
 
string CppGenerator.template_schema_type = '\t\tSchemaEntry("{normalized_name}",NULL )\n'
 
string CppGenerator.template_stub_decl = '\tDECL_CONV_STUB({type});\n'
 
string CppGenerator.template_type = r""