SCL.Part21.Part21Parser Class Reference
Public Member Functions | |
def | get_number_of_instances (self) |
def | get_schema_name (self) |
def | parse_file (self) |
Detailed Description
Loads all instances definition of a Part21 file into memory. Two dicts are created: self._instance_definition : stores attributes, key is the instance integer id self._number_of_ancestors : stores the number of ancestors of entity id. This enables to define the order of instances creation.
Member Function Documentation
◆ get_number_of_instances()
def SCL.Part21.Part21Parser.get_number_of_instances | ( | self | ) |
References SCL.Part21.Part21Parser._instances_definition.
◆ get_schema_name()
def SCL.Part21.Part21Parser.get_schema_name | ( | self | ) |
References SCL.Part21.Part21Parser._schema_name.
◆ parse_file()
def SCL.Part21.Part21Parser.parse_file | ( | self | ) |
References zipios::GZIPOutputStreambuf._filename, zipios::BasicEntry._filename, Gui::Breakpoint._filename, SCL.Part21.Part21Parser._filename, zipios::FileCollection._filename, SCL.Part21.Part21Parser._instances_definition, and SCL.Part21.Part21Parser._schema_name.
The documentation for this class was generated from the following file:
- src/Mod/Import/App/SCL/Part21.py