#include <Expression2PresentationMMLUnits.h>
List of all members.
Public Member Functions |
| Expression2PresentationMMLUnits (const ASTNode *rootnode) |
void | setUnitInterface (CUnitInterfaceSBML *unitInterface, CUnitInterfaceSBML *unitInterface2) |
std::string | getMathML (const CUnitInformation &ui) const |
Protected Member Functions |
virtual void | writeMathMLName (std::ostream &out, const ASTNode *node, unsigned int l) const |
virtual void | writeMathMLNumber (std::ostream &out, const ASTNode *node, unsigned int l) const |
void | writeMathMLBox (std::ostream &out, const std::string &a, const std::string &b, const std::string &color, unsigned int l) const |
void | writeMathMLBox (std::ostream &out, const std::string &a, const std::string &b, const std::string &c, const std::string &color, unsigned int l) const |
std::string | getMathML (const UnitDefinition &ud) const |
std::string | getMathML (const Unit *u, bool absExp) const |
Protected Attributes |
CUnitInterfaceSBML * | mpUnitInterface |
CUnitInterfaceSBML * | mpUnitInterface2 |
Constructor & Destructor Documentation
Expression2PresentationMMLUnits::Expression2PresentationMMLUnits |
( |
const ASTNode * |
rootnode | ) |
|
Member Function Documentation
std::string Expression2PresentationMMLUnits::getMathML |
( |
const CUnitInformation & |
ui | ) |
const |
std::string Expression2PresentationMMLUnits::getMathML |
( |
const UnitDefinition & |
ud | ) |
const [protected] |
std::string Expression2PresentationMMLUnits::getMathML |
( |
const Unit * |
u, |
|
|
bool |
absExp |
|
) |
| const [protected] |
sets the unit interface to the SBML model so that the units can be displayed. this implicitly also handles setting the model
void Expression2PresentationMMLUnits::writeMathMLBox |
( |
std::ostream & |
out, |
|
|
const std::string & |
a, |
|
|
const std::string & |
b, |
|
|
const std::string & |
color, |
|
|
unsigned int |
l |
|
) |
| const [protected] |
write the mathML for a box that is used to display an object identifier + its unit information a and b are mathML strings
void Expression2PresentationMMLUnits::writeMathMLBox |
( |
std::ostream & |
out, |
|
|
const std::string & |
a, |
|
|
const std::string & |
b, |
|
|
const std::string & |
c, |
|
|
const std::string & |
color, |
|
|
unsigned int |
l |
|
) |
| const [protected] |
void Expression2PresentationMMLUnits::writeMathMLName |
( |
std::ostream & |
out, |
|
|
const ASTNode * |
node, |
|
|
unsigned int |
l |
|
) |
| const [protected, virtual] |
void Expression2PresentationMMLUnits::writeMathMLNumber |
( |
std::ostream & |
out, |
|
|
const ASTNode * |
node, |
|
|
unsigned int |
l |
|
) |
| const [protected, virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: