Added header file inclusion guards
This commit is contained in:
parent
1507fcd36d
commit
72919adf55
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef CONVERSION_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define CONVERSION_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
@ -36,3 +40,5 @@ namespace YAML
|
|||||||
template <>
|
template <>
|
||||||
bool Converter<std::wstring>::Convert(const std::string& input, std::wstring& output);
|
bool Converter<std::wstring>::Convert(const std::string& input, std::wstring& output);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // CONVERSION_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef CRT_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define CRT_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
// for detecting memory leaks
|
// for detecting memory leaks
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
|
|
||||||
@ -9,3 +13,5 @@
|
|||||||
|
|
||||||
#endif // _DEBUG
|
#endif // _DEBUG
|
||||||
|
|
||||||
|
|
||||||
|
#endif // CRT_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef EMITTER_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define EMITTER_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include "emittermanip.h"
|
#include "emittermanip.h"
|
||||||
#include "ostream.h"
|
#include "ostream.h"
|
||||||
#include <memory>
|
#include <memory>
|
||||||
@ -84,3 +88,5 @@ namespace YAML
|
|||||||
return emitter.SetLocalIndent(indent);
|
return emitter.SetLocalIndent(indent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // EMITTER_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef EMITTERMANIP_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define EMITTERMANIP_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace YAML
|
namespace YAML
|
||||||
@ -82,3 +86,5 @@ namespace YAML
|
|||||||
return _Comment(content);
|
return _Comment(content);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // EMITTERMANIP_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef EXCEPTIONS_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define EXCEPTIONS_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include "mark.h"
|
#include "mark.h"
|
||||||
#include <exception>
|
#include <exception>
|
||||||
#include <string>
|
#include <string>
|
||||||
@ -129,3 +133,5 @@ namespace YAML
|
|||||||
: Exception(Mark::null(), msg_) {}
|
: Exception(Mark::null(), msg_) {}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // EXCEPTIONS_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef ITERATOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define ITERATOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
namespace YAML
|
namespace YAML
|
||||||
{
|
{
|
||||||
class Node;
|
class Node;
|
||||||
@ -28,3 +32,5 @@ namespace YAML
|
|||||||
IterPriv *m_pData;
|
IterPriv *m_pData;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // ITERATOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef MARK_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define MARK_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
namespace YAML
|
namespace YAML
|
||||||
{
|
{
|
||||||
struct Mark {
|
struct Mark {
|
||||||
@ -14,3 +18,5 @@ namespace YAML
|
|||||||
Mark(int pos_, int line_, int column_): pos(pos_), line(line_), column(column_) {}
|
Mark(int pos_, int line_, int column_): pos(pos_), line(line_), column(column_) {}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // MARK_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef NODE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define NODE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include "conversion.h"
|
#include "conversion.h"
|
||||||
#include "exceptions.h"
|
#include "exceptions.h"
|
||||||
#include "iterator.h"
|
#include "iterator.h"
|
||||||
@ -95,3 +99,5 @@ namespace YAML
|
|||||||
}
|
}
|
||||||
|
|
||||||
#include "nodeimpl.h"
|
#include "nodeimpl.h"
|
||||||
|
|
||||||
|
#endif // NODE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef NODEIMPL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define NODEIMPL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
namespace YAML
|
namespace YAML
|
||||||
{
|
{
|
||||||
// implementation of templated things
|
// implementation of templated things
|
||||||
@ -63,3 +67,5 @@ namespace YAML
|
|||||||
return GetValue(std::string(key));
|
return GetValue(std::string(key));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // NODEIMPL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef NONCOPYABLE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define NONCOPYABLE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
namespace YAML
|
namespace YAML
|
||||||
{
|
{
|
||||||
// this is basically boost::noncopyable
|
// this is basically boost::noncopyable
|
||||||
@ -14,3 +18,5 @@ namespace YAML
|
|||||||
const noncopyable& operator = (const noncopyable&);
|
const noncopyable& operator = (const noncopyable&);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // NONCOPYABLE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef OSTREAM_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define OSTREAM_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace YAML
|
namespace YAML
|
||||||
@ -30,3 +34,5 @@ namespace YAML
|
|||||||
ostream& operator << (ostream& out, const std::string& str);
|
ostream& operator << (ostream& out, const std::string& str);
|
||||||
ostream& operator << (ostream& out, char ch);
|
ostream& operator << (ostream& out, char ch);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // OSTREAM_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef PARSER_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define PARSER_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include <ios>
|
#include <ios>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@ -40,3 +44,5 @@ namespace YAML
|
|||||||
ParserState m_state;
|
ParserState m_state;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // PARSER_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef PARSERSTATE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define PARSERSTATE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
@ -18,3 +22,5 @@ namespace YAML
|
|||||||
std::string TranslateTag(const std::string& handle) const;
|
std::string TranslateTag(const std::string& handle) const;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // PARSERSTATE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef STLEMITTER_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define STLEMITTER_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <map>
|
#include <map>
|
||||||
@ -36,3 +40,5 @@ namespace YAML
|
|||||||
return emitter;
|
return emitter;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // STLEMITTER_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef YAML_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define YAML_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include "crt.h"
|
#include "crt.h"
|
||||||
#include "parser.h"
|
#include "parser.h"
|
||||||
#include "node.h"
|
#include "node.h"
|
||||||
@ -7,3 +11,5 @@
|
|||||||
#include "emitter.h"
|
#include "emitter.h"
|
||||||
#include "stlemitter.h"
|
#include "stlemitter.h"
|
||||||
#include "exceptions.h"
|
#include "exceptions.h"
|
||||||
|
|
||||||
|
#endif // YAML_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef ALIASCONTENT_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define ALIASCONTENT_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include "content.h"
|
#include "content.h"
|
||||||
|
|
||||||
namespace YAML
|
namespace YAML
|
||||||
@ -33,3 +37,5 @@ namespace YAML
|
|||||||
Content* m_pRef;
|
Content* m_pRef;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // ALIASCONTENT_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef CONTENT_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define CONTENT_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include "parserstate.h"
|
#include "parserstate.h"
|
||||||
@ -47,3 +51,5 @@ namespace YAML
|
|||||||
protected:
|
protected:
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // CONTENT_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef EMITTERSTATE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define EMITTERSTATE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include "setting.h"
|
#include "setting.h"
|
||||||
#include "emittermanip.h"
|
#include "emittermanip.h"
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
@ -193,3 +197,5 @@ namespace YAML
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // EMITTERSTATE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef EMITTERUTILS_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define EMITTERUTILS_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include "ostream.h"
|
#include "ostream.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
@ -16,3 +20,5 @@ namespace YAML
|
|||||||
bool WriteAnchor(ostream& out, const std::string& str);
|
bool WriteAnchor(ostream& out, const std::string& str);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // EMITTERUTILS_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef EXP_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define EXP_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include "regex.h"
|
#include "regex.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <ios>
|
#include <ios>
|
||||||
@ -72,3 +76,5 @@ namespace YAML
|
|||||||
const char FoldedScalar = '>';
|
const char FoldedScalar = '>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // EXP_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef INDENTATION_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define INDENTATION_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include "ostream.h"
|
#include "ostream.h"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
@ -28,3 +32,5 @@ namespace YAML
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#endif // INDENTATION_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef ITERPRIV_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define ITERPRIV_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include "ltnode.h"
|
#include "ltnode.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <map>
|
#include <map>
|
||||||
@ -23,3 +27,5 @@ namespace YAML
|
|||||||
std::map <Node *, Node *, ltnode>::const_iterator mapIter;
|
std::map <Node *, Node *, ltnode>::const_iterator mapIter;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // ITERPRIV_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef LTNODE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define LTNODE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
namespace YAML
|
namespace YAML
|
||||||
{
|
{
|
||||||
class Node;
|
class Node;
|
||||||
@ -8,3 +12,5 @@ namespace YAML
|
|||||||
bool operator()(const Node *pNode1, const Node *pNode2) const;
|
bool operator()(const Node *pNode1, const Node *pNode2) const;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // LTNODE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef MAP_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define MAP_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include "content.h"
|
#include "content.h"
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
@ -36,3 +40,5 @@ namespace YAML
|
|||||||
node_map m_data;
|
node_map m_data;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // MAP_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef REGEX_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define REGEX_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
@ -57,3 +61,5 @@ namespace YAML
|
|||||||
}
|
}
|
||||||
|
|
||||||
#include "regeximpl.h"
|
#include "regeximpl.h"
|
||||||
|
|
||||||
|
#endif // REGEX_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef REGEXIMPL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define REGEXIMPL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
#include "stringsource.h"
|
#include "stringsource.h"
|
||||||
#include "streamcharsource.h"
|
#include "streamcharsource.h"
|
||||||
@ -170,3 +174,5 @@ namespace YAML
|
|||||||
return offset;
|
return offset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // REGEXIMPL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef SCALAR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define SCALAR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include "content.h"
|
#include "content.h"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
@ -32,3 +36,5 @@ namespace YAML
|
|||||||
std::string m_data;
|
std::string m_data;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // SCALAR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef SCANNER_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define SCANNER_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include <ios>
|
#include <ios>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <queue>
|
#include <queue>
|
||||||
@ -94,3 +98,5 @@ namespace YAML
|
|||||||
std::map <std::string, const Node *> m_anchors;
|
std::map <std::string, const Node *> m_anchors;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // SCANNER_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef SCANSCALAR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define SCANSCALAR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include "regex.h"
|
#include "regex.h"
|
||||||
#include "stream.h"
|
#include "stream.h"
|
||||||
@ -33,3 +37,5 @@ namespace YAML
|
|||||||
|
|
||||||
std::string ScanScalar(Stream& INPUT, ScanScalarParams& info);
|
std::string ScanScalar(Stream& INPUT, ScanScalarParams& info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // SCANSCALAR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef SEQUENCE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define SEQUENCE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include "content.h"
|
#include "content.h"
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
@ -39,3 +43,5 @@ namespace YAML
|
|||||||
std::vector <Node *> m_data;
|
std::vector <Node *> m_data;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // SEQUENCE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef SETTING_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define SETTING_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "noncopyable.h"
|
#include "noncopyable.h"
|
||||||
@ -95,3 +99,5 @@ namespace YAML
|
|||||||
setting_changes m_settingChanges;
|
setting_changes m_settingChanges;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // SETTING_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef STREAM_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define STREAM_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include "noncopyable.h"
|
#include "noncopyable.h"
|
||||||
#include "mark.h"
|
#include "mark.h"
|
||||||
#include <deque>
|
#include <deque>
|
||||||
@ -72,3 +76,5 @@ namespace YAML
|
|||||||
return _ReadAheadTo(i);
|
return _ReadAheadTo(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // STREAM_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef STREAMCHARSOURCE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define STREAMCHARSOURCE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include "noncopyable.h"
|
#include "noncopyable.h"
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
|
||||||
@ -38,3 +42,5 @@ namespace YAML
|
|||||||
return source;
|
return source;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // STREAMCHARSOURCE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef STRINGSOURCE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define STRINGSOURCE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
|
||||||
namespace YAML
|
namespace YAML
|
||||||
@ -32,3 +36,5 @@ namespace YAML
|
|||||||
std::size_t m_offset;
|
std::size_t m_offset;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // STRINGSOURCE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef TOKEN_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define TOKEN_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
|
|
||||||
#include "mark.h"
|
#include "mark.h"
|
||||||
#include <ios>
|
#include <ios>
|
||||||
#include <string>
|
#include <string>
|
||||||
@ -67,3 +71,5 @@ namespace YAML
|
|||||||
std::vector <std::string> params;
|
std::vector <std::string> params;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // TOKEN_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#ifndef TESTS_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
#define TESTS_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace YAML { class Emitter; }
|
namespace YAML { class Emitter; }
|
||||||
@ -76,3 +81,5 @@ namespace Test {
|
|||||||
void UnexpectedValue(YAML::Emitter& out, std::string& desiredError);
|
void UnexpectedValue(YAML::Emitter& out, std::string& desiredError);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // TESTS_H_62B23520_7C8E_11DE_8A39_0800200C9A66
|
||||||
|
Loading…
Reference in New Issue
Block a user