Iterates over the sub tree of fields in depth-first search order.
Definition at line 130 of file RField.hxx.
Classes | |
struct | Position |
Public Types | |
using | difference_type = std::ptrdiff_t |
using | iterator = RSchemaIterator |
using | iterator_category = std::forward_iterator_tag |
using | pointer = RFieldBase * |
using | reference = RFieldBase & |
using | value_type = RFieldBase |
Public Member Functions | |
RSchemaIterator () | |
RSchemaIterator (pointer val, int idxInParent) | |
~RSchemaIterator () | |
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. | |
bool | operator!= (const iterator &rh) const |
reference | operator* () const |
iterator & | operator++ () |
iterator | operator++ (int) |
pointer | operator-> () const |
bool | operator== (const iterator &rh) const |
Private Attributes | |
std::vector< Position > | fStack |
The stack of nodes visited when walking down the tree of fields. | |
#include <ROOT/RField.hxx>
using ROOT::Experimental::Detail::RFieldBase::RSchemaIterator::difference_type = std::ptrdiff_t |
Definition at line 144 of file RField.hxx.
Definition at line 141 of file RField.hxx.
using ROOT::Experimental::Detail::RFieldBase::RSchemaIterator::iterator_category = std::forward_iterator_tag |
Definition at line 142 of file RField.hxx.
Definition at line 145 of file RField.hxx.
Definition at line 146 of file RField.hxx.
Definition at line 143 of file RField.hxx.
|
inline |
Definition at line 148 of file RField.hxx.
|
inline |
Definition at line 149 of file RField.hxx.
|
inline |
Definition at line 150 of file RField.hxx.
void ROOT::Experimental::Detail::RFieldBase::RSchemaIterator::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 386 of file RField.cxx.
|
inline |
Definition at line 160 of file RField.hxx.
|
inline |
Definition at line 157 of file RField.hxx.
|
inline |
Definition at line 156 of file RField.hxx.
Definition at line 155 of file RField.hxx.
|
inline |
Definition at line 158 of file RField.hxx.
|
inline |
Definition at line 159 of file RField.hxx.
|
private |
The stack of nodes visited when walking down the tree of fields.
Definition at line 139 of file RField.hxx.