Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RPrintValueVisitor Class Reference

Renders a JSON value corresponding to the field.

Definition at line 159 of file RFieldVisitor.hxx.

Classes

struct  RPrintOptions
 

Public Member Functions

 RPrintValueVisitor (const Detail::RFieldValue &value, std::ostream &output, unsigned int level=0, RPrintOptions options=RPrintOptions())
 
void VisitArrayField (const RArrayField &field) final
 
void VisitBoolField (const RField< bool > &field) final
 
void VisitClassField (const RClassField &field) final
 
void VisitDoubleField (const RField< double > &field) final
 
void VisitField (const Detail::RFieldBase &field) final
 
void VisitFloatField (const RField< float > &field) final
 
void VisitIntField (const RField< int > &field) final
 
void VisitStringField (const RField< std::string > &field) final
 
void VisitUInt32Field (const RField< std::uint32_t > &field) final
 
void VisitUInt64Field (const RField< std::uint64_t > &field) final
 
void VisitUInt8Field (const RField< std::uint8_t > &field) final
 
void VisitVectorBoolField (const RField< std::vector< bool > > &field) final
 
void VisitVectorField (const RVectorField &field) final
 
- Public Member Functions inherited from ROOT::Experimental::Detail::RFieldVisitor
virtual void VisitClusterSizeField (const RField< ClusterSize_t > &field)
 
virtual void VisitFieldZero (const RFieldZero &field)
 

Private Member Functions

void PrintCollection (const Detail::RFieldBase &field)
 
void PrintIndent ()
 
void PrintName (const Detail::RFieldBase &field)
 

Private Attributes

unsigned int fLevel
 
std::ostream & fOutput
 The output is directed to fOutput which may differ from std::cout.
 
RPrintOptions fPrintOptions
 
Detail::RFieldValue fValue
 

#include <ROOT/RFieldVisitor.hxx>

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

Constructor & Destructor Documentation

◆ RPrintValueVisitor()

ROOT::Experimental::RPrintValueVisitor::RPrintValueVisitor ( const Detail::RFieldValue value,
std::ostream &  output,
unsigned int  level = 0,
RPrintOptions  options = RPrintOptions() 
)
inline

Definition at line 180 of file RFieldVisitor.hxx.

Member Function Documentation

◆ PrintCollection()

void ROOT::Experimental::RPrintValueVisitor::PrintCollection ( const Detail::RFieldBase field)
private

Definition at line 126 of file RFieldVisitor.cxx.

◆ PrintIndent()

void ROOT::Experimental::RPrintValueVisitor::PrintIndent ( )
private

Definition at line 109 of file RFieldVisitor.cxx.

◆ PrintName()

void ROOT::Experimental::RPrintValueVisitor::PrintName ( const Detail::RFieldBase field)
private

Definition at line 119 of file RFieldVisitor.cxx.

◆ VisitArrayField()

void ROOT::Experimental::RPrintValueVisitor::VisitArrayField ( const RArrayField field)
finalvirtual

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

Definition at line 224 of file RFieldVisitor.cxx.

◆ VisitBoolField()

void ROOT::Experimental::RPrintValueVisitor::VisitBoolField ( const RField< bool > &  field)
finalvirtual

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

Definition at line 156 of file RFieldVisitor.cxx.

◆ VisitClassField()

void ROOT::Experimental::RPrintValueVisitor::VisitClassField ( const RClassField field)
finalvirtual

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

Definition at line 230 of file RFieldVisitor.cxx.

◆ VisitDoubleField()

void ROOT::Experimental::RPrintValueVisitor::VisitDoubleField ( const RField< double > &  field)
finalvirtual

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

Definition at line 167 of file RFieldVisitor.cxx.

◆ VisitField()

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

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

Definition at line 148 of file RFieldVisitor.cxx.

◆ VisitFloatField()

void ROOT::Experimental::RPrintValueVisitor::VisitFloatField ( const RField< float > &  field)
finalvirtual

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

Definition at line 175 of file RFieldVisitor.cxx.

◆ VisitIntField()

void ROOT::Experimental::RPrintValueVisitor::VisitIntField ( const RField< int > &  field)
finalvirtual

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

Definition at line 183 of file RFieldVisitor.cxx.

◆ VisitStringField()

void ROOT::Experimental::RPrintValueVisitor::VisitStringField ( const RField< std::string > &  field)
finalvirtual

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

Definition at line 191 of file RFieldVisitor.cxx.

◆ VisitUInt32Field()

void ROOT::Experimental::RPrintValueVisitor::VisitUInt32Field ( const RField< std::uint32_t > &  field)
finalvirtual

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

Definition at line 208 of file RFieldVisitor.cxx.

◆ VisitUInt64Field()

void ROOT::Experimental::RPrintValueVisitor::VisitUInt64Field ( const RField< std::uint64_t > &  field)
finalvirtual

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

Definition at line 216 of file RFieldVisitor.cxx.

◆ VisitUInt8Field()

void ROOT::Experimental::RPrintValueVisitor::VisitUInt8Field ( const RField< std::uint8_t > &  field)
finalvirtual

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

Definition at line 200 of file RFieldVisitor.cxx.

◆ VisitVectorBoolField()

void ROOT::Experimental::RPrintValueVisitor::VisitVectorBoolField ( const RField< std::vector< bool > > &  field)
finalvirtual

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

Definition at line 266 of file RFieldVisitor.cxx.

◆ VisitVectorField()

void ROOT::Experimental::RPrintValueVisitor::VisitVectorField ( const RVectorField field)
finalvirtual

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

Definition at line 260 of file RFieldVisitor.cxx.

Member Data Documentation

◆ fLevel

unsigned int ROOT::Experimental::RPrintValueVisitor::fLevel
private

Definition at line 172 of file RFieldVisitor.hxx.

◆ fOutput

std::ostream& ROOT::Experimental::RPrintValueVisitor::fOutput
private

The output is directed to fOutput which may differ from std::cout.

Definition at line 171 of file RFieldVisitor.hxx.

◆ fPrintOptions

RPrintOptions ROOT::Experimental::RPrintValueVisitor::fPrintOptions
private

Definition at line 173 of file RFieldVisitor.hxx.

◆ fValue

Detail::RFieldValue ROOT::Experimental::RPrintValueVisitor::fValue
private

Definition at line 169 of file RFieldVisitor.hxx.

Libraries for ROOT::Experimental::RPrintValueVisitor:

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