Configurator
|
One Classification path for module. More...
Public Member Functions | |
def | __init__ |
Classification constructor | |
One Classification path for module.
A module can be shown in the "Selections" window in multiple locations. Each location is defined by a Classification. A Classification corresponds to the <Classification ... /> tag in module XML file. The attributes of the <Classification ... /> tag are Level1, Level2, etc. The Level1 attribute is typically one of "Buses", "Categories", or "Vendors". Each level subsequent level nests one level deeper in the nesting tree.
def data_structures.Classification.__init__ | ( | self, | |
classification_element, | |||
style | |||
) |
Classification constructor
self | Classification object to initialize |
classification_element | Element tree element to read from |
style | Style object to control generated code formatting. |
This method will extract the classification information from the XML classification_element and store the result into self.