ROSE  0.11.96.11
Public Member Functions | List of all members
Rose::Yaml::ConstIterator Class Reference

Description

Iterator over constant YAML nodes.

Definition at line 271 of file Yaml.h.

#include <Yaml.h>

Public Member Functions

 ConstIterator ()
 Default constructor.
 
 ConstIterator (const ConstIterator &)
 Copy constructor.
 
ConstIteratoroperator= (const ConstIterator &)
 Assignment operator.
 
 ~ConstIterator ()
 Destructor.
 
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.
 
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.
 
ConstIteratoroperator++ ()
 Increment operator.
 
ConstIterator operator++ (int)
 Increment operator.
 
ConstIteratoroperator-- ()
 Decrement operator.
 
ConstIterator operator-- (int)
 Decrement operator.
 

Member Function Documentation

◆ operator*()

std::pair<const std::string&, const Node&> Rose::Yaml::ConstIterator::operator* ( )

Get node of iterator.

First pair item is the key of map value, empty if type is sequence.


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