Nektar++
|
Public Member Functions | |
def | __init__ (self, *args, **kwargs) |
def | set_colour (self, colour) |
def | get_colour (self) |
def | clear_colour (self) |
Private Attributes | |
_cml_colour | |
A mixin class for objects that have a colour attribute, and so support a depth-first search.
Definition at line 123 of file utilities.py.
def CellMLToNektar.utilities.Colourable.__init__ | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
Reimplemented in CellMLToNektar.pycml.cellml_variable, CellMLToNektar.pycml.cellml_units, and CellMLToNektar.pycml.mathml_apply.
Definition at line 128 of file utilities.py.
References CellMLToNektar.utilities.Colourable.__init__(), and CellMLToNektar.utilities.Colourable.clear_colour().
Referenced by CellMLToNektar.utilities.Colourable.__init__().
def CellMLToNektar.utilities.Colourable.clear_colour | ( | self | ) |
Definition at line 138 of file utilities.py.
References CellMLToNektar.utilities.Colourable._cml_colour.
Referenced by CellMLToNektar.utilities.Colourable.__init__().
def CellMLToNektar.utilities.Colourable.get_colour | ( | self | ) |
Definition at line 135 of file utilities.py.
References CellMLToNektar.utilities.Colourable._cml_colour.
def CellMLToNektar.utilities.Colourable.set_colour | ( | self, | |
colour | |||
) |
Definition at line 132 of file utilities.py.
|
private |
Definition at line 133 of file utilities.py.
Referenced by CellMLToNektar.utilities.Colourable.clear_colour(), and CellMLToNektar.utilities.Colourable.get_colour().