mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 20:51:16 +00:00
Specialized the overloaded [] operator for int/unsigned, and added a size() function, so that you can iterate through a sequence node like a vector.
This commit is contained in:
4
map.h
4
map.h
@@ -14,8 +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 bool GetBegin(std::map <Node *, Node *>::const_iterator& it) const;
|
||||
virtual bool GetEnd(std::map <Node *, Node *>::const_iterator& it) const;
|
||||
virtual void Parse(Scanner *pScanner, const ParserState& state);
|
||||
virtual void Write(std::ostream& out, int indent);
|
||||
|
||||
|
Reference in New Issue
Block a user