77 const char* s1,
const char* s2,
const TObject* o1,
const TObject* o2,
93 if (c1)
_c[0].
add(*c1) ;
94 if (c2)
_c[1].
add(*c2) ;
111 _i[0] = other.
_i[0] ;
112 _i[1] = other.
_i[1] ;
113 _d[0] = other.
_d[0] ;
114 _d[1] = other.
_d[1] ;
115 _s[0] = other.
_s[0] ;
116 _s[1] = other.
_s[1] ;
117 _s[2] = other.
_s[2] ;
118 _o[0] = other.
_o[0] ;
119 _o[1] = other.
_o[1] ;
141 if (&other==
this)
return *this ;
146 _i[0] = other.
_i[0] ;
147 _i[1] = other.
_i[1] ;
148 _d[0] = other.
_d[0] ;
149 _d[1] = other.
_d[1] ;
150 _s[0] = other.
_s[0] ;
151 _s[1] = other.
_s[1] ;
152 _s[2] = other.
_s[2] ;
153 _o[0] = other.
_o[0] ;
154 _o[1] = other.
_o[1] ;
179 if (
_c)
delete[]
_c ;
198 return _c ? &
_c[idx] : 0 ;
virtual const char * GetTitle() const
Returns title of object.
void setSet(Int_t idx, const RooArgSet &set)
virtual ~RooCmdArg()
Destructor.
virtual void SetName(const char *name)
Change (i.e.
static const RooCmdArg & none()
Return reference to null argument.
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
The TNamed class is the base class for all named ROOT classes.
RooCmdArg & operator=(const RooCmdArg &other)
Assignment operator.
virtual void Add(TObject *arg)
virtual const char * GetName() const
Returns name of object.
void Delete(Option_t *o=0)
Remove all elements in collection and delete all elements NB: Collection does not own elements...
RooCmdArg()
Default constructor.
void addArg(const RooCmdArg &arg)
Utility function to add nested RooCmdArg to payload of this RooCmdArg.
TObject * At(Int_t index) const
Return object stored in sequential position given by index.
Mother of all ROOT objects.
const RooArgSet * getSet(Int_t idx) const
Return RooArgSet stored in slot idx.
static const RooCmdArg _none
virtual void SetTitle(const char *title="")
Change (i.e. set) the title of the TNamed.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add element to non-owning set.