Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RDisplayHistStat Class Reference

Object send to client for display of RHistStat, required to avoid sending histogram to the client.

Author
Sergey Linev s.lin.nosp@m.ev@g.nosp@m.si.de
Date
2020-04-17
Warning
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition at line 35 of file RHistStatBox.hxx.

Public Member Functions

 RDisplayHistStat ()=default
 
 RDisplayHistStat (const RDrawable &dr, unsigned mask, const std::vector< std::string > &entries, const std::vector< std::string > &lines)
 
virtual ~RDisplayHistStat ()=default
 
const std::vector< std::string > & GetEntries () const
 
unsigned GetShowMask () const
 
- Public Member Functions inherited from ROOT::Experimental::RIndirectDisplayItem
 RIndirectDisplayItem ()=default
 
 RIndirectDisplayItem (const RDrawable &dr)
 Constructor.
 
- Public Member Functions inherited from ROOT::Experimental::RDisplayItem
 RDisplayItem ()=default
 
 RDisplayItem (bool dummy)
 
virtual ~RDisplayItem ()
 
virtual void BuildFullId (const std::string &prefix)
 Build full id, including prefix and object index.
 
unsigned GetIndex () const
 
std::string GetObjectID () const
 
void SetIndex (unsigned indx)
 
void SetObjectID (const std::string &id)
 
void SetObjectIDAsPtr (const void *ptr)
 Assign id using arbitrary pointer value Typically drawable pointer should be used here.
 
void SetStyle (RStyle *style)
 

Private Attributes

std::vector< std::string > fEntries
 names of entries for context menu
 
std::vector< std::string > fLines
 filled lines to show in stat box
 
unsigned fShowMask {0}
 initial show mask
 

Additional Inherited Members

- Static Public Member Functions inherited from ROOT::Experimental::RDisplayItem
static std::string ObjectIDFromPtr (const void *ptr)
 Construct fillid using pointer value.
 
- Protected Attributes inherited from ROOT::Experimental::RIndirectDisplayItem
const RAttrMapfAttr {nullptr}
 pointer on drawable attributes
 
const std::string * fCssClass {nullptr}
 pointer on drawable class
 
const std::string * fId {nullptr}
 pointer on drawable id
 
- Protected Attributes inherited from ROOT::Experimental::RDisplayItem
bool fDummy {false}
 if true, just placeholder for drawable which does not changed
 
unsigned fIndex {0}
 ! index inside current pad, used to produce fully-qualified id, not send to client
 
std::string fObjectID
 unique object identifier
 
RStylefStyle {nullptr}
 style object
 

#include <ROOT/RHistStatBox.hxx>

Inheritance diagram for ROOT::Experimental::RDisplayHistStat:
[legend]

Constructor & Destructor Documentation

◆ RDisplayHistStat() [1/2]

ROOT::Experimental::RDisplayHistStat::RDisplayHistStat ( )
default

◆ RDisplayHistStat() [2/2]

ROOT::Experimental::RDisplayHistStat::RDisplayHistStat ( const RDrawable dr,
unsigned  mask,
const std::vector< std::string > &  entries,
const std::vector< std::string > &  lines 
)
inline

Definition at line 41 of file RHistStatBox.hxx.

◆ ~RDisplayHistStat()

virtual ROOT::Experimental::RDisplayHistStat::~RDisplayHistStat ( )
virtualdefault

Member Function Documentation

◆ GetEntries()

const std::vector< std::string > & ROOT::Experimental::RDisplayHistStat::GetEntries ( ) const
inline

Definition at line 46 of file RHistStatBox.hxx.

◆ GetShowMask()

unsigned ROOT::Experimental::RDisplayHistStat::GetShowMask ( ) const
inline

Definition at line 45 of file RHistStatBox.hxx.

Member Data Documentation

◆ fEntries

std::vector<std::string> ROOT::Experimental::RDisplayHistStat::fEntries
private

names of entries for context menu

Definition at line 37 of file RHistStatBox.hxx.

◆ fLines

std::vector<std::string> ROOT::Experimental::RDisplayHistStat::fLines
private

filled lines to show in stat box

Definition at line 38 of file RHistStatBox.hxx.

◆ fShowMask

unsigned ROOT::Experimental::RDisplayHistStat::fShowMask {0}
private

initial show mask

Definition at line 36 of file RHistStatBox.hxx.

Libraries for ROOT::Experimental::RDisplayHistStat:

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