"profiler/vscode:/vscode.git/clone" did not exist on "e1a5137e152a6afc2107d4448eec8d267ffb2025"
node.h 375 Bytes
Newer Older
beder's avatar
beder committed
1
2
3
#pragma once

#include <string>
4
#include <ios>
beder's avatar
beder committed
5
6
7

namespace YAML
{
8
9
10
11
12
	const std::string StrTag = "!!str";
	const std::string SeqTag = "!!seq";
	const std::string MapTag = "!!map";

	class Content;
beder's avatar
beder committed
13
14
15
16
17
18
19

	class Node
	{
	public:
		Node();
		~Node();

20
21
22
		void Clear();
		void Read(std::istream& in);

beder's avatar
beder committed
23
24
	private:
		std::string m_tag;
25
		Content *m_pContent;
beder's avatar
beder committed
26
27
	};
}