HierarchyElement#

class ansys.scade.pyalmgw.documents.HierarchyElement(owner, identifier: str = '', text: str = '', description: str = '')#

Bases: Container

Base class for Section and Requirement classes.

Overview#

parse

Parse the current object from an XML element.

attributes

Return the attributes to be serialized as a dictionary.

Import detail#

from ansys.scade.pyalmgw.documents import HierarchyElement

Property detail#

property HierarchyElement.attributes: Dict[str, str]#

Return the attributes to be serialized as a dictionary.

Attribute detail#

HierarchyElement.description = ''#

Method detail#

HierarchyElement.parse(tree: Any)#

Parse the current object from an XML element.