Iterates over the sub tree of fields in depth-first search order.
Definition at line 497 of file RField.hxx.
Classes | |
struct | Position |
Public Types | |
using | difference_type = std::ptrdiff_t |
using | iterator = RSchemaIteratorTemplate< IsConstT > |
using | iterator_category = std::forward_iterator_tag |
using | pointer = std::conditional_t< IsConstT, const RFieldBase *, RFieldBase * > |
using | reference = std::conditional_t< IsConstT, const RFieldBase &, RFieldBase & > |
using | value_type = std::conditional_t< IsConstT, const RFieldBase, RFieldBase > |
Public Member Functions | |
RSchemaIteratorTemplate () | |
RSchemaIteratorTemplate (pointer val, int idxInParent) | |
~RSchemaIteratorTemplate () | |
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::RSchemaIteratorTemplate< IsConstT >::difference_type = std::ptrdiff_t |
Definition at line 511 of file RField.hxx.
using ROOT::Experimental::Detail::RFieldBase::RSchemaIteratorTemplate< IsConstT >::iterator = RSchemaIteratorTemplate<IsConstT> |
Definition at line 509 of file RField.hxx.
using ROOT::Experimental::Detail::RFieldBase::RSchemaIteratorTemplate< IsConstT >::iterator_category = std::forward_iterator_tag |
Definition at line 510 of file RField.hxx.
using ROOT::Experimental::Detail::RFieldBase::RSchemaIteratorTemplate< IsConstT >::pointer = std::conditional_t<IsConstT, const RFieldBase *, RFieldBase *> |
Definition at line 513 of file RField.hxx.
using ROOT::Experimental::Detail::RFieldBase::RSchemaIteratorTemplate< IsConstT >::reference = std::conditional_t<IsConstT, const RFieldBase &, RFieldBase &> |
Definition at line 514 of file RField.hxx.
using ROOT::Experimental::Detail::RFieldBase::RSchemaIteratorTemplate< IsConstT >::value_type = std::conditional_t<IsConstT, const RFieldBase, RFieldBase> |
Definition at line 512 of file RField.hxx.
|
inline |
Definition at line 516 of file RField.hxx.
|
inline |
Definition at line 517 of file RField.hxx.
|
inline |
Definition at line 518 of file RField.hxx.
|
inline |
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 521 of file RField.hxx.
|
inline |
Definition at line 548 of file RField.hxx.
|
inline |
Definition at line 545 of file RField.hxx.
|
inline |
Definition at line 544 of file RField.hxx.
|
inline |
Definition at line 543 of file RField.hxx.
|
inline |
Definition at line 546 of file RField.hxx.
|
inline |
Definition at line 547 of file RField.hxx.
|
private |
The stack of nodes visited when walking down the tree of fields.
Definition at line 507 of file RField.hxx.