Contains settings for printing and prints a summary of an RField instance.
This visitor is used by RNTupleReader::Print()
Definition at line 99 of file RFieldVisitor.hxx.
Public Member Functions | |
RPrintSchemaVisitor (std::ostream &out=std::cout, char frameSymbol=' *', int width=80, int deepestLevel=1, int numFields=1) | |
void | SetAvailableSpaceForStrings () |
Computes how many characters should be placed between the frame symbol and ':' for left and right side of ':' for visually pleasing output. | |
void | SetDeepestLevel (int d) |
void | SetFrameSymbol (char s) |
void | SetNumFields (int n) |
void | SetWidth (int w) |
void | VisitField (const Detail::RFieldBase &field) final |
Prints summary of Field. | |
void | VisitFieldZero (const RFieldZero &fieldZero) 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 | VisitClassField (const RClassField &field) |
virtual void | VisitClusterSizeField (const RField< ClusterSize_t > &field) |
virtual void | VisitDoubleField (const RField< double > &field) |
virtual void | VisitFloatField (const RField< float > &field) |
virtual void | VisitIntField (const RField< int > &field) |
virtual void | VisitStringField (const RField< std::string > &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 Attributes | |
int | fAvailableSpaceKeyString |
int | fAvailableSpaceValueString |
int | fDeepestLevel |
int | fFieldNo = 1 |
std::string | fFieldNoPrefix |
char | fFrameSymbol |
To render the output, use an asterix (*) by default to draw table lines and boundaries. | |
int | fNumFields |
std::ostream & | fOutput |
Where to write the printout to. | |
std::string | fTreePrefix |
int | fWidth |
Indicates maximal number of allowed characters per line. | |
#include <ROOT/RFieldVisitor.hxx>
|
inline |
Definition at line 116 of file RFieldVisitor.hxx.
|
inline |
Computes how many characters should be placed between the frame symbol and ':' for left and right side of ':' for visually pleasing output.
Definition at line 143 of file RFieldVisitor.hxx.
Definition at line 56 of file RFieldVisitor.cxx.
|
inline |
Definition at line 125 of file RFieldVisitor.hxx.
Definition at line 61 of file RFieldVisitor.cxx.
Definition at line 126 of file RFieldVisitor.hxx.
|
finalvirtual |
Prints summary of Field.
Implements ROOT::Experimental::Detail::RFieldVisitor.
Definition at line 67 of file RFieldVisitor.cxx.
|
finalvirtual |
Reimplemented from ROOT::Experimental::Detail::RFieldVisitor.
Definition at line 96 of file RFieldVisitor.cxx.
|
private |
Definition at line 109 of file RFieldVisitor.hxx.
|
private |
Definition at line 110 of file RFieldVisitor.hxx.
|
private |
Definition at line 107 of file RFieldVisitor.hxx.
|
private |
Definition at line 111 of file RFieldVisitor.hxx.
|
private |
Definition at line 113 of file RFieldVisitor.hxx.
|
private |
To render the output, use an asterix (*) by default to draw table lines and boundaries.
Definition at line 104 of file RFieldVisitor.hxx.
|
private |
Definition at line 108 of file RFieldVisitor.hxx.
|
private |
Where to write the printout to.
Definition at line 102 of file RFieldVisitor.hxx.
|
private |
Definition at line 112 of file RFieldVisitor.hxx.
|
private |
Indicates maximal number of allowed characters per line.
Definition at line 106 of file RFieldVisitor.hxx.