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