Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RAttrBase.hxx File Reference
#include <ROOT/RAttrMap.hxx>
#include <ROOT/RStyle.hxx>
#include <ROOT/RDrawable.hxx>
Include dependency graph for RAttrBase.hxx:
This graph shows which files directly or indirectly include this file:

Classes

class  ROOT::Experimental::RAttrBase
 Base class for all attributes, used with RDrawable. More...
 
struct  ROOT::Experimental::RAttrBase::Rec_t
 
struct  ROOT::Experimental::RAttrBase::Val_t
 

Namespaces

namespace  ROOT
 tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7
 
namespace  ROOT::Experimental
 

Macros

#define R__ATTR_CLASS(ClassName, dflt_prefix)
 

Functions

RLogChannelROOT::Experimental::GPadLog ()
 Log channel for GPad diagnostics.
 

Macro Definition Documentation

◆ R__ATTR_CLASS

#define R__ATTR_CLASS (   ClassName,
  dflt_prefix 
)
Value:
protected: \
const RAttrMap &GetDefaults() const override \
{ \
static auto dflts = CollectDefaults(); \
return dflts; \
} \
public: \
ClassName() = default; \
ClassName(RDrawable *drawable, const std::string &prefix = dflt_prefix) { AssignDrawable(drawable, prefix); } \
ClassName(RAttrBase *parent, const std::string &prefix = dflt_prefix) { AssignParent(parent, prefix); } \
ClassName(const ClassName &src) : ClassName() { src.CopyTo(*this); } \
ClassName(ClassName &&src) : ClassName() { src.MoveTo(*this); } \
ClassName &operator=(ClassName &&src) { src.MoveTo(*this); return *this; } \
ClassName &operator=(const ClassName &src) { Clear(); src.CopyTo(*this); return *this; } \
Binding & operator=(OUT(*fun)(void))
RooCmdArg ClassName(const char *name)

Definition at line 197 of file RAttrBase.hxx.