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

Renders a JSON value corresponding to the field.

Definition at line 173 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 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 VisitNullableField (const RNullableField &field) final
 
void VisitProxiedCollectionField (const RProxiedCollectionField &field) final
 
void VisitRecordField (const RRecordField &field) final
 
void VisitRVecField (const RRVecField &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 VisitClusterSizeField (const RField< ClusterSize_t > &field)
 
virtual void VisitFieldZero (const RFieldZero &field)
 

Private Member Functions

void PrintCollection (const RFieldBase &field)
 
void PrintIndent ()
 
void PrintName (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 194 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.

◆ VisitArrayAsRVecField()

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

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

Definition at line 300 of file RFieldVisitor.cxx.

◆ VisitArrayField()

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

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

Definition at line 295 of file RFieldVisitor.cxx.

◆ VisitAtomicField()

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

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

Definition at line 392 of file RFieldVisitor.cxx.

◆ VisitBitsetField()

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

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

Definition at line 276 of file RFieldVisitor.cxx.

◆ VisitBoolField()

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

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

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

◆ VisitCardinalityField()

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

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

Definition at line 261 of file RFieldVisitor.cxx.

◆ VisitCharField()

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

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

Definition at line 189 of file RFieldVisitor.cxx.

◆ VisitClassField()

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

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

Definition at line 305 of file RFieldVisitor.cxx.

◆ VisitDoubleField()

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

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

Definition at line 164 of file RFieldVisitor.cxx.

◆ VisitEnumField()

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

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

Definition at line 380 of file RFieldVisitor.cxx.

◆ VisitField()

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

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

Definition at line 145 of file RFieldVisitor.cxx.

◆ VisitFloatField()

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

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

Definition at line 172 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 203 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 217 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 196 of file RFieldVisitor.cxx.

◆ VisitIntField()

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

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

Definition at line 210 of file RFieldVisitor.cxx.

◆ VisitNullableField()

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

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

Definition at line 364 of file RFieldVisitor.cxx.

◆ VisitProxiedCollectionField()

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

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

Definition at line 404 of file RFieldVisitor.cxx.

◆ VisitRecordField()

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

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

Definition at line 335 of file RFieldVisitor.cxx.

◆ VisitRVecField()

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

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

Definition at line 419 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 224 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 239 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 246 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 254 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 232 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 414 of file RFieldVisitor.cxx.

◆ VisitVectorField()

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

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

Definition at line 409 of file RFieldVisitor.cxx.

Member Data Documentation

◆ fLevel

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

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

◆ fPrintOptions

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

Definition at line 187 of file RFieldVisitor.hxx.

◆ fValue

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

Definition at line 183 of file RFieldVisitor.hxx.

Libraries for ROOT::Experimental::RPrintValueVisitor:

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