Logo ROOT  
Reference Guide
ROOT::Experimental::RPrintValueVisitor Class Reference

Renders a JSON value corresponding to the field.

Definition at line 165 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 VisitCharField (const RField< char > &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 VisitInt16Field (const RField< std::int16_t > &field) final
 
void VisitInt64Field (const RField< std::int64_t > &field) final
 
void VisitInt8Field (const RField< std::int8_t > &field) final
 
void VisitIntField (const RField< int > &field) final
 
void VisitRecordField (const RRecordField &field) final
 
void VisitStringField (const RField< std::string > &field) final
 
void VisitUInt16Field (const RField< std::uint16_t > &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 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 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 186 of file RFieldVisitor.hxx.

Member Function Documentation

◆ PrintCollection()

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

Definition at line 128 of file RFieldVisitor.cxx.

◆ PrintIndent()

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

Definition at line 111 of file RFieldVisitor.cxx.

◆ PrintName()

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

Definition at line 121 of file RFieldVisitor.cxx.

◆ VisitArrayField()

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

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

Definition at line 258 of file RFieldVisitor.cxx.

◆ VisitBoolField()

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

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

Definition at line 158 of file RFieldVisitor.cxx.

◆ VisitCharField()

void ROOT::Experimental::RPrintValueVisitor::VisitCharField ( const RField< char > &  field)
finalvirtual

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

Definition at line 184 of file RFieldVisitor.cxx.

◆ VisitClassField()

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

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

Definition at line 264 of file RFieldVisitor.cxx.

◆ VisitDoubleField()

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

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

Definition at line 169 of file RFieldVisitor.cxx.

◆ VisitField()

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

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

Definition at line 150 of file RFieldVisitor.cxx.

◆ VisitFloatField()

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

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

Definition at line 177 of file RFieldVisitor.cxx.

◆ VisitInt16Field()

void ROOT::Experimental::RPrintValueVisitor::VisitInt16Field ( const RField< std::int16_t > &  field)
finalvirtual

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

Definition at line 198 of file RFieldVisitor.cxx.

◆ VisitInt64Field()

void ROOT::Experimental::RPrintValueVisitor::VisitInt64Field ( const RField< std::int64_t > &  field)
finalvirtual

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

Definition at line 212 of file RFieldVisitor.cxx.

◆ VisitInt8Field()

void ROOT::Experimental::RPrintValueVisitor::VisitInt8Field ( const RField< std::int8_t > &  field)
finalvirtual

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

Definition at line 191 of file RFieldVisitor.cxx.

◆ VisitIntField()

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

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

Definition at line 205 of file RFieldVisitor.cxx.

◆ VisitRecordField()

void ROOT::Experimental::RPrintValueVisitor::VisitRecordField ( const RRecordField field)
finalvirtual

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

Definition at line 294 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 219 of file RFieldVisitor.cxx.

◆ VisitUInt16Field()

void ROOT::Experimental::RPrintValueVisitor::VisitUInt16Field ( const RField< std::uint16_t > &  field)
finalvirtual

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

Definition at line 235 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 242 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 250 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 228 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 330 of file RFieldVisitor.cxx.

◆ VisitVectorField()

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

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

Definition at line 324 of file RFieldVisitor.cxx.

Member Data Documentation

◆ fLevel

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

Definition at line 178 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 177 of file RFieldVisitor.hxx.

◆ fPrintOptions

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

Definition at line 179 of file RFieldVisitor.hxx.

◆ fValue

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

Definition at line 175 of file RFieldVisitor.hxx.


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