This commit is contained in:
beder
2008-07-31 19:41:11 +00:00
parent 89ed418b83
commit 2601f5fd49
9 changed files with 37 additions and 0 deletions

View File

@@ -13,6 +13,8 @@ namespace YAML
class Content;
class Scanner;
enum CONTENT_TYPE { CT_NONE, CT_SCALAR, CT_SEQUENCE, CT_MAP };
class Node
{
public:
@@ -23,6 +25,8 @@ namespace YAML
void Parse(Scanner *pScanner, const ParserState& state);
void Write(std::ostream& out, int indent, bool startedLine, bool onlyOneCharOnLine) const;
CONTENT_TYPE GetType() const;
// accessors
Iterator begin() const;
Iterator end() const;