78 const char* s1,
const char* s2,
const TObject* o1,
const TObject* o2,
94 if (c1)
_c[0].
add(*c1) ;
95 if (c2)
_c[1].
add(*c2) ;
112 _i[0] = other.
_i[0] ;
113 _i[1] = other.
_i[1] ;
114 _d[0] = other.
_d[0] ;
115 _d[1] = other.
_d[1] ;
116 _s[0] = other.
_s[0] ;
117 _s[1] = other.
_s[1] ;
118 _s[2] = other.
_s[2] ;
119 _o[0] = other.
_o[0] ;
120 _o[1] = other.
_o[1] ;
142 if (&other==
this)
return *this ;
147 _i[0] = other.
_i[0] ;
148 _i[1] = other.
_i[1] ;
149 _d[0] = other.
_d[0] ;
150 _d[1] = other.
_d[1] ;
151 _s[0] = other.
_s[0] ;
152 _s[1] = other.
_s[1] ;
153 _s[2] = other.
_s[2] ;
154 _o[0] = other.
_o[0] ;
155 _o[1] = other.
_o[1] ;
180 if (
_c)
delete[]
_c ;
199 return _c ? &
_c[idx] : 0 ;
virtual const char * GetName() const
Returns name of object.
virtual Bool_t add(const RooAbsCollection &col, Bool_t silent=kFALSE)
Add a collection of arguments to this collection by calling add() for each element in the source coll...
void setSet(Int_t idx, const RooArgSet &set)
virtual ~RooCmdArg()
Destructor.
virtual void SetName(const char *name)
Set the name of the TNamed.
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)
TObject * At(Int_t index) const
Return object stored in sequential position given by index.
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.
Mother of all ROOT objects.
static const RooCmdArg _none
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
const RooArgSet * getSet(Int_t idx) const
Return RooArgSet stored in slot idx.
virtual const char * GetTitle() const
Returns title of object.
RooCmdArg is a named container for two doubles, two integers two object points and three string point...