38 double d1=0.0,
double d2=0.0,
39 const char*
s1=
nullptr,
const char* s2=
nullptr,
59 if (newName) { newarg->
SetName(newName) ; }
96 return (!
_s[idx].empty()) ?
_s[idx].c_str() : nullptr ;
105 void Print(
const char* =
"")
const override;
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Named container for two doubles, two integers two object points and three string pointers that can be...
const RooArgSet * getSet(Int_t idx) const
Return RooArgSet stored in slot idx.
RooArgSet * _c
Payload RooArgSets.
double getDouble(Int_t idx) const
Return double stored in slot idx.
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.
Int_t _i[2]
Payload integers.
RooLinkedList const & subArgs() const
Return list of sub-arguments in this RooCmdArg.
void setObject(Int_t idx, TObject *value)
void setInt(Int_t idx, Int_t value)
RooCmdArg & operator=(const RooCmdArg &other)
Assignment operator.
static const RooCmdArg & none()
Return reference to null argument.
Int_t getInt(Int_t idx) const
void setSet(Int_t idx, const RooArgSet &set)
RooLinkedList & subArgs()
Return list of sub-arguments in this RooCmdArg.
std::string _s[3]
Payload strings.
bool prefixSubArgs() const
bool _procSubArgs
If true argument requires recursive processing.
RooCmdArg()
Default constructor.
TObject * _o[2]
Payload objects.
const char * opcode() const
static const RooCmdArg _none
Static instance of null object.
double _d[2]
Payload doubles.
TObject * Clone(const char *newName=nullptr) const override
Make a clone of an object using the Streamer facility.
bool _prefixSubArgs
Prefix sub-arguments with container name?
void setProcessRecArgs(bool flag, bool prefix=true)
~RooCmdArg() override
Destructor.
const char * getString(Int_t idx) const
Return string stored in slot idx.
void setDouble(Int_t idx, double value)
void setString(Int_t idx, const char *value)
const TObject * getObject(Int_t idx) const
Return TObject stored in slot idx.
RooLinkedList is an collection class for internal use, storing a collection of RooAbsArg pointers in ...
The TNamed class is the base class for all named ROOT classes.
const char * GetName() const override
Returns name of object.
virtual void SetName(const char *name)
Set the name of the TNamed.
Mother of all ROOT objects.