NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
Constant iterator class. More...
#include <Yaml.hpp>
Public Member Functions | |
ConstIterator () | |
Default constructor. More... | |
ConstIterator (const ConstIterator &it) | |
Copy constructor. More... | |
ConstIterator & | operator= (const ConstIterator &it) |
Assignment operator. More... | |
~ConstIterator () | |
Destructor. More... | |
std::pair< const std::string &, const Node & > | operator* () |
Get node of iterator. First pair item is the key of map value, empty if type is sequence. More... | |
Yaml::ConstIterator | operator++ (int) |
Post-increment operator. More... | |
Yaml::ConstIterator | operator-- (int) |
Post-decrement operator. More... | |
Friends | |
class | Node |
bool | operator== (const ConstIterator &lhs, const ConstIterator &rhs) |
Check if iterator is equal to other iterator. More... | |
bool | operator!= (const ConstIterator &lhs, const ConstIterator &rhs) |
Check if iterator is not equal to other iterator. More... | |
Constant iterator class.
|
default |
Default constructor.
Yaml::ConstIterator::ConstIterator | ( | const ConstIterator & | it | ) |
Copy constructor.
Yaml::ConstIterator::~ConstIterator | ( | ) |
Destructor.
std::pair< const std::string &, const Node & > Yaml::ConstIterator::operator* | ( | ) |
Get node of iterator. First pair item is the key of map value, empty if type is sequence.
References Yaml::Node::Clear(), and Yaml::MapConstIteratorImp::m_Iterator.
Yaml::ConstIterator Yaml::ConstIterator::operator++ | ( | int | ) |
Post-increment operator.
Yaml::ConstIterator Yaml::ConstIterator::operator-- | ( | int | ) |
Post-decrement operator.
ConstIterator & Yaml::ConstIterator::operator= | ( | const ConstIterator & | it | ) |
Assignment operator.
References Yaml::SequenceConstIteratorImp::m_Iterator, and Yaml::MapConstIteratorImp::m_Iterator.
|
friend |
|
friend |
Check if iterator is not equal to other iterator.
|
friend |
Check if iterator is equal to other iterator.