Fixes for paths.

This commit is contained in:
Arthur Britto
2012-08-20 12:37:36 -07:00
parent 1c5481bad7
commit 2522c4625f
4 changed files with 39 additions and 14 deletions

View File

@@ -584,7 +584,7 @@ public:
const STPathElement& getElemet(int offset) { return mPath[offset]; }
void addElement(const STPathElement& e) { mPath.push_back(e); }
void clear() { mPath.clear(); }
int getSerializeSize() const { return 1 + mPath.size() * 21; }
int getSerializeSize() const;
// std::string getText() const;
Json::Value getJson(int) const;