mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
25 lines
320 B
C++
25 lines
320 B
C++
#pragma once
|
|
|
|
#include <ios>
|
|
|
|
namespace YAML
|
|
{
|
|
class Node;
|
|
class Scanner;
|
|
|
|
class Document
|
|
{
|
|
public:
|
|
Document();
|
|
~Document();
|
|
|
|
void Clear();
|
|
void Parse(Scanner *pScanner);
|
|
|
|
friend std::ostream& operator << (std::ostream& out, const Document& doc);
|
|
|
|
private:
|
|
Node *m_pRoot;
|
|
};
|
|
}
|