115 _sharedData{other._sharedData}
117 _i[0] = other.
_i[0] ;
118 _i[1] = other.
_i[1] ;
119 _d[0] = other.
_d[0] ;
120 _d[1] = other.
_d[1] ;
121 _s[0] = other.
_s[0] ;
122 _s[1] = other.
_s[1] ;
123 _s[2] = other.
_s[2] ;
124 _o[0] = other.
_o[0] ;
125 _o[1] = other.
_o[1] ;
147 if (&other==
this)
return *this ;
154 _i[0] = other.
_i[0] ;
155 _i[1] = other.
_i[1] ;
156 _d[0] = other.
_d[0] ;
157 _d[1] = other.
_d[1] ;
158 _s[0] = other.
_s[0] ;
159 _s[1] = other.
_s[1] ;
160 _s[2] = other.
_s[2] ;
161 _o[0] = other.
_o[0] ;
162 _o[1] = other.
_o[1] ;
187 if (
_c)
delete[]
_c ;
206 return _c ? &
_c[idx] : 0 ;
227 <<
":\ndoubles\t" <<
_d[0] <<
" " <<
_d[1]
228 <<
"\nints\t" <<
_i[0] <<
" " <<
_i[1]
229 <<
"\nstrings\t" <<
_s[0] <<
" " <<
_s[1] <<
" " <<
_s[2]
230 <<
"\nobjects\t" <<
_o[0] <<
" " <<
_o[1] << std::endl;
virtual void removeAll()
Remove all arguments from our set, deleting them if we own them.
virtual bool add(const RooAbsArg &var, bool silent=false)
Add the specified argument to list.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooCmdArg is a named container for two doubles, two integers two object points and three string point...
const RooArgSet * getSet(Int_t idx) const
Return RooArgSet stored in slot idx.
RooArgSet * _c
Payload RooArgSets.
void Print(const char *="") const override
Print contents.
RooLinkedList _argList
Payload sub-arguments.
void addArg(const RooCmdArg &arg)
Utility function to add nested RooCmdArg to payload of this RooCmdArg.
std::shared_ptr< DataCollection > _sharedData
!
Int_t _i[2]
Payload integers.
RooCmdArg & operator=(const RooCmdArg &other)
Assignment operator.
static const RooCmdArg & none()
Return reference to null argument.
static DataCollection _nextSharedData
void setSet(Int_t idx, const RooArgSet &set)
std::string _s[3]
Payload strings.
bool _procSubArgs
If true argument requires recursive processing.
RooCmdArg()
Default constructor.
TObject * _o[2]
Payload objects.
static const RooCmdArg _none
Static instance of null object.
double _d[2]
Payload doubles.
std::vector< std::unique_ptr< TObject > > DataCollection
bool _prefixSubArgs
Prefix sub-arguments with container name?
~RooCmdArg() override
Destructor.
static DataCollection & getNextSharedData()
TObject * At(int index) const
Return object stored in sequential position given by index.
void Delete(Option_t *o=0) override
Remove all elements in collection and delete all elements NB: Collection does not own elements,...
virtual void Add(TObject *arg)
The TNamed class is the base class for all named ROOT classes.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
const char * GetName() const override
Returns name of object.
const char * GetTitle() const override
Returns title of object.
virtual void SetName(const char *name)
Set the name of the TNamed.
Mother of all ROOT objects.