Nektar++
|
Public Member Functions | |
def | __init__ (self) |
def | __delattr__ (self, key) |
def | __setattr__ (self, key, value) |
def | rootNode (self) |
def | cmeta_id (self) |
def | xml_remove_child_at (self, index=-1) |
def | xml_doc (self) |
def | xml_properties (self) |
Public Attributes | |
xml_attributes | |
Base element class to allow me to set certain attributes on my instances that are Python objects rather than unicode strings.
def CellMLToNektar.pycml.element_base.__init__ | ( | self | ) |
Reimplemented in CellMLToNektar.pycml.cellml_model, CellMLToNektar.pycml.cellml_component, CellMLToNektar.pycml.cellml_variable, CellMLToNektar.pycml.cellml_units, CellMLToNektar.pycml.cellml_unit, CellMLToNektar.pycml.mathml, CellMLToNektar.pycml.mathml_math, CellMLToNektar.pycml.mathml_constructor, CellMLToNektar.pycml.mathml_cn, CellMLToNektar.pycml.mathml_ci, CellMLToNektar.pycml.mathml_apply, CellMLToNektar.pycml.mathml_piecewise, and CellMLToNektar.pycml.mathml_plus.
Definition at line 212 of file pycml.py.
def CellMLToNektar.pycml.element_base.__delattr__ | ( | self, | |
key | |||
) |
Bypass Amara's __delattr__ for attribute names that start with _cml_
Definition at line 216 of file pycml.py.
def CellMLToNektar.pycml.element_base.__setattr__ | ( | self, | |
key, | |||
value | |||
) |
Bypass Amara's __setattr__ for attribute names that start with _cml_
Definition at line 225 of file pycml.py.
def CellMLToNektar.pycml.element_base.cmeta_id | ( | self | ) |
Get the value of the cmeta:id attribute, or the empty string if not set.
Definition at line 244 of file pycml.py.
Referenced by CellMLToNektar.pycml.cellml_variable.add_rdf_annotation(), CellMLToNektar.pycml.cellml_variable.get_rdf_annotation(), CellMLToNektar.pycml.cellml_variable.get_rdf_annotations(), CellMLToNektar.pycml.cellml_model.is_self_excitatory(), and CellMLToNektar.pycml.cellml_variable.remove_rdf_annotations().
def CellMLToNektar.pycml.element_base.rootNode | ( | self | ) |
Definition at line 235 of file pycml.py.
Referenced by CellMLToNektar.pycml.mathml_ci._reduce(), CellMLToNektar.pycml.mathml_constructor._tree_complexity(), CellMLToNektar.pycml.mathml.model(), CellMLToNektar.pycml.mathml_piecewise.tree_complexity(), and CellMLToNektar.pycml.cellml_model.validate().
def CellMLToNektar.pycml.element_base.xml_doc | ( | self | ) |
Definition at line 275 of file pycml.py.
References CellMLToNektar.pycml.element_base.xml_attributes.
def CellMLToNektar.pycml.element_base.xml_properties | ( | self | ) |
Return a dictionary whose keys are Python properties on this object that represent XML attributes and elements, and whose vaues are the corresponding objects (a subset of __dict__)
Definition at line 308 of file pycml.py.
def CellMLToNektar.pycml.element_base.xml_remove_child_at | ( | self, | |
index = -1 |
|||
) |
Remove child object at a given index index - optional, 0-based index of child to remove (defaults to the last child)
Definition at line 248 of file pycml.py.
CellMLToNektar.pycml.element_base.xml_attributes |
Definition at line 213 of file pycml.py.
Referenced by CellMLToNektar.pycml.cellml_unit.clone(), CellMLToNektar.pycml.cellml_model.xml(), and CellMLToNektar.pycml.element_base.xml_doc().