Logo ROOT  
Reference Guide
ROOT::Experimental::Detail::RFieldBase::RLevelInfo Struct Reference

Describes where the field is located inside the ntuple.

Definition at line 89 of file RField.hxx.

Public Member Functions

 RLevelInfo ()=default
 
 RLevelInfo (const RFieldBase *field)
 
int GetLevel (const RFieldBase *field=nullptr) const
 
int GetNumSiblings (const RFieldBase *field=nullptr) const
 
int GetOrder (const RFieldBase *field=nullptr) const
 

Private Attributes

int fLevel = 1
 Tells how deep the field is in the ntuple. Rootfield has fLevel 0, direct subfield of Rootfield has fLevel 1, etc. More...
 
int fNumSiblingFields = 1
 The field itself is also included in this number. More...
 
int fOrder = 1
 First subfield of parentfield has fOrder 1, the next fOrder 2, etc. Value set by RFieldBase::fOrder. More...
 

Constructor & Destructor Documentation

◆ RLevelInfo() [1/2]

ROOT::Experimental::Detail::RFieldBase::RLevelInfo::RLevelInfo ( )
default

◆ RLevelInfo() [2/2]

ROOT::Experimental::Detail::RFieldBase::RLevelInfo::RLevelInfo ( const RFieldBase field)
inline

Definition at line 99 of file RField.hxx.

Member Function Documentation

◆ GetLevel()

int ROOT::Experimental::Detail::RFieldBase::RLevelInfo::GetLevel ( const RFieldBase field = nullptr) const
inline

Definition at line 109 of file RField.hxx.

◆ GetNumSiblings()

int ROOT::Experimental::Detail::RFieldBase::RLevelInfo::GetNumSiblings ( const RFieldBase field = nullptr) const
inline

Definition at line 104 of file RField.hxx.

◆ GetOrder()

int ROOT::Experimental::Detail::RFieldBase::RLevelInfo::GetOrder ( const RFieldBase field = nullptr) const
inline

Definition at line 120 of file RField.hxx.

Member Data Documentation

◆ fLevel

int ROOT::Experimental::Detail::RFieldBase::RLevelInfo::fLevel = 1
private

Tells how deep the field is in the ntuple. Rootfield has fLevel 0, direct subfield of Rootfield has fLevel 1, etc.

Definition at line 92 of file RField.hxx.

◆ fNumSiblingFields

int ROOT::Experimental::Detail::RFieldBase::RLevelInfo::fNumSiblingFields = 1
private

The field itself is also included in this number.

Definition at line 96 of file RField.hxx.

◆ fOrder

int ROOT::Experimental::Detail::RFieldBase::RLevelInfo::fOrder = 1
private

First subfield of parentfield has fOrder 1, the next fOrder 2, etc. Value set by RFieldBase::fOrder.

Definition at line 94 of file RField.hxx.


The documentation for this struct was generated from the following file: