提交 6415b077 编写于 作者: Y Yu Yang

Add getNames

上级 c4519574
......@@ -27,3 +27,9 @@ std::string Evaluator::toString() {
m->rawPtr->printStats(sout);
return sout.str();
}
std::vector<std::string> Evaluator::getNames() const {
std::vector<std::string> retv;
m->rawPtr->getNames(&retv);
return retv;
}
......@@ -900,6 +900,8 @@ public:
*/
std::string toString();
std::vector<std::string> getNames() const;
private:
EvaluatorPrivate* m;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册