Merge acf5912d90 into ee99c4151c
This commit is contained in:
commit
1ebc92124b
@ -113,7 +113,7 @@ class YAML_CPP_API Node {
|
|||||||
template <typename Key, typename Value>
|
template <typename Key, typename Value>
|
||||||
void force_insert(const Key& key, const Value& value);
|
void force_insert(const Key& key, const Value& value);
|
||||||
|
|
||||||
private:
|
protected:
|
||||||
enum Zombie { ZombieNode };
|
enum Zombie { ZombieNode };
|
||||||
explicit Node(Zombie);
|
explicit Node(Zombie);
|
||||||
explicit Node(detail::node& node, detail::shared_memory_holder pMemory);
|
explicit Node(detail::node& node, detail::shared_memory_holder pMemory);
|
||||||
@ -128,7 +128,7 @@ class YAML_CPP_API Node {
|
|||||||
void AssignData(const Node& rhs);
|
void AssignData(const Node& rhs);
|
||||||
void AssignNode(const Node& rhs);
|
void AssignNode(const Node& rhs);
|
||||||
|
|
||||||
private:
|
protected:
|
||||||
bool m_isValid;
|
bool m_isValid;
|
||||||
mutable detail::shared_memory_holder m_pMemory;
|
mutable detail::shared_memory_holder m_pMemory;
|
||||||
mutable detail::node* m_pNode;
|
mutable detail::node* m_pNode;
|
||||||
|
|||||||
@ -47,13 +47,13 @@ class NodeBuilder : public EventHandler {
|
|||||||
anchor_t anchor, EmitterStyle::value style);
|
anchor_t anchor, EmitterStyle::value style);
|
||||||
virtual void OnMapEnd();
|
virtual void OnMapEnd();
|
||||||
|
|
||||||
private:
|
protected:
|
||||||
detail::node& Push(const Mark& mark, anchor_t anchor);
|
detail::node& Push(const Mark& mark, anchor_t anchor);
|
||||||
void Push(detail::node& node);
|
void Push(detail::node& node);
|
||||||
void Pop();
|
void Pop();
|
||||||
void RegisterAnchor(anchor_t anchor, detail::node& node);
|
void RegisterAnchor(anchor_t anchor, detail::node& node);
|
||||||
|
|
||||||
private:
|
protected:
|
||||||
detail::shared_memory_holder m_pMemory;
|
detail::shared_memory_holder m_pMemory;
|
||||||
detail::node* m_pRoot;
|
detail::node* m_pRoot;
|
||||||
|
|
||||||
@ -1,5 +1,5 @@
|
|||||||
#include "yaml-cpp/node/node.h"
|
#include "yaml-cpp/node/node.h"
|
||||||
#include "nodebuilder.h"
|
#include "yaml-cpp/nodebuilder.h"
|
||||||
#include "nodeevents.h"
|
#include "nodeevents.h"
|
||||||
|
|
||||||
namespace YAML {
|
namespace YAML {
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
||||||
#include "nodebuilder.h"
|
#include "yaml-cpp/nodebuilder.h"
|
||||||
#include "yaml-cpp/node/detail/node.h"
|
#include "yaml-cpp/node/detail/node.h"
|
||||||
#include "yaml-cpp/node/impl.h"
|
#include "yaml-cpp/node/impl.h"
|
||||||
#include "yaml-cpp/node/node.h"
|
#include "yaml-cpp/node/node.h"
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
#include "yaml-cpp/node/node.h"
|
#include "yaml-cpp/node/node.h"
|
||||||
#include "yaml-cpp/node/impl.h"
|
#include "yaml-cpp/node/impl.h"
|
||||||
#include "yaml-cpp/parser.h"
|
#include "yaml-cpp/parser.h"
|
||||||
#include "nodebuilder.h"
|
#include "yaml-cpp/nodebuilder.h"
|
||||||
|
|
||||||
namespace YAML {
|
namespace YAML {
|
||||||
Node Load(const std::string& input) {
|
Node Load(const std::string& input) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user