Logo ROOT  
Reference Guide
ROOT::Experimental::RPrepareVisitor Class Reference

Visitor used for a prepare run to collect information needed by another visitor class.

Currently used for RPrintVisitor in RNTupleReader::Print() to collect information about levels, maximal depth etc.

Definition at line 56 of file RFieldVisitor.hxx.

Public Member Functions

 RPrepareVisitor (int deepestLevel=0, int numFields=0)
 
int GetDeepestLevel () const
 
int GetNumFields () const
 
void VisitField (const Detail::RFieldBase &field, int level) final
 
void VisitRootField (const RFieldRoot &, int) final
 
virtual void VisitField (const Detail::RFieldBase &field, int level)=0
 
virtual void VisitRootField (const RFieldRoot &field, int level)=0
 

Private Attributes

int fDeepestLevel
 
int fNumFields
 

#include <ROOT/RFieldVisitor.hxx>

Inheritance diagram for ROOT::Experimental::RPrepareVisitor:
[legend]

Constructor & Destructor Documentation

◆ RPrepareVisitor()

ROOT::Experimental::RPrepareVisitor::RPrepareVisitor ( int  deepestLevel = 0,
int  numFields = 0 
)
inline

Definition at line 61 of file RFieldVisitor.hxx.

Member Function Documentation

◆ GetDeepestLevel()

int ROOT::Experimental::RPrepareVisitor::GetDeepestLevel ( ) const
inline

Definition at line 64 of file RFieldVisitor.hxx.

◆ GetNumFields()

int ROOT::Experimental::RPrepareVisitor::GetNumFields ( ) const
inline

Definition at line 65 of file RFieldVisitor.hxx.

◆ VisitField()

void ROOT::Experimental::RPrepareVisitor::VisitField ( const Detail::RFieldBase field,
int  level 
)
finalvirtual

Implements ROOT::Experimental::Detail::RNTupleVisitor.

Definition at line 90 of file RFieldVisitor.cxx.

◆ VisitRootField()

void ROOT::Experimental::RPrepareVisitor::VisitRootField ( const RFieldRoot ,
int   
)
inlinefinalvirtual

Implements ROOT::Experimental::Detail::RNTupleVisitor.

Definition at line 63 of file RFieldVisitor.hxx.

Member Data Documentation

◆ fDeepestLevel

int ROOT::Experimental::RPrepareVisitor::fDeepestLevel
private

Definition at line 58 of file RFieldVisitor.hxx.

◆ fNumFields

int ROOT::Experimental::RPrepareVisitor::fNumFields
private

Definition at line 59 of file RFieldVisitor.hxx.

Libraries for ROOT::Experimental::RPrepareVisitor:
[legend]

The documentation for this class was generated from the following files: