ROOT 6.18/05 Reference Guide |
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>
|
strongprivate |
Enumerator | |
---|---|
ToBePrinted | |
ToBeIgnored | |
ToBeDotted |
Definition at line 33 of file RDisplay.hxx.
ROOT::Internal::RDF::RDisplayElement::RDisplayElement | ( | const std::string & | representation | ) |
Constructor.
[in] | representation | The representation string |
Definition at line 24 of file RDFDisplay.cxx.
ROOT::Internal::RDF::RDisplayElement::RDisplayElement | ( | ) |
Constructor assuming an empty representation to be printed.
Definition at line 31 of file RDFDisplay.cxx.
const std::string & ROOT::Internal::RDF::RDisplayElement::GetRepresentation | ( | ) | const |
Definition at line 78 of file RDFDisplay.cxx.
bool ROOT::Internal::RDF::RDisplayElement::IsDot | ( | ) | const |
Return if the cell has to be replaced by "...".
Definition at line 73 of file RDFDisplay.cxx.
bool ROOT::Internal::RDF::RDisplayElement::IsEmpty | ( | ) | const |
Definition at line 83 of file RDFDisplay.cxx.
bool ROOT::Internal::RDF::RDisplayElement::IsIgnore | ( | ) | const |
Return if the cell has to be skipped.
Definition at line 66 of file RDFDisplay.cxx.
bool ROOT::Internal::RDF::RDisplayElement::IsPrint | ( | ) | const |
Return if the cell has to be printed.
Definition at line 59 of file RDFDisplay.cxx.
void ROOT::Internal::RDF::RDisplayElement::SetDots | ( | ) |
Flag this cell to be replaced by "...".
Definition at line 52 of file RDFDisplay.cxx.
void ROOT::Internal::RDF::RDisplayElement::SetIgnore | ( | ) |
Flag this cell as to be skipped.
Definition at line 45 of file RDFDisplay.cxx.
void ROOT::Internal::RDF::RDisplayElement::SetPrint | ( | ) |
Flag this cell as to be printed.
Definition at line 38 of file RDFDisplay.cxx.
|
private |
Definition at line 35 of file RDisplay.hxx.
|
private |
Definition at line 34 of file RDisplay.hxx.