#include <Expression2PresentationMMLUnits.h>
|
std::string | getMathML (const Unit *u, bool absExp) const |
|
std::string | getMathML (const UnitDefinition &ud) const |
|
void | writeMathMLBox (std::ostream &out, const std::string &a, const std::string &b, const std::string &c, const std::string &color, size_t l) const |
|
void | writeMathMLBox (std::ostream &out, const std::string &a, const std::string &b, const std::string &color, size_t l) const |
|
virtual void | writeMathMLName (std::ostream &out, const ASTNode *node, size_t l) const |
|
virtual void | writeMathMLNumber (std::ostream &out, const ASTNode *node, size_t l) const |
|
void | writeMathML (std::ostream &out, const ASTNode *node, size_t l) const |
|
virtual void | writeMathMLFunction (std::ostream &out, const ASTNode *node, size_t l) const |
|
◆ Expression2PresentationMMLUnits()
Expression2PresentationMMLUnits::Expression2PresentationMMLUnits |
( |
const ASTNode * |
rootnode | ) |
|
◆ getMathML() [1/3]
References CSBMLunitInformation::DEFAULT, CSBMLunitInformation::DERIVED, CSBMLunitInformation::getInfo(), CSBMLunit::getSBMLUnitDefinition(), CSBMLunit::getSymbolicExpExp(), CSBMLunit::getSymbolicExponent(), CSBMLunitInformation::GLOBAL, CSBMLunitInformation::isConflict(), CSBMLunitInformation::PROVIDED, and CSBMLunitInformation::UNKNOWN.
Referenced by getMathML(), writeMathMLName(), and writeMathMLNumber().
◆ getMathML() [2/3]
std::string Expression2PresentationMMLUnits::getMathML |
( |
const Unit * |
u, |
|
|
bool |
absExp |
|
) |
| const |
|
protected |
◆ getMathML() [3/3]
std::string Expression2PresentationMMLUnits::getMathML |
( |
const UnitDefinition & |
ud | ) |
const |
|
protected |
◆ setUnitInterface()
◆ writeMathMLBox() [1/2]
void Expression2PresentationMMLUnits::writeMathMLBox |
( |
std::ostream & |
out, |
|
|
const std::string & |
a, |
|
|
const std::string & |
b, |
|
|
const std::string & |
c, |
|
|
const std::string & |
color, |
|
|
size_t |
l |
|
) |
| const |
|
protected |
◆ writeMathMLBox() [2/2]
void Expression2PresentationMMLUnits::writeMathMLBox |
( |
std::ostream & |
out, |
|
|
const std::string & |
a, |
|
|
const std::string & |
b, |
|
|
const std::string & |
color, |
|
|
size_t |
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
References SPC.
Referenced by writeMathMLName(), and writeMathMLNumber().
◆ writeMathMLName()
void Expression2PresentationMMLUnits::writeMathMLName |
( |
std::ostream & |
out, |
|
|
const ASTNode * |
node, |
|
|
size_t |
l |
|
) |
| const |
|
protectedvirtual |
◆ writeMathMLNumber()
void Expression2PresentationMMLUnits::writeMathMLNumber |
( |
std::ostream & |
out, |
|
|
const ASTNode * |
node, |
|
|
size_t |
l |
|
) |
| const |
|
protectedvirtual |
◆ mpUnitInterface
◆ mpUnitInterface2
The documentation for this class was generated from the following files: