51 dstlen = src ? std::strlen(src) : 0;
53 char *buf = dstlen ?
new char[dstlen] : 0;
54 if (buf) std::strcpy(buf, src);
120 if (&other ==
this)
return kFALSE;
132 int newsz =
_len + inc;
133 if (newsz <= 1 || !
_len) newsz = 0;
134 char* newbuf = newsz ?
new char[newsz] : 0;
137 newbuf[newsz - 1] = 0;
159 if (0 == argSet.
getSize())
return;
175 std::strcpy(p, name);
199 char* token = std::strtok(tmp,
":");
202 if (arg) output->
add(*arg);
203 token = std::strtok(0,
":");
static void strdup(Int_t &dstlen, char *&dstbuf, const char *str)
copy src to dst, keep dstlen up to date, make sure zero length strings do not take memory ...
void sort(Bool_t reverse=kFALSE)
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
RooNameSet()
Default constructor.
virtual void printClassName(std::ostream &os) const
Print class name of nameset.
RooFIter fwdIterator() const
void setNameList(const char *givenList)
RooNameSet & operator=(const RooNameSet &)
Assignment operator.
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods...
virtual void printName(std::ostream &os) const
Print name of nameset.
void extendBuffer(Int_t inc)
virtual ~RooNameSet()
Destructor.
Bool_t operator==(const RooNameSet &other) const
Comparison operator.
RooNameSet is a utility class that stores the names the objects in a RooArget.
virtual void printTitle(std::ostream &os) const
Print title of nameset.
RooAbsArg * find(const char *name) const
Find object with given name in list.
virtual const char * GetName() const
Returns name of object.
void refill(const RooArgSet &argSet)
Refill internal contents from names in given argSet.
virtual const char * GetName() const
Returns name of object.
static RooMathCoreReg dummy
virtual void printValue(std::ostream &os) const
Print value of nameset, i.e the list of names.
Mother of all ROOT objects.
const char * content() const
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
static void output(int code)
RooArgSet * select(const RooArgSet &list) const
Construct a RooArgSet of objects in input 'list' whose names match to those in the internal name list...
virtual const char * GetTitle() const
Returns title of object.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add element to non-owning set.
Bool_t operator<(const RooNameSet &other) const