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

Description

Iterator over YAML nodes.

Definition at line 214 of file Yaml.h.

#include <Yaml.h>

Public Member Functions

 Iterator ()
 Default constructor.
 
 Iterator (const Iterator &)
 Copy constructor.
 
Iteratoroperator= (const Iterator &)
 Assignment operator.
 
 ~Iterator ()
 Destructor.
 
std::pair< const std::string &, Node & > operator* ()
 Get node of iterator. More...
 
std::unique_ptr< std::pair< const std::string &, Node & > > operator-> ()
 Dereference.
 
bool operator== (const Iterator &)
 Check if this iterator is equal to another iterator.
 
bool operator!= (const Iterator &)
 Check if this iterator is not equal to another iterator.
 
Iteratoroperator++ ()
 Increment operator.
 
Iterator operator++ (int)
 Increment operator.
 
Iteratoroperator-- ()
 Decrement operator.
 
Iterator operator-- (int)
 Decrement operator.
 

Member Function Documentation

◆ operator*()

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