mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
This commit is contained in:
parent
bb55b0ba91
commit
110a7f06a8
6 changed files with 93 additions and 0 deletions
29
document.cpp
Normal file
29
document.cpp
Normal file
|
@ -0,0 +1,29 @@
|
|||
#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)
|
||||
{
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue