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

Iterator class. More...

#include <Yaml.hpp>

Public Member Functions

 Iterator ()
 Default constructor. More...
 
 Iterator (const Iterator &it)
 Copy constructor. More...
 
Iteratoroperator= (const Iterator &it)
 Assignment operator. More...
 
 ~Iterator ()
 Destructor. More...
 
std::pair< const std::string &, Node & > operator* ()
 Get node of iterator. First pair item is the key of map value, empty if type is sequence. More...
 
Yaml::Iterator operator++ (int)
 Post-increment operator. More...
 
Yaml::Iterator operator-- (int)
 Post-decrement operator. More...
 
bool operator== (const Iterator &it) const
 Check if iterator is equal to other iterator. More...
 
bool operator!= (const Iterator &it) const
 Check if iterator is not equal to other iterator. More...
 

Friends

class Node
 

Detailed Description

Iterator class.

Constructor & Destructor Documentation

◆ Iterator() [1/2]

Yaml::Iterator::Iterator ( )
default

Default constructor.

◆ Iterator() [2/2]

Yaml::Iterator::Iterator ( const Iterator it)

Copy constructor.

◆ ~Iterator()

Yaml::Iterator::~Iterator ( )

Destructor.

Member Function Documentation

◆ operator!=()

bool Yaml::Iterator::operator!= ( const Iterator it) const

Check if iterator is not equal to other iterator.

◆ operator*()

std::pair< const std::string &, Node & > Yaml::Iterator::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::MapIteratorImp::m_Iterator.

Here is the call graph for this function:

◆ operator++()

Yaml::Iterator Yaml::Iterator::operator++ ( int  )

Post-increment operator.

◆ operator--()

Yaml::Iterator Yaml::Iterator::operator-- ( int  )

Post-decrement operator.

◆ operator=()

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

◆ operator==()

bool Yaml::Iterator::operator== ( const Iterator it) const

Check if iterator is equal to other iterator.

References Yaml::SequenceIteratorImp::m_Iterator, and Yaml::MapIteratorImp::m_Iterator.

Friends And Related Function Documentation

◆ Node

friend class Node
friend

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