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:

Constructor & Destructor Documentation

◆ RPrepareVisitor()

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

Definition at line 61 of file RFieldVisitor.hxx.

Member Function Documentation

◆ GetDeepestLevel()

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

Definition at line 64 of file RFieldVisitor.hxx.

◆ GetNumFields()

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

Definition at line 65 of file RFieldVisitor.hxx.

◆ VisitField()

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

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

Definition at line 90 of file RFieldVisitor.cxx.

◆ VisitRootField()

void ROOT::Experimental::RPrepareVisitor::VisitRootField ( const RFieldRoot ,

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

Definition at line 63 of file RFieldVisitor.hxx.

Member Data Documentation

◆ fDeepestLevel

int ROOT::Experimental::RPrepareVisitor::fDeepestLevel

Definition at line 58 of file RFieldVisitor.hxx.

◆ fNumFields

int ROOT::Experimental::RPrepareVisitor::fNumFields

Definition at line 59 of file RFieldVisitor.hxx.

Libraries for ROOT::Experimental::RPrepareVisitor:

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