mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
Preliminary setup - basic data structures are there.
This commit is contained in:
parent
e22eea26b1
commit
4ed7f62431
12 changed files with 186 additions and 4 deletions
13
node.h
13
node.h
|
@ -1,12 +1,15 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <ios>
|
||||
|
||||
namespace YAML
|
||||
{
|
||||
const std::string Str = "!!str";
|
||||
const std::string Seq = "!!seq";
|
||||
const std::string Map = "!!map";
|
||||
const std::string StrTag = "!!str";
|
||||
const std::string SeqTag = "!!seq";
|
||||
const std::string MapTag = "!!map";
|
||||
|
||||
class Content;
|
||||
|
||||
class Node
|
||||
{
|
||||
|
@ -14,7 +17,11 @@ namespace YAML
|
|||
Node();
|
||||
~Node();
|
||||
|
||||
void Clear();
|
||||
void Read(std::istream& in);
|
||||
|
||||
private:
|
||||
std::string m_tag;
|
||||
Content *m_pContent;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue