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>

## ◆ PrintingAction

 strongprivate
Enumerator
ToBePrinted
ToBeIgnored
ToBeDotted

Definition at line 33 of file RDisplay.hxx.

## ◆ RDisplayElement() [1/2]

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

Constructor.

Parameters
 [in] representation The representation string

Definition at line 37 of file RDFDisplay.cxx.

## ◆ RDisplayElement() [2/2]

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

Constructor assuming an empty representation to be printed.

Definition at line 44 of file RDFDisplay.cxx.

## ◆ GetRepresentation()

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

Definition at line 91 of file RDFDisplay.cxx.

## ◆ IsDot()

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

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

Definition at line 86 of file RDFDisplay.cxx.

## ◆ IsEmpty()

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

Definition at line 96 of file RDFDisplay.cxx.

## ◆ IsIgnore()

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

Return if the cell has to be skipped.

Definition at line 79 of file RDFDisplay.cxx.

## ◆ IsPrint()

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

Return if the cell has to be printed.

Definition at line 72 of file RDFDisplay.cxx.

## ◆ SetDots()

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

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

Definition at line 65 of file RDFDisplay.cxx.

## ◆ SetIgnore()

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

Flag this cell as to be skipped.

Definition at line 58 of file RDFDisplay.cxx.

## ◆ SetPrint()

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

Flag this cell as to be printed.

Definition at line 51 of file RDFDisplay.cxx.

## ◆ 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: