Added an iterator class that can iterate through both sequence and map nodes.

This commit is contained in:
beder
2008-07-02 01:22:39 +00:00
parent 81ff4946ae
commit b4b287c4e9
16 changed files with 393 additions and 105 deletions

2
map.h
View File

@@ -14,6 +14,8 @@ namespace YAML
virtual ~Map();
void Clear();
virtual bool GetBegin(std::map <Node *, Node *>::const_iterator& it);
virtual bool GetEnd(std::map <Node *, Node *>::const_iterator& it);
virtual void Parse(Scanner *pScanner, const ParserState& state);
virtual void Write(std::ostream& out, int indent);