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 32 of file RDisplay.hxx.
Public Member Functions | |
RDisplayElement () | |
Constructor assuming an empty representation to be printed. | |
RDisplayElement (const std::string &representation) | |
Constructor. | |
const std::string & | GetRepresentation () const |
bool | IsDot () const |
Return if the cell has to be replaced by "...". | |
bool | IsEmpty () const |
bool | IsIgnore () const |
Return if the cell has to be skipped. | |
bool | IsPrint () const |
Return if the cell has to be printed. | |
void | SetDots () |
Flag this cell to be replaced by "...". | |
void | SetIgnore () |
Flag this cell as to be skipped. | |
void | SetPrint () |
Flag this cell as to be printed. | |
Private Types | |
enum class | PrintingAction { ToBePrinted , ToBeIgnored , ToBeDotted } |
Private Attributes | |
PrintingAction | fPrintingAction |
std::string | fRepresentation |
#include <ROOT/RDF/RDisplay.hxx>
|
strongprivate |
Enumerator | |
---|---|
ToBePrinted | |
ToBeIgnored | |
ToBeDotted |
Definition at line 34 of file RDisplay.hxx.
ROOT::Internal::RDF::RDisplayElement::RDisplayElement | ( | const std::string & | representation | ) |
Constructor.
[in] | representation | The representation string |
Definition at line 36 of file RDFDisplay.cxx.
ROOT::Internal::RDF::RDisplayElement::RDisplayElement | ( | ) |
Constructor assuming an empty representation to be printed.
Definition at line 43 of file RDFDisplay.cxx.
const std::string & ROOT::Internal::RDF::RDisplayElement::GetRepresentation | ( | ) | const |
Definition at line 90 of file RDFDisplay.cxx.
bool ROOT::Internal::RDF::RDisplayElement::IsDot | ( | ) | const |
Return if the cell has to be replaced by "...".
Definition at line 85 of file RDFDisplay.cxx.
bool ROOT::Internal::RDF::RDisplayElement::IsEmpty | ( | ) | const |
Definition at line 95 of file RDFDisplay.cxx.
bool ROOT::Internal::RDF::RDisplayElement::IsIgnore | ( | ) | const |
Return if the cell has to be skipped.
Definition at line 78 of file RDFDisplay.cxx.
bool ROOT::Internal::RDF::RDisplayElement::IsPrint | ( | ) | const |
Return if the cell has to be printed.
Definition at line 71 of file RDFDisplay.cxx.
void ROOT::Internal::RDF::RDisplayElement::SetDots | ( | ) |
Flag this cell to be replaced by "...".
Definition at line 64 of file RDFDisplay.cxx.
void ROOT::Internal::RDF::RDisplayElement::SetIgnore | ( | ) |
Flag this cell as to be skipped.
Definition at line 57 of file RDFDisplay.cxx.
void ROOT::Internal::RDF::RDisplayElement::SetPrint | ( | ) |
Flag this cell as to be printed.
Definition at line 50 of file RDFDisplay.cxx.
|
private |
Definition at line 36 of file RDisplay.hxx.
|
private |
Definition at line 35 of file RDisplay.hxx.