Public Member Functions | |
def | instantiate (self) |
def | writeGraphViz (self, fileName) |
Public Attributes | |
instanceMape | |
schemaClasses | |
schemaModule | |
read the file Part21.Part21Parser Loads all instances definition of a Part21 file into memory. Two dicts are created: Part21.Part21Parser._instance_definition : stores attributes, key is the instance integer id Part21.Part21Parser._number_of_ancestors : stores the number of ancestors of entity id. This enables to define the order of instances creation.
def SCL.SimpleReader.SimpleParser.instantiate | ( | self | ) |
Instantiate the python class from the entities
References SCL.SimpleReader.SimpleParser._create_entity_instance(), SCL.SimpleReader.SimpleParser._p21loader, SCL.SimpleReader.SimpleParser._transformAttributes(), SCL.SimpleReader.SimpleParser.instanceMape, SCL.SimpleReader.SimpleParser.schemaClasses, and SCL.SimpleReader.SimpleParser.schemaModule.
def SCL.SimpleReader.SimpleParser.writeGraphViz | ( | self, | |
fileName | |||
) |
References SCL.SimpleReader.SimpleParser._p21loader, and SCL.SimpleReader.SimpleParser._writeGraphVizEdge().
SCL.SimpleReader.SimpleParser.instanceMape |
Referenced by SCL.SimpleReader.SimpleParser.instantiate().
SCL.SimpleReader.SimpleParser.schemaClasses |
Referenced by SCL.SimpleReader.SimpleParser.instantiate().
SCL.SimpleReader.SimpleParser.schemaModule |
Referenced by SCL.SimpleReader.SimpleParser.instantiate().