Logo ROOT   6.21/01
Reference Guide
ROOT::Experimental::RPrepareVisitor Class Reference


Visitor used for a pre-processing run to collect information needed by another visitor class.

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

Definition at line 75 of file RFieldVisitor.hxx.

Public Member Functions

 RPrepareVisitor ()=default
 
unsigned int GetDeepestLevel () const
 
unsigned int GetNumFields () const
 
void VisitField (const Detail::RFieldBase &field) final
 
void VisitRootField (const RFieldRoot &field) final
 
- Public Member Functions inherited from ROOT::Experimental::Detail::RFieldVisitor
virtual void VisitArrayField (const RFieldArray &field)
 
virtual void VisitBoolField (const RField< bool > &field)
 
virtual void VisitClassField (const RFieldClass &field)
 
virtual void VisitClusterSizeField (const RField< ClusterSize_t > &field)
 
virtual void VisitDoubleField (const RField< double > &field)
 
virtual void VisitFloatField (const RField< float > &field)
 
virtual void VisitIntField (const RField< int > &field)
 
virtual void VisitStringField (const RField< std::string > &field)
 
virtual void VisitUInt32Field (const RField< std::uint32_t > &field)
 
virtual void VisitUInt64Field (const RField< std::uint64_t > &field)
 
virtual void VisitUInt8Field (const RField< std::uint8_t > &field)
 
virtual void VisitVectorBoolField (const RField< std::vector< bool >> &field)
 
virtual void VisitVectorField (const RFieldVector &field)
 

Private Attributes

unsigned int fDeepestLevel = 1
 
unsigned int fNumFields = 1
 

#include <ROOT/RFieldVisitor.hxx>

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

Constructor & Destructor Documentation

◆ RPrepareVisitor()

ROOT::Experimental::RPrepareVisitor::RPrepareVisitor ( )
default

Member Function Documentation

◆ GetDeepestLevel()

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

Definition at line 85 of file RFieldVisitor.hxx.

◆ GetNumFields()

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

Definition at line 86 of file RFieldVisitor.hxx.

◆ VisitField()

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

Implements ROOT::Experimental::Detail::RFieldVisitor.

Definition at line 33 of file RFieldVisitor.cxx.

◆ VisitRootField()

void ROOT::Experimental::RPrepareVisitor::VisitRootField ( const RFieldRoot field)
finalvirtual

Reimplemented from ROOT::Experimental::Detail::RFieldVisitor.

Definition at line 45 of file RFieldVisitor.cxx.

Member Data Documentation

◆ fDeepestLevel

unsigned int ROOT::Experimental::RPrepareVisitor::fDeepestLevel = 1
private

Definition at line 77 of file RFieldVisitor.hxx.

◆ fNumFields

unsigned int ROOT::Experimental::RPrepareVisitor::fNumFields = 1
private

Definition at line 78 of file RFieldVisitor.hxx.


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