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 * 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.
RooCmdArg is a named container for two doubles, two integers two object points and three string point...