mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-02 08:48:27 +01:00
Removed all friends of JsonValue
This commit is contained in:
25
include/ArduinoJson/Internals/JsonValueInternal.hpp
Normal file
25
include/ArduinoJson/Internals/JsonValueInternal.hpp
Normal 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;
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user