Logo ROOT   master
Reference Guide
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 RFieldArray &field) final
 
void VisitBoolField (const RField< bool > &field) final
 
void VisitClassField (const RFieldClass &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 RFieldVector &field) final
 
- Public Member Functions inherited from ROOT::Experimental::Detail::RFieldVisitor
virtual void VisitClusterSizeField (const RField< ClusterSize_t > &field)
 
virtual void VisitRootField (const RFieldRoot &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. More...
 
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 RFieldArray 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 RFieldClass 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 RFieldVector 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.


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