Logo ROOT  
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 81 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 VisitFieldZero (const RFieldZero &field) final
 
- Public Member Functions inherited from ROOT::Experimental::Detail::RFieldVisitor
virtual void VisitArrayField (const RArrayField &field)
 
virtual void VisitBoolField (const RField< bool > &field)
 
virtual void VisitCharField (const RField< char > &field)
 
virtual void VisitClassField (const RClassField &field)
 
virtual void VisitClusterSizeField (const RField< ClusterSize_t > &field)
 
virtual void VisitDoubleField (const RField< double > &field)
 
virtual void VisitField (const Detail::RFieldBase &field)=0
 
virtual void VisitFieldZero (const RFieldZero &field)
 
virtual void VisitFloatField (const RField< float > &field)
 
virtual void VisitInt16Field (const RField< std::int16_t > &field)
 
virtual void VisitInt64Field (const RField< std::int64_t > &field)
 
virtual void VisitInt8Field (const RField< std::int8_t > &field)
 
virtual void VisitIntField (const RField< int > &field)
 
virtual void VisitRecordField (const RRecordField &field)
 
virtual void VisitStringField (const RField< std::string > &field)
 
virtual void VisitUInt16Field (const RField< std::uint16_t > &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 RVectorField &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 91 of file RFieldVisitor.hxx.

◆ GetNumFields()

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

Definition at line 92 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.

◆ VisitFieldZero()

void ROOT::Experimental::RPrepareVisitor::VisitFieldZero ( const RFieldZero 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 83 of file RFieldVisitor.hxx.

◆ fNumFields

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

Definition at line 84 of file RFieldVisitor.hxx.


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