SCL.SimpleReader.SimpleParser Class Reference

Public Member Functions

def instantiate (self)
 
def writeGraphViz (self, fileName)
 

Public Attributes

 instanceMape
 
 schemaClasses
 
 schemaModule
 

Detailed Description

 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.

Member Function Documentation

◆ instantiate()

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.

◆ writeGraphViz()

def SCL.SimpleReader.SimpleParser.writeGraphViz (   self,
  fileName 
)

References SCL.SimpleReader.SimpleParser._p21loader, and SCL.SimpleReader.SimpleParser._writeGraphVizEdge().

Member Data Documentation

◆ instanceMape

SCL.SimpleReader.SimpleParser.instanceMape

◆ schemaClasses

SCL.SimpleReader.SimpleParser.schemaClasses

◆ schemaModule

SCL.SimpleReader.SimpleParser.schemaModule

The documentation for this class was generated from the following file: