Container#
- class ansys.scade.pyalmgw.documents.Container(*args, **kwargs)#
Bases:
ElementBase class for
ReqDocument,Section, andRequirementclasses.Container of hierarchical elements.
Overview#
Return whether a container does not contain requirements. |
|
Iterate through the contained requirements. |
|
Parse the current object from an XML element. |
Return the contained elements to be serialized as a dictionary. |
Import detail#
from ansys.scade.pyalmgw.documents import Container
Property detail#
Attribute detail#
- Container.requirements: List[Requirement] = []#
Method detail#
- Container.iter_requirements() Generator[Requirement, Any, Any]#
Iterate through the contained requirements.
- Container.parse(tree: Any)#
Parse the current object from an XML element.