Logo ROOT  
Reference Guide
ROOT::Internal::RDF::RDisplayElement Class Reference

Helper class to let Display print compact tabular representations of the events.

This class is internal and not meant to be explicitly instantiated by the user. It is needed during printing to understand if a value can be skipped or must be printed. Each RDisplayElement represents a cell.

Definition at line 31 of file RDisplay.hxx.

Public Member Functions

 RDisplayElement ()
 Constructor assuming an empty representation to be printed. More...
 
 RDisplayElement (const std::string &representation)
 Constructor. More...
 
const std::string & GetRepresentation () const
 
bool IsDot () const
 Return if the cell has to be replaced by "...". More...
 
bool IsEmpty () const
 
bool IsIgnore () const
 Return if the cell has to be skipped. More...
 
bool IsPrint () const
 Return if the cell has to be printed. More...
 
void SetDots ()
 Flag this cell to be replaced by "...". More...
 
void SetIgnore ()
 Flag this cell as to be skipped. More...
 
void SetPrint ()
 Flag this cell as to be printed. More...
 

Private Types

enum class  PrintingAction { ToBePrinted , ToBeIgnored , ToBeDotted }
 

Private Attributes

PrintingAction fPrintingAction
 
std::string fRepresentation
 

#include <ROOT/RDF/RDisplay.hxx>

Member Enumeration Documentation

◆ PrintingAction

Enumerator
ToBePrinted 
ToBeIgnored 
ToBeDotted 

Definition at line 33 of file RDisplay.hxx.

Constructor & Destructor Documentation

◆ RDisplayElement() [1/2]

ROOT::Internal::RDF::RDisplayElement::RDisplayElement ( const std::string &  representation)

Constructor.

Parameters
[in]representationThe representation string

Definition at line 25 of file RDFDisplay.cxx.

◆ RDisplayElement() [2/2]

ROOT::Internal::RDF::RDisplayElement::RDisplayElement ( )

Constructor assuming an empty representation to be printed.

Definition at line 32 of file RDFDisplay.cxx.

Member Function Documentation

◆ GetRepresentation()

const std::string & ROOT::Internal::RDF::RDisplayElement::GetRepresentation ( ) const

Definition at line 79 of file RDFDisplay.cxx.

◆ IsDot()

bool ROOT::Internal::RDF::RDisplayElement::IsDot ( ) const

Return if the cell has to be replaced by "...".

Definition at line 74 of file RDFDisplay.cxx.

◆ IsEmpty()

bool ROOT::Internal::RDF::RDisplayElement::IsEmpty ( ) const

Definition at line 84 of file RDFDisplay.cxx.

◆ IsIgnore()

bool ROOT::Internal::RDF::RDisplayElement::IsIgnore ( ) const

Return if the cell has to be skipped.

Definition at line 67 of file RDFDisplay.cxx.

◆ IsPrint()

bool ROOT::Internal::RDF::RDisplayElement::IsPrint ( ) const

Return if the cell has to be printed.

Definition at line 60 of file RDFDisplay.cxx.

◆ SetDots()

void ROOT::Internal::RDF::RDisplayElement::SetDots ( )

Flag this cell to be replaced by "...".

Definition at line 53 of file RDFDisplay.cxx.

◆ SetIgnore()

void ROOT::Internal::RDF::RDisplayElement::SetIgnore ( )

Flag this cell as to be skipped.

Definition at line 46 of file RDFDisplay.cxx.

◆ SetPrint()

void ROOT::Internal::RDF::RDisplayElement::SetPrint ( )

Flag this cell as to be printed.

Definition at line 39 of file RDFDisplay.cxx.

Member Data Documentation

◆ fPrintingAction

PrintingAction ROOT::Internal::RDF::RDisplayElement::fPrintingAction
private

Definition at line 35 of file RDisplay.hxx.

◆ fRepresentation

std::string ROOT::Internal::RDF::RDisplayElement::fRepresentation
private

Definition at line 34 of file RDisplay.hxx.

Libraries for ROOT::Internal::RDF::RDisplayElement:
[legend]

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