"driver/vscode:/vscode.git/clone" did not exist on "e1ae8f18f7e16e37f68321d5945d13d64c236e30"
alias.cpp 1.92 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
#include "crt.h"
#include "alias.h"
#include <iostream>

namespace YAML
{
	Alias::Alias(Content* pNodeContent)
		: m_pRef(pNodeContent)
	{
	}

	void Alias::Parse(Scanner *pScanner, const ParserState& state)
	{
	}

	void Alias::Write(std::ostream& out, int indent, bool startedLine, bool onlyOneCharOnLine)
	{
		out << "\n";
	}

	bool Alias::GetBegin(std::vector <Node *>::const_iterator& i) const
	{
		return m_pRef->GetBegin(i);
	}

	bool Alias::GetBegin(std::map <Node *, Node *, ltnode>::const_iterator& i) const
	{
		return m_pRef->GetBegin(i);
	}

	bool Alias::GetEnd(std::vector <Node *>::const_iterator& i) const
	{
		return m_pRef->GetEnd(i);
	}

	bool Alias::GetEnd(std::map <Node *, Node *, ltnode>::const_iterator& i) const
	{
		return m_pRef->GetEnd(i);
	}

	Node* Alias::GetNode(unsigned n) const
	{
		return m_pRef->GetNode(n);
	}

	unsigned Alias::GetSize() const
	{
		return m_pRef->GetSize();
	}

	bool Alias::IsScalar() const
	{
		return m_pRef->IsScalar();
	}

	bool Alias::IsMap() const
	{
		return m_pRef->IsMap();
	}

	bool Alias::IsSequence() const
	{
		return m_pRef->IsSequence();
	}

	bool Alias::Read(std::string& v) const
	{
		return m_pRef->Read(v);
	}

	bool Alias::Read(int& v) const
	{
		return m_pRef->Read(v);
	}

	bool Alias::Read(unsigned& v) const
	{
		return m_pRef->Read(v);
	}

	bool Alias::Read(long& v) const
	{
		return m_pRef->Read(v);
	}

	bool Alias::Read(float& v) const
	{
		return m_pRef->Read(v);
	}

	bool Alias::Read(double& v) const
	{
		return m_pRef->Read(v);
	}

	bool Alias::Read(char& v) const
	{
		return m_pRef->Read(v);
	}

	bool Alias::Read(bool& v) const
	{
		return m_pRef->Read(v);
	}

	int Alias::Compare(Content *pContent)
	{
		return m_pRef->Compare(pContent);
	}

	int Alias::Compare(Scalar *pScalar)
	{
		return m_pRef->Compare(pScalar);
	}

	int Alias::Compare(Sequence *pSequence)
	{
		return m_pRef->Compare(pSequence);
	}

	int Alias::Compare(Map *pMap)
	{
		return m_pRef->Compare(pMap);
	}
}