Logo ROOT  
Reference Guide
ROOT::Experimental::Detail::RFieldBase::RIterator Class Reference

Iterates over the sub fields in depth-first search order.

Definition at line 153 of file RField.hxx.

Classes

struct  Position
 

Public Member Functions

 RIterator ()
 
 RIterator (pointer val, int idxInParent)
 
 ~RIterator ()
 
void Advance ()
 Given that the iterator points to a valid field which is not the end iterator, go to the next field in depth-first search order. More...
 
bool operator!= (const iterator &rh) const
 
reference operator* () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
pointer operator-> () const
 
bool operator== (const iterator &rh) const
 

Private Types

using iterator = RIterator
 

Private Attributes

std::vector< PositionfStack
 The stack of nodes visited when walking down the tree of fields. More...
 

#include <ROOT/RField.hxx>

Inheritance diagram for ROOT::Experimental::Detail::RFieldBase::RIterator:
[legend]

Member Typedef Documentation

◆ iterator

Constructor & Destructor Documentation

◆ RIterator() [1/2]

ROOT::Experimental::Detail::RFieldBase::RIterator::RIterator ( )
inline

Definition at line 165 of file RField.hxx.

◆ RIterator() [2/2]

ROOT::Experimental::Detail::RFieldBase::RIterator::RIterator ( pointer  val,
int  idxInParent 
)
inline

Definition at line 166 of file RField.hxx.

◆ ~RIterator()

ROOT::Experimental::Detail::RFieldBase::RIterator::~RIterator ( )
inline

Definition at line 167 of file RField.hxx.

Member Function Documentation

◆ Advance()

void ROOT::Experimental::Detail::RFieldBase::RIterator::Advance ( )

Given that the iterator points to a valid field which is not the end iterator, go to the next field in depth-first search order.

Definition at line 244 of file RField.cxx.

◆ operator!=()

Definition at line 177 of file RField.hxx.

◆ operator*()

reference ROOT::Experimental::Detail::RFieldBase::RIterator::operator* ( ) const
inline

Definition at line 174 of file RField.hxx.

◆ operator++() [1/2]

iterator & ROOT::Experimental::Detail::RFieldBase::RIterator::operator++ ( )
inline

Definition at line 173 of file RField.hxx.

◆ operator++() [2/2]

iterator ROOT::Experimental::Detail::RFieldBase::RIterator::operator++ ( int  )
inline

Definition at line 172 of file RField.hxx.

◆ operator->()

pointer ROOT::Experimental::Detail::RFieldBase::RIterator::operator-> ( ) const
inline

Definition at line 175 of file RField.hxx.

◆ operator==()

bool ROOT::Experimental::Detail::RFieldBase::RIterator::operator== ( const iterator rh) const
inline

Definition at line 176 of file RField.hxx.

Member Data Documentation

◆ fStack

std::vector<Position> ROOT::Experimental::Detail::RFieldBase::RIterator::fStack
private

The stack of nodes visited when walking down the tree of fields.

Definition at line 163 of file RField.hxx.

Libraries for ROOT::Experimental::Detail::RFieldBase::RIterator:
[legend]

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