ROSE 0.11.145.192
|
Iterator over YAML nodes.
Definition at line 211 of file Sawyer/Yaml.h.
#include <Sawyer/Yaml.h>
Public Member Functions | |
Iterator () | |
Default constructor. | |
Iterator (const Iterator &) | |
Copy constructor. | |
Iterator & | operator= (const Iterator &) |
Assignment operator. | |
~Iterator () | |
Destructor. | |
std::pair< const std::string &, Node & > | operator* () |
Get node of iterator. | |
std::unique_ptr< std::pair< const std::string &, Node & > > | operator-> () |
Dereference. | |
bool | operator== (const Iterator &) |
Check if this iterator is equal to another iterator. | |
bool | operator!= (const Iterator &) |
Check if this iterator is not equal to another iterator. | |
Iterator & | operator++ () |
Increment operator. | |
Iterator | operator++ (int) |
Increment operator. | |
Iterator & | operator-- () |
Decrement operator. | |
Iterator | operator-- (int) |
Decrement operator. | |
std::pair< const std::string &, Node & > Sawyer::Yaml::Iterator::operator* | ( | ) |
Get node of iterator.
First pair item is the key of map value, empty if type is sequence.