Logo ROOT  
Reference Guide
 
Loading...
Searching...
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 92 of file RFieldVisitor.hxx.

Public Member Functions

 RPrepareVisitor ()=default
 
unsigned int GetDeepestLevel () const
 
unsigned int GetNumFields () const
 
void VisitField (const RFieldBase &field) final
 
void VisitFieldZero (const RFieldZero &field) final
 
- Public Member Functions inherited from ROOT::Experimental::Detail::RFieldVisitor
virtual void VisitArrayAsRVecField (const RArrayAsRVecField &field)
 
virtual void VisitArrayField (const RArrayField &field)
 
virtual void VisitAtomicField (const RAtomicField &field)
 
virtual void VisitBitsetField (const RBitsetField &field)
 
virtual void VisitBoolField (const RField< bool > &field)
 
virtual void VisitByteField (const RField< std::byte > &field)
 
virtual void VisitCardinalityField (const RCardinalityField &field)
 
virtual void VisitCharField (const RField< char > &field)
 
virtual void VisitClassField (const RClassField &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 RIntegralField< std::int16_t > &field)
 
virtual void VisitInt32Field (const RIntegralField< std::int32_t > &field)
 
virtual void VisitInt64Field (const RIntegralField< std::int64_t > &field)
 
virtual void VisitInt8Field (const RIntegralField< std::int8_t > &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 VisitStreamerField (const RStreamerField &field)
 
virtual void VisitStringField (const RField< std::string > &field)
 
virtual void VisitTObjectField (const RField< TObject > &field)
 
virtual void VisitUInt16Field (const RIntegralField< std::uint16_t > &field)
 
virtual void VisitUInt32Field (const RIntegralField< std::uint32_t > &field)
 
virtual void VisitUInt64Field (const RIntegralField< std::uint64_t > &field)
 
virtual void VisitUInt8Field (const RIntegralField< 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 102 of file RFieldVisitor.hxx.

◆ GetNumFields()

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

Definition at line 103 of file RFieldVisitor.hxx.

◆ VisitField()

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

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

Definition at line 31 of file RFieldVisitor.cxx.

◆ VisitFieldZero()

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

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

Definition at line 43 of file RFieldVisitor.cxx.

Member Data Documentation

◆ fDeepestLevel

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

Definition at line 94 of file RFieldVisitor.hxx.

◆ fNumFields

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

Definition at line 95 of file RFieldVisitor.hxx.

Libraries for ROOT::Experimental::RPrepareVisitor:

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