Public Member Functions | |
def | __init__ |
def | from_xml |
Public Attributes | |
assert_size | |
bitfield | |
enums | |
inherit | |
methods | |
name | |
serialization | |
typedefs | |
variables | |
Static Private Attributes | |
string | _XMLTAG = 'struct' |
Represents the C++ data structure in the object form. Class attributes: _XMLTAG -- constant string with the xml tag description
Definition at line 41 of file elements/structure.py.
def snippets.generators.elements.structure.Structure.__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 Required attributes: name -- name of the structure Optional attributes: inherit -- the class that is inherited assert_size -- add size assertion in bytes (useful for bitfields) serialization -- the type of serialization (defaults to object serializable) bitfield -- marks the structure as a bit-field
Definition at line 50 of file elements/structure.py.
def snippets.generators.elements.structure.Structure.from_xml | ( | self, | |
xmlnode | |||
) |
Extracts the structure attributes from the XML node. Memeber variables and functions are extracted from the child nodes as well. xmlnode -- the XML node with the member definition
Definition at line 78 of file elements/structure.py.
string snippets::generators::elements::structure.Structure::_XMLTAG = 'struct' [static, private] |
Definition at line 48 of file elements/structure.py.
Definition at line 63 of file elements/structure.py.
Definition at line 63 of file elements/structure.py.
Definition at line 63 of file elements/structure.py.
Definition at line 63 of file elements/structure.py.
Definition at line 63 of file elements/structure.py.
Definition at line 63 of file elements/structure.py.
Definition at line 63 of file elements/structure.py.
Definition at line 63 of file elements/structure.py.
Definition at line 63 of file elements/structure.py.