Lines Matching refs:string
46 #include <string>
51 MathExpr(std::string expr);
53 typedef std::function<double(std::string)> EvalCallback;
58 * @return A string containing the ASCII representation of the expression
60 std::string toStr() const { return toStr(root, ""); }
93 std::string toStr() const {
103 return std::string(1, opStr[op]);
110 std::string variable;
116 /** Parse and create nodes from string */
117 Node *parse(std::string expr);
119 /** Print tree as string */
120 std::string toStr(Node *n, std::string prefix) const;