Iterates over the subtree of fields in depth-first search order.
Definition at line 633 of file RFieldBase.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/RFieldBase.hxx>
using ROOT::RFieldBase::RSchemaIteratorTemplate< IsConstT >::difference_type = std::ptrdiff_t |
Definition at line 648 of file RFieldBase.hxx.
using ROOT::RFieldBase::RSchemaIteratorTemplate< IsConstT >::iterator = RSchemaIteratorTemplate<IsConstT> |
Definition at line 646 of file RFieldBase.hxx.
using ROOT::RFieldBase::RSchemaIteratorTemplate< IsConstT >::iterator_category = std::forward_iterator_tag |
Definition at line 647 of file RFieldBase.hxx.
using ROOT::RFieldBase::RSchemaIteratorTemplate< IsConstT >::pointer = std::conditional_t<IsConstT, const RFieldBase *, RFieldBase *> |
Definition at line 650 of file RFieldBase.hxx.
using ROOT::RFieldBase::RSchemaIteratorTemplate< IsConstT >::reference = std::conditional_t<IsConstT, const RFieldBase &, RFieldBase &> |
Definition at line 651 of file RFieldBase.hxx.
using ROOT::RFieldBase::RSchemaIteratorTemplate< IsConstT >::value_type = std::conditional_t<IsConstT, const RFieldBase, RFieldBase> |
Definition at line 649 of file RFieldBase.hxx.
|
inline |
Definition at line 653 of file RFieldBase.hxx.
|
inline |
Definition at line 654 of file RFieldBase.hxx.
|
inline |
Definition at line 655 of file RFieldBase.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 658 of file RFieldBase.hxx.
|
inline |
Definition at line 694 of file RFieldBase.hxx.
|
inline |
Definition at line 691 of file RFieldBase.hxx.
|
inline |
Definition at line 686 of file RFieldBase.hxx.
|
inline |
Definition at line 680 of file RFieldBase.hxx.
|
inline |
Definition at line 692 of file RFieldBase.hxx.
|
inline |
Definition at line 693 of file RFieldBase.hxx.
|
private |
The stack of nodes visited when walking down the tree of fields.
Definition at line 643 of file RFieldBase.hxx.