14 #ifndef EXPRESSION2PRESENTATIONMMLUNITS_H
15 #define EXPRESSION2PRESENTATIONMMLUNITS_H
39 virtual void writeMathMLName(std::ostream & out,
const ASTNode* node,
size_t l)
const;
40 virtual void writeMathMLNumber(std::ostream & out,
const ASTNode* node,
size_t l)
const;
46 void writeMathMLBox(std::ostream & out,
const std::string & a,
const std::string & b,
47 const std::string & color,
size_t l)
const;
49 void writeMathMLBox(std::ostream & out,
const std::string & a,
const std::string & b,
const std::string & c,
50 const std::string & color,
size_t l)
const;
52 std::string
getMathML(
const UnitDefinition & ud)
const;
53 std::string
getMathML(
const Unit * u,
bool absExp)
const;
59 #endif // EXPRESSION2PRESENTATIONMMLUNITS_H
void setUnitInterface(CSBMLunitInterface *unitInterface, CSBMLunitInterface *unitInterface2)
Expression2PresentationMMLUnits(const ASTNode *rootnode)
virtual void writeMathMLNumber(std::ostream &out, const ASTNode *node, size_t l) const
CSBMLunitInterface * mpUnitInterface
void writeMathMLBox(std::ostream &out, const std::string &a, const std::string &b, const std::string &color, size_t l) const
std::string getMathML(const CSBMLunitInformation &ui) const
CSBMLunitInterface * mpUnitInterface2
virtual void writeMathMLName(std::ostream &out, const ASTNode *node, size_t l) const