Public Member Functions | |
def | __init__ |
def | from_xml |
Public Attributes | |
gcond | |
Static Private Attributes | |
string | _XMLTAG = 'group' |
Represents a variable group inside the structure object. Class attributes: _XMLTAG -- constant string with the xml tag description
Definition at line 50 of file cppgen/structure.py.
def snippets.generators.cppgen.structure.Structure.VarGroup.__init__ | ( | self, | |
xmlnode = None |
|||
) |
Populates the structure from a XML node info. When the XML node is not defined, does nothing. xmlnode -- the XML node with the member definition Instance attributes: gvariables -- the member variables list gcond -- the group conditional
Definition at line 59 of file cppgen/structure.py.
def snippets.generators.cppgen.structure.Structure.VarGroup.from_xml | ( | self, | |
xmlnode | |||
) |
Extracts the group attributes from the XML node. Memeber variables are extracted from the child nodes as well. xmlnode -- the XML node with the member definition
Definition at line 74 of file cppgen/structure.py.
string snippets::generators::cppgen::structure.Structure.VarGroup::_XMLTAG = 'group' [static, private] |
Definition at line 57 of file cppgen/structure.py.
Definition at line 68 of file cppgen/structure.py.