34 const char* s1=0,
const char* s2=0,
53 if (newName) { newarg->
SetName(newName) ; }
90 return (
_s[idx].size()>0) ?
_s[idx].c_str() : 0 ;
void setSet(Int_t idx, const RooArgSet &set)
virtual ~RooCmdArg()
Destructor.
void setString(Int_t idx, const char *value)
virtual void SetName(const char *name)
Change (i.e.
const char * opcode() const
const char * getString(Int_t idx) const
virtual TObject * Clone(const char *newName=0) const
Make a clone of an object using the Streamer facility.
Double_t getDouble(Int_t idx) const
static const RooCmdArg & none()
Return reference to null argument.
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
void setProcessRecArgs(Bool_t flag, Bool_t prefix=kTRUE)
RooCmdArg & operator=(const RooCmdArg &other)
Assignment operator.
Int_t getInt(Int_t idx) const
virtual const char * GetName() const
Returns name of object.
void setDouble(Int_t idx, Double_t value)
void setInt(Int_t idx, Int_t value)
RooCmdArg()
Default constructor.
void addArg(const RooCmdArg &arg)
Utility function to add nested RooCmdArg to payload of this RooCmdArg.
const TObject * getObject(Int_t idx) const
Mother of all ROOT objects.
const RooArgSet * getSet(Int_t idx) const
Return RooArgSet stored in slot idx.
static const RooCmdArg _none
RooLinkedList & subArgs()
void setObject(Int_t idx, TObject *value)