NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
Yaml::ConstIterator Class Reference

Constant iterator class. More...

#include <Yaml.hpp>

Public Member Functions

 ConstIterator ()
 Default constructor. More...
 
 ConstIterator (const ConstIterator &it)
 Copy constructor. More...
 
ConstIteratoroperator= (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...
 

Detailed Description

Constant iterator class.

Constructor & Destructor Documentation

◆ ConstIterator() [1/2]

Yaml::ConstIterator::ConstIterator ( )
default

Default constructor.

◆ ConstIterator() [2/2]

Yaml::ConstIterator::ConstIterator ( const ConstIterator it)

Copy constructor.

◆ ~ConstIterator()

Yaml::ConstIterator::~ConstIterator ( )

Destructor.

Member Function Documentation

◆ operator*()

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.

Here is the call graph for this function:

◆ operator++()

Yaml::ConstIterator Yaml::ConstIterator::operator++ ( int  )

Post-increment operator.

◆ operator--()

Yaml::ConstIterator Yaml::ConstIterator::operator-- ( int  )

Post-decrement operator.

◆ operator=()

ConstIterator & Yaml::ConstIterator::operator= ( const ConstIterator it)

Friends And Related Function Documentation

◆ Node

friend class Node
friend

◆ operator!=

bool operator!= ( const ConstIterator lhs,
const ConstIterator rhs 
)
friend

Check if iterator is not equal to other iterator.

◆ operator==

bool operator== ( const ConstIterator lhs,
const ConstIterator rhs 
)
friend

Check if iterator is equal to other iterator.


The documentation for this class was generated from the following files: