Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | List of all members
ROOT::Experimental::RAttrBox Class Reference

class ROOT::Experimental::RAttrBox Drawing attributes for a box: rectangular lines with size and position.

Definition at line 31 of file RAttrBox.hxx.

Public Member Functions

RAttrLine Border () const
 
RAttrLine Bottom () const
 Overrides Border() for the bottom line. More...
 
RAttrLine Left () const
 Overrides Border() for the left line. More...
 
 RDrawingAttrBase ()=default
 Construct a default, unnamed, unconnected attribute. More...
 
 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...
 
RAttrLine Right () const
 Overrides Border() for the right line. More...
 
RAttrLine Top () const
 Overrides Border() for the top line.. 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 >
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 PathGetPath () 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...
 
RDrawingAttrBaseoperator= (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

- 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< RDrawingAttrHolderfHolder
 The container of the attribute values. More...
 
Path fPath
 The chain of attribute names, as used in style files. More...
 

#include <ROOT/RAttrBox.hxx>

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

Member Function Documentation

◆ Border()

RAttrLine ROOT::Experimental::RAttrBox::Border ( ) const
inline

Definition at line 35 of file RAttrBox.hxx.

◆ Bottom()

RAttrLine ROOT::Experimental::RAttrBox::Bottom ( ) const
inline

Overrides Border() for the bottom line.

Definition at line 41 of file RAttrBox.hxx.

◆ Left()

RAttrLine ROOT::Experimental::RAttrBox::Left ( ) const
inline

Overrides Border() for the left line.

Definition at line 43 of file RAttrBox.hxx.

◆ RDrawingAttrBase() [1/7]

ROOT::Experimental::RDrawingAttrBase::RDrawingAttrBase ( )
default

Construct a default, unnamed, unconnected attribute.

◆ RDrawingAttrBase() [2/7]

ROOT::Experimental::RDrawingAttrBase::RDrawingAttrBase ( const Name name)
inline

Construct a named attribute that does not have a parent; e.g.

because it's the top-most attribute in a drawing option object.

Definition at line 161 of file RDrawingAttr.hxx.

◆ RDrawingAttrBase() [3/7]

ROOT::Experimental::RDrawingAttrBase::RDrawingAttrBase ( const Name name,
const RDrawingAttrBase parent 
)

Construct a named attribute that has a parent, e.g.

because it's some line attribute of the histogram attributes.

Definition at line 165 of file RDrawingAttr.cxx.

◆ RDrawingAttrBase() [4/7]

ROOT::Experimental::RDrawingAttrBase::RDrawingAttrBase ( const Name name,
RDrawingOptsBase opts 
)
inline

Construct a top-most attribute from its holder.

If this is ambiguous, use the tag overload taking an FromOption_t.

Definition at line 175 of file RDrawingAttr.hxx.

◆ RDrawingAttrBase() [5/7]

ROOT::Experimental::RDrawingAttrBase::RDrawingAttrBase ( const RDrawingAttrBase other)
default

Construct as a copy.

◆ RDrawingAttrBase() [6/7]

ROOT::Experimental::RDrawingAttrBase::RDrawingAttrBase ( FromOption_t  ,
const Name name,
RDrawingOptsBase opts 
)

Construct a top-most attribute from its holder.

Definition at line 171 of file RDrawingAttr.cxx.

◆ RDrawingAttrBase() [7/7]

ROOT::Experimental::RDrawingAttrBase::RDrawingAttrBase ( RDrawingAttrBase &&  other)
default

Construct as a moved-to.

◆ Right()

RAttrLine ROOT::Experimental::RAttrBox::Right ( ) const
inline

Overrides Border() for the right line.

Definition at line 39 of file RAttrBox.hxx.

◆ Top()

RAttrLine ROOT::Experimental::RAttrBox::Top ( ) const
inline

Overrides Border() for the top line..

Definition at line 37 of file RAttrBox.hxx.

Libraries for ROOT::Experimental::RAttrBox:
[legend]

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