Extracting a common base class for JsonArray and JsonObject...

This commit is contained in:
Benoit Blanchon
2014-11-05 11:53:08 +01:00
parent 0fb4fa8f86
commit a9f4f611d4
7 changed files with 26 additions and 36 deletions

View File

@ -55,8 +55,6 @@ class JsonObject : public Internals::JsonPrintable<JsonObject>,
JsonObject(JsonBuffer *buffer) : List(buffer) {}
JsonVariant &add(key_type key) { return (*this)[key]; }
void addNode(node_type *nodeToAdd);
void removeNode(node_type *nodeToRemove);
node_type *getNodeAt(key_type key) const;
node_type *getOrCreateNodeAt(key_type key);