Logo ROOT  
Reference Guide
No Matches
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 86 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 VisitBitsetField (const RBitsetField &field)
virtual void VisitBoolField (const RField< bool > &field)
virtual void VisitCardinalityField (const RCardinalityField &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 VisitEnumField (const REnumField &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 VisitNullableField (const RNullableField &field)
virtual void VisitProxiedCollectionField (const RProxiedCollectionField &field)
virtual void VisitRecordField (const RRecordField &field)
virtual void VisitRVecField (const RRVecField &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:

Constructor & Destructor Documentation

◆ RPrepareVisitor()

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

Member Function Documentation

◆ GetDeepestLevel()

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

Definition at line 96 of file RFieldVisitor.hxx.

◆ GetNumFields()

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

Definition at line 97 of file RFieldVisitor.hxx.

◆ VisitField()

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

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

Definition at line 32 of file RFieldVisitor.cxx.

◆ VisitFieldZero()

void ROOT::Experimental::RPrepareVisitor::VisitFieldZero ( const RFieldZero field)

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

Definition at line 44 of file RFieldVisitor.cxx.

Member Data Documentation

◆ fDeepestLevel

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

Definition at line 88 of file RFieldVisitor.hxx.

◆ fNumFields

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

Definition at line 89 of file RFieldVisitor.hxx.

Libraries for ROOT::Experimental::RPrepareVisitor:

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