Iterates over the sub tree of fields in depth-first search order.
Definition at line 166 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 180 of file RField.hxx.
Definition at line 177 of file RField.hxx.
using ROOT::Experimental::Detail::RFieldBase::RSchemaIterator::iterator_category = std::forward_iterator_tag |
Definition at line 178 of file RField.hxx.
Definition at line 181 of file RField.hxx.
Definition at line 182 of file RField.hxx.
Definition at line 179 of file RField.hxx.
|
inline |
Definition at line 184 of file RField.hxx.
|
inline |
Definition at line 185 of file RField.hxx.
|
inline |
Definition at line 186 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 467 of file RField.cxx.
|
inline |
Definition at line 196 of file RField.hxx.
|
inline |
Definition at line 193 of file RField.hxx.
|
inline |
Definition at line 192 of file RField.hxx.
Definition at line 191 of file RField.hxx.
|
inline |
Definition at line 194 of file RField.hxx.
|
inline |
Definition at line 195 of file RField.hxx.
|
private |
The stack of nodes visited when walking down the tree of fields.
Definition at line 175 of file RField.hxx.