Logo ROOT   6.18/05
Reference Guide
List of all members | Public Types | Public Member Functions | List of all members
ROOT::Experimental::RHistDrawingOpts< 1 > Class Reference

Drawing options for a 1D histogram.

Definition at line 38 of file RHistDrawingOpts.hxx.

Public Types

enum class  EStyle { kHist , kBar , kText }
 

Public Member Functions

 RHistDrawingOpts ()
 
RAttrLine BarLine ()
 
EStyle GetStyle () const
 
RAttrLine Line ()
 
void SetStyle (EStyle style)
 The drawing style. More...
 
RAttrLine UncertaintyLine ()
 
- Public Member Functions inherited from ROOT::Experimental::RDrawingOptsBase
 RDrawingOptsBase ()=default
 
 RDrawingOptsBase (const std::vector< std::string > &styleClasses)
 Initialize the options with a (possibly empty) set of style classes. More...
 
std::shared_ptr< RDrawingAttrHolder > & GetHolder ()
 
const std::vector< std::string > & GetStyleClasses () const
 Get the attribute style classes of these options. More...
 
void SetStyleClasses (const std::vector< std::string > &styles)
 Get the attribute style classes of these options. More...
 
- Public Member Functions inherited from ROOT::Experimental::RDrawingAttrBase
 RDrawingAttrBase (const Name &name)
 Construct a named attribute that does not have a parent; e.g. More...
 
 RDrawingAttrBase (const Name &name, const RDrawingAttrBase &parent)
 Construct a named attribute that has a parent, e.g. More...
 
 RDrawingAttrBase (const Name &name, RDrawingOptsBase &opts)
 Construct a top-most attribute from its holder. More...
 
 RDrawingAttrBase (const RDrawingAttrBase &other)=default
 Construct as a copy. More...
 
 RDrawingAttrBase (FromOption_t, const Name &name, RDrawingOptsBase &opts)
 Construct a top-most attribute from its holder. More...
 
 RDrawingAttrBase (RDrawingAttrBase &&other)=default
 Construct as a moved-to. More...
 
template<class T >
T Get (const Name &name) const
 Get the attribute value for an attribute value of type T. More...
 
const std::weak_ptr< RDrawingAttrHolder > & GetHolderPtr () const
 Actual attribute holder. More...
 
const Path & GetPath () const
 Return the attribute names that lead to this attribute, starting with the topmost attribute, i.e. More...
 
bool IsFromStyle (const Name &name) const
 Return true if the attribute's value comes from the styles, i.e. More...
 
bool operator!= (const RDrawingAttrBase &other) const
 Compare unequal to other RDrawingAttrBase. Returns the negated operator==. More...
 
RDrawingAttrBase & operator= (const RDrawingAttrBase &rhs)
 Copy-assign: this assigns the attribute values to this attribute, without changing the connected drawing options object / holder or attribute path! More...
 
bool operator== (const RDrawingAttrBase &other) const
 Equality compare to other RDrawingAttrBase. More...
 
template<class T >
void Set (const Name &name, const T &val)
 Insert or update the attribute value identified by name to the given value. More...
 

Additional Inherited Members

- Public Attributes inherited from ROOT::Experimental::RDrawingOptsBase
std::shared_ptr< RDrawingAttrHolder > fHolder
 The RDrawingAttrHolder of the attribute values. More...
 
RDrawingAttrHolder * fHolderIO {nullptr}
 only for I/O, should be fixed in the fututre More...
 
- Static Public Attributes inherited from ROOT::Experimental::RDrawingAttrBase
static constexpr const FromOption_t FromOption {}
 
- Protected Member Functions inherited from ROOT::Experimental::RDrawingAttrBase
 RDrawingAttrBase ()=default
 Construct a default, unnamed, unconnected attribute. More...
 
std::string GetValueString (const Path &path) const
 Get the attribute value as string, for a given attribute name. More...
 
bool IsFromStyle (const Path &path) const
 Return true if the attribute's value comes from the styles, i.e. More...
 
void SetValueString (const Name &name, const std::string &strVal)
 Insert or update the attribute value identified by the valueIndex (in fValueNames) to the value strVal. More...
 
- Protected Attributes inherited from ROOT::Experimental::RDrawingAttrBase
std::weak_ptr< RDrawingAttrHolder > fHolder
 The container of the attribute values. More...
 
Path fPath
 The chain of attribute names, as used in style files. More...
 

#include <ROOT/RHistDrawingOpts.hxx>

Inheritance diagram for ROOT::Experimental::RHistDrawingOpts< 1 >:
[legend]

Member Enumeration Documentation

◆ EStyle

enum class ROOT::Experimental::RHistDrawingOpts< 1 >::EStyle
strong
Enumerator
kHist 
kBar 
kText 

Definition at line 40 of file RHistDrawingOpts.hxx.

Constructor & Destructor Documentation

◆ RHistDrawingOpts()

ROOT::Experimental::RHistDrawingOpts< 1 >::RHistDrawingOpts ( )
inline

Definition at line 42 of file RHistDrawingOpts.hxx.

Member Function Documentation

◆ BarLine()

Definition at line 51 of file RHistDrawingOpts.hxx.

◆ GetStyle()

EStyle ROOT::Experimental::RHistDrawingOpts< 1 >::GetStyle ( ) const
inline

Definition at line 48 of file RHistDrawingOpts.hxx.

◆ Line()

Definition at line 50 of file RHistDrawingOpts.hxx.

◆ SetStyle()

void ROOT::Experimental::RHistDrawingOpts< 1 >::SetStyle ( EStyle  style)
inline

The drawing style.

Definition at line 47 of file RHistDrawingOpts.hxx.

◆ UncertaintyLine()

RAttrLine ROOT::Experimental::RHistDrawingOpts< 1 >::UncertaintyLine ( )
inline

Definition at line 52 of file RHistDrawingOpts.hxx.

Libraries for ROOT::Experimental::RHistDrawingOpts< 1 >:
[legend]

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