ROSE
0.11.145.0
|
Iterator over constant YAML nodes.
Definition at line 268 of file util/Sawyer/Yaml.h.
#include <util/Sawyer/Yaml.h>
Public Member Functions | |
ConstIterator () | |
Default constructor. More... | |
ConstIterator (const ConstIterator &) | |
Copy constructor. More... | |
ConstIterator & | operator= (const ConstIterator &) |
Assignment operator. More... | |
~ConstIterator () | |
Destructor. More... | |
std::pair< const std::string &, const Node & > | operator* () |
Get node of iterator. More... | |
std::unique_ptr< std::pair< const std::string &, const Node & > > | operator-> () |
Dereference. More... | |
bool | operator== (const ConstIterator &) |
Check if this iterator is equal to another iterator. More... | |
bool | operator!= (const ConstIterator &) |
Check if this iterator is not equal to another iterator. More... | |
ConstIterator & | operator++ () |
Increment operator. | |
ConstIterator | operator++ (int) |
Increment operator. | |
ConstIterator & | operator-- () |
Decrement operator. | |
ConstIterator | operator-- (int) |
Decrement operator. | |
Sawyer::Yaml::ConstIterator::ConstIterator | ( | ) |
Default constructor.
Sawyer::Yaml::ConstIterator::ConstIterator | ( | const ConstIterator & | ) |
Copy constructor.
Sawyer::Yaml::ConstIterator::~ConstIterator | ( | ) |
Destructor.
ConstIterator& Sawyer::Yaml::ConstIterator::operator= | ( | const ConstIterator & | ) |
Assignment 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.
std::unique_ptr<std::pair<const std::string&, const Node&> > Sawyer::Yaml::ConstIterator::operator-> | ( | ) |
Dereference.
bool Sawyer::Yaml::ConstIterator::operator== | ( | const ConstIterator & | ) |
Check if this iterator is equal to another iterator.
bool Sawyer::Yaml::ConstIterator::operator!= | ( | const ConstIterator & | ) |
Check if this iterator is not equal to another iterator.