Removed all friends of JsonValue

This commit is contained in:
Benoit Blanchon
2014-10-25 15:55:58 +02:00
parent fdeedabfd7
commit e748ce32bc
14 changed files with 256 additions and 128 deletions

View File

@@ -0,0 +1,25 @@
// Copyright Benoit Blanchon 2014
// MIT License
//
// Arduino JSON library
// https://github.com/bblanchon/ArduinoJson
#pragma once
#include "../JsonValue.hpp"
namespace ArduinoJson {
namespace Internals {
class JsonValueInternal : public JsonValue {
public:
explicit JsonValueInternal(Internals::JsonNode* node) : JsonValue(node) {}
void moveToNext() { _node = _node->next; }
bool isSameAs(const JsonValueInternal& other) const {
return _node == other._node;
}
};
}
}