Logo ROOT   6.18/05
Reference Guide
List of all members | Classes | Public Member Functions | Private Types | Private Attributes | List of all members
ROOT::Experimental::Detail::RFieldBase::RIterator Class Reference

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

Definition at line 103 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

Definition at line 105 of file RField.hxx.

Constructor & Destructor Documentation

◆ RIterator() [1/2]

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

Definition at line 115 of file RField.hxx.

◆ RIterator() [2/2]

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

Definition at line 116 of file RField.hxx.

◆ ~RIterator()

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

Definition at line 117 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 177 of file RField.cxx.

◆ operator!=()

Definition at line 127 of file RField.hxx.

◆ operator*()

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

Definition at line 124 of file RField.hxx.

◆ operator++() [1/2]

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

Definition at line 123 of file RField.hxx.

◆ operator++() [2/2]

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

Definition at line 122 of file RField.hxx.

◆ operator->()

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

Definition at line 125 of file RField.hxx.

◆ operator==()

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

Definition at line 126 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 113 of file RField.hxx.

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

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