mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
29 lines
377 B
C++
29 lines
377 B
C++
#include "document.h"
|
|
#include "node.h"
|
|
|
|
namespace YAML
|
|
{
|
|
Document::Document(): m_pRoot(0)
|
|
{
|
|
}
|
|
|
|
Document::Document(const std::string& fileName): m_pRoot(0)
|
|
{
|
|
Load(fileName);
|
|
}
|
|
|
|
Document::~Document()
|
|
{
|
|
Clear();
|
|
}
|
|
|
|
void Document::Clear()
|
|
{
|
|
delete m_pRoot;
|
|
m_pRoot = 0;
|
|
}
|
|
|
|
void Document::Load(const std::string& fileName)
|
|
{
|
|
}
|
|
}
|