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

Renders a JSON value corresponding to the field.

Definition at line 176 of file RFieldVisitor.hxx.

Classes

struct  RPrintOptions
 

Public Member Functions

 RPrintValueVisitor (RFieldBase::RValue value, std::ostream &output, unsigned int level=0, RPrintOptions options=RPrintOptions())
 
void VisitArrayAsRVecField (const RArrayAsRVecField &field) final
 
void VisitArrayField (const RArrayField &field) final
 
void VisitAtomicField (const RAtomicField &field) final
 
void VisitBitsetField (const RBitsetField &field) final
 
void VisitBoolField (const RField< bool > &field) final
 
void VisitByteField (const RField< std::byte > &field) final
 
void VisitCardinalityField (const RCardinalityField &field) final
 
void VisitCharField (const RField< char > &field) final
 
void VisitClassField (const RClassField &field) final
 
void VisitDoubleField (const RField< double > &field) final
 
void VisitEnumField (const REnumField &field) final
 
void VisitField (const RFieldBase &field) final
 
void VisitFloatField (const RField< float > &field) final
 
void VisitInt16Field (const RIntegralField< std::int16_t > &field) final
 
void VisitInt32Field (const RIntegralField< std::int32_t > &field) final
 
void VisitInt64Field (const RIntegralField< std::int64_t > &field) final
 
void VisitInt8Field (const RIntegralField< std::int8_t > &field) final
 
void VisitNullableField (const RNullableField &field) final
 
void VisitProxiedCollectionField (const RProxiedCollectionField &field) final
 
void VisitRecordField (const RRecordField &field) final
 
void VisitRVecField (const RRVecField &field) final
 
void VisitStreamerField (const RStreamerField &field) final
 
void VisitStringField (const RField< std::string > &field) final
 
void VisitTObjectField (const RField< TObject > &field) final
 
void VisitUInt16Field (const RIntegralField< std::uint16_t > &field) final
 
void VisitUInt32Field (const RIntegralField< std::uint32_t > &field) final
 
void VisitUInt64Field (const RIntegralField< std::uint64_t > &field) final
 
void VisitUInt8Field (const RIntegralField< 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 VisitFieldZero (const RFieldZero &field)
 

Private Member Functions

void PrintCollection (const RFieldBase &field)
 
void PrintIndent ()
 
void PrintName (const RFieldBase &field)
 
void PrintRecord (const RFieldBase &field)
 

Private Attributes

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

#include <ROOT/RFieldVisitor.hxx>

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

Constructor & Destructor Documentation

◆ RPrintValueVisitor()

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

Definition at line 198 of file RFieldVisitor.hxx.

Member Function Documentation

◆ PrintCollection()

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

Definition at line 124 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 RFieldBase field)
private

Definition at line 118 of file RFieldVisitor.cxx.

◆ PrintRecord()

void ROOT::Experimental::RPrintValueVisitor::PrintRecord ( const RFieldBase field)
private

Definition at line 145 of file RFieldVisitor.cxx.

◆ VisitArrayAsRVecField()

void ROOT::Experimental::RPrintValueVisitor::VisitArrayAsRVecField ( const RArrayAsRVecField field)
finalvirtual

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

Definition at line 328 of file RFieldVisitor.cxx.

◆ VisitArrayField()

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

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

Definition at line 323 of file RFieldVisitor.cxx.

◆ VisitAtomicField()

void ROOT::Experimental::RPrintValueVisitor::VisitAtomicField ( const RAtomicField field)
finalvirtual

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

Definition at line 383 of file RFieldVisitor.cxx.

◆ VisitBitsetField()

void ROOT::Experimental::RPrintValueVisitor::VisitBitsetField ( const RBitsetField field)
finalvirtual

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

Definition at line 304 of file RFieldVisitor.cxx.

◆ VisitBoolField()

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

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

Definition at line 182 of file RFieldVisitor.cxx.

◆ VisitByteField()

void ROOT::Experimental::RPrintValueVisitor::VisitByteField ( const RField< std::byte > &  field)
finalvirtual

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

Definition at line 208 of file RFieldVisitor.cxx.

◆ VisitCardinalityField()

void ROOT::Experimental::RPrintValueVisitor::VisitCardinalityField ( const RCardinalityField field)
finalvirtual

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

Definition at line 289 of file RFieldVisitor.cxx.

◆ VisitCharField()

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

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

Definition at line 218 of file RFieldVisitor.cxx.

◆ VisitClassField()

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

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

Definition at line 340 of file RFieldVisitor.cxx.

◆ VisitDoubleField()

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

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

Definition at line 193 of file RFieldVisitor.cxx.

◆ VisitEnumField()

void ROOT::Experimental::RPrintValueVisitor::VisitEnumField ( const REnumField field)
finalvirtual

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

Definition at line 371 of file RFieldVisitor.cxx.

◆ VisitField()

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

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

Definition at line 174 of file RFieldVisitor.cxx.

◆ VisitFloatField()

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

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

Definition at line 201 of file RFieldVisitor.cxx.

◆ VisitInt16Field()

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

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

Definition at line 232 of file RFieldVisitor.cxx.

◆ VisitInt32Field()

void ROOT::Experimental::RPrintValueVisitor::VisitInt32Field ( const RIntegralField< std::int32_t > &  field)
finalvirtual

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

Definition at line 239 of file RFieldVisitor.cxx.

◆ VisitInt64Field()

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

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

Definition at line 246 of file RFieldVisitor.cxx.

◆ VisitInt8Field()

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

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

Definition at line 225 of file RFieldVisitor.cxx.

◆ VisitNullableField()

void ROOT::Experimental::RPrintValueVisitor::VisitNullableField ( const RNullableField field)
finalvirtual

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

Definition at line 355 of file RFieldVisitor.cxx.

◆ VisitProxiedCollectionField()

void ROOT::Experimental::RPrintValueVisitor::VisitProxiedCollectionField ( const RProxiedCollectionField field)
finalvirtual

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

Definition at line 395 of file RFieldVisitor.cxx.

◆ VisitRecordField()

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

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

Definition at line 350 of file RFieldVisitor.cxx.

◆ VisitRVecField()

void ROOT::Experimental::RPrintValueVisitor::VisitRVecField ( const RRVecField field)
finalvirtual

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

Definition at line 410 of file RFieldVisitor.cxx.

◆ VisitStreamerField()

void ROOT::Experimental::RPrintValueVisitor::VisitStreamerField ( const RStreamerField field)
finalvirtual

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

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

◆ VisitTObjectField()

void ROOT::Experimental::RPrintValueVisitor::VisitTObjectField ( const RField< TObject > &  field)
finalvirtual

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

Definition at line 345 of file RFieldVisitor.cxx.

◆ VisitUInt16Field()

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

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

Definition at line 268 of file RFieldVisitor.cxx.

◆ VisitUInt32Field()

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

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

Definition at line 275 of file RFieldVisitor.cxx.

◆ VisitUInt64Field()

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

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

Definition at line 282 of file RFieldVisitor.cxx.

◆ VisitUInt8Field()

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

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

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

◆ VisitVectorField()

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

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

Definition at line 400 of file RFieldVisitor.cxx.

Member Data Documentation

◆ fLevel

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

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

◆ fPrintOptions

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

Definition at line 190 of file RFieldVisitor.hxx.

◆ fValue

RFieldBase::RValue ROOT::Experimental::RPrintValueVisitor::fValue
private

Definition at line 186 of file RFieldVisitor.hxx.

Libraries for ROOT::Experimental::RPrintValueVisitor:

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