Iterates over the sub tree of fields in depth-first search order.
Definition at line 114 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 128 of file RField.hxx.
Definition at line 125 of file RField.hxx.
using ROOT::Experimental::Detail::RFieldBase::RSchemaIterator::iterator_category = std::forward_iterator_tag |
Definition at line 126 of file RField.hxx.
Definition at line 129 of file RField.hxx.
Definition at line 130 of file RField.hxx.
Definition at line 127 of file RField.hxx.
|
inline |
Definition at line 132 of file RField.hxx.
|
inline |
Definition at line 133 of file RField.hxx.
|
inline |
Definition at line 134 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 318 of file RField.cxx.
|
inline |
Definition at line 144 of file RField.hxx.
|
inline |
Definition at line 141 of file RField.hxx.
|
inline |
Definition at line 140 of file RField.hxx.
Definition at line 139 of file RField.hxx.
|
inline |
Definition at line 142 of file RField.hxx.
|
inline |
Definition at line 143 of file RField.hxx.
|
private |
The stack of nodes visited when walking down the tree of fields.
Definition at line 123 of file RField.hxx.