54 #ifndef profxml_MathMLExprParser_hpp 55 #define profxml_MathMLExprParser_hpp 64 #include <xercesc/dom/DOMNode.hpp> 65 using XERCES_CPP_NAMESPACE::DOMNode;
126 parse(DOMNode* mathMLExpr,
133 std::string toString()
const;
134 std::ostream& dump(std::ostream& os = std::cout)
const;
152 #define MathML_Throw(streamArgs) DIAG_ThrowX(MathMLExprException, streamArgs) 157 const char* filenm =
NULL,
unsigned int lineno = 0)
162 return "Math ML Exception: " + what();
static Prof::Metric::AExpr * parse(DOMNode *mathMLExpr, const Prof::Metric::Mgr &mMgr)
static Prof::Metric::AExpr * buildEvalTree(DOMNode *node, const Prof::Metric::Mgr &mMgr, bool isNum)
virtual std::string message() const
MathMLExprException(const std::string x, const char *filenm=NULL, unsigned int lineno=0)