Implement Printable

This commit is contained in:
Benoit Blanchon committed 2014-09-30 16:43:25 +02:00
1 parent 6b2705769a
commit 3243f2dc58
6 files changed
+37 -35

No files matched your search

+3 -3
View File
@@ -5,7 +5,7 @@
class JsonValue;
struct JsonNode;
class JsonObject
class JsonObject : public Printable
{
friend JsonValue;
@@ -26,8 +26,8 @@ public:
bool operator==(const JsonObject& other) const;
void printTo(char* buffer, size_t bufferSize) const;
void printTo(Print& print) const;
size_t printTo(char* buffer, size_t bufferSize) const;
virtual size_t printTo(Print& print) const;
private:
JsonNode* _node;