yaml-cpp/document.h

26 lines
372 B
C
Raw Normal View History

2008-06-26 02:45:08 +04:00
#pragma once
#include <ios>
#include "parserstate.h"
2008-06-26 02:45:08 +04:00
namespace YAML
{
class Node;
class Scanner;
2008-06-26 02:45:08 +04:00
class Document
{
public:
Document();
~Document();
void Clear();
void Parse(Scanner *pScanner, const ParserState& state);
friend std::ostream& operator << (std::ostream& out, const Document& doc);
2008-06-26 02:45:08 +04:00
private:
Node *m_pRoot;
};
}