mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 11:48:36 +12: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:
parent
2ccbfeff47
commit
2be40919de
8 changed files with 81 additions and 25 deletions
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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue