|
Assimp
v4.1. (December 2018)
|
Functions | |
| def | count_args_up (entity, schema) |
| def | gen_converter (entity, schema) |
| def | gen_type_struct (typen, schema) |
| def | generate_fields (entity, schema) |
| def | get_base_classes (e, schema) |
| def | get_cpp_type (field, schema) |
| def | get_derived (e, schema) |
| def | get_hierarchy (e, schema) |
| def | get_list_bounds (collection_spec) |
| def | get_single_conversion (field, schema, argnum=0, classname='?') |
| def | handle_unset_args (field, entity, schema, argnum) |
| def | resolve_base_type (base, schema) |
| def | sort_entity_list (schema) |
| def | work (filename) |
Variables | |
| string | cpp_keywords = "class" |
| string | input_ifc_template_cpp = 'IFCReaderGen.cpp.template' |
| string | input_ifc_template_h = 'IFCReaderGen.h.template' |
| string | input_step_template_cpp = 'StepReaderGen.cpp.template' |
| string | input_step_template_h = 'StepReaderGen.h.template' |
| string | input_template_cpp = input_ifc_template_cpp |
| string | input_template_h = input_ifc_template_h |
| string | output_file_cpp = "" |
| string | output_file_h = "" |
| string | template_allow_derived |
| string | template_allow_optional |
| string | template_convert_single |
| string | template_converter |
| string | template_converter_check_argcnt = '\tif (params.GetSize() < {max_arg}) {{ throw STEP::TypeError("expected {max_arg} arguments to {name}"); }}' |
| string | template_converter_code_per_field |
| string | template_converter_epilogue = '\treturn base;' |
| string | template_converter_omitted = '// this data structure is not used yet, so there is no code generated to fill its members\n' |
| string | template_converter_prologue_a = '\tsize_t base = GenericFill(db,params,static_cast<{parent}*>(in));\n' |
| string | template_converter_prologue_b = '\tsize_t base = 0;\n' |
| string | template_entity |
| string | template_entity_ni = '' |
| string | template_entity_predef = '\tstruct {entity};\n' |
| string | template_entity_predef_ni = '\ttypedef NotImplemented {entity}; // (not currently used by Assimp)\n' |
| string | template_schema = '\t\tSchemaEntry("{normalized_name}",&STEP::ObjectHelper<{type},{argcnt}>::Construct )\n' |
| string | template_schema_type = '\t\tSchemaEntry("{normalized_name}",nullptr )\n' |
| string | template_stub_decl = '\tDECL_CONV_STUB({type});\n' |
| string | template_type |
| bool | use_ifc_template = False |
| def CppGenerator.count_args_up | ( | entity, | |
| schema | |||
| ) |
| def CppGenerator.gen_converter | ( | entity, | |
| schema | |||
| ) |
| def CppGenerator.gen_type_struct | ( | typen, | |
| schema | |||
| ) |
| def CppGenerator.generate_fields | ( | entity, | |
| schema | |||
| ) |
| def CppGenerator.get_base_classes | ( | e, | |
| schema | |||
| ) |
| def CppGenerator.get_cpp_type | ( | field, | |
| schema | |||
| ) |
| def CppGenerator.get_derived | ( | e, | |
| schema | |||
| ) |
| def CppGenerator.get_hierarchy | ( | e, | |
| schema | |||
| ) |
| def CppGenerator.get_list_bounds | ( | collection_spec | ) |
| def CppGenerator.get_single_conversion | ( | field, | |
| schema, | |||
argnum = 0, |
|||
classname = '?' |
|||
| ) |
| def CppGenerator.handle_unset_args | ( | field, | |
| entity, | |||
| schema, | |||
| argnum | |||
| ) |
| def CppGenerator.resolve_base_type | ( | base, | |
| schema | |||
| ) |
| def CppGenerator.sort_entity_list | ( | schema | ) |
| def CppGenerator.work | ( | filename | ) |
| string CppGenerator.cpp_keywords = "class" |
| string CppGenerator.input_ifc_template_cpp = 'IFCReaderGen.cpp.template' |
| string CppGenerator.input_ifc_template_h = 'IFCReaderGen.h.template' |
| string CppGenerator.input_step_template_cpp = 'StepReaderGen.cpp.template' |
| string CppGenerator.input_step_template_h = 'StepReaderGen.h.template' |
| string CppGenerator.input_template_cpp = input_ifc_template_cpp |
| string CppGenerator.input_template_h = input_ifc_template_h |
| CppGenerator.output_file_cpp = "" |
| CppGenerator.output_file_h = "" |
| string CppGenerator.template_allow_derived |
| string CppGenerator.template_allow_optional |
| string CppGenerator.template_convert_single |
| string CppGenerator.template_converter |
| 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 |
| 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 |
| 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}",nullptr )\n' |
| string CppGenerator.template_stub_decl = '\tDECL_CONV_STUB({type});\n' |
| string CppGenerator.template_type |
| bool CppGenerator.use_ifc_template = False |