49 dstlen = src ? std::strlen(src) : 0;
51 char *buf = dstlen ?
new char[dstlen] : 0;
52 if (buf) std::strcpy(buf, src);
118 if (&other ==
this)
return kFALSE;
129 assert(inc > 0 ||
_len >= -inc);
130 int newsz =
_len + inc;
131 if (newsz <= 1 || !
_len) newsz = 0;
132 char* newbuf = newsz ?
new char[newsz] : 0;
135 newbuf[newsz - 1] = 0;
157 if (0 == argSet.
getSize())
return;
173 std::strcpy(p,
name);
197 char* token = std::strtok(tmp,
":");
200 if (arg)
output->add(*arg);
201 token = std::strtok(0,
":");
229 os << IsA()->GetName();
static RooMathCoreReg dummy
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
RooFIter fwdIterator() const R__SUGGEST_ALTERNATIVE("begin()
One-time forward iterator.
void sort(Bool_t reverse=false)
Sort collection using std::sort and name comparison.
RooAbsArg * find(const char *name) const
Find object with given name in list.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
A one-time forward iterator working on RooLinkedList or RooAbsCollection.
RooNameSet is a utility class that stores the names the objects in a RooArget.
virtual void printValue(std::ostream &os) const
Print value of nameset, i.e the list of names.
RooArgSet * select(const RooArgSet &list) const
Construct a RooArgSet of objects in input 'list' whose names match to those in the internal name list...
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
virtual void printTitle(std::ostream &os) const
Print title of nameset.
Bool_t operator<(const RooNameSet &other) const
void setNameList(const char *givenList)
void refill(const RooArgSet &argSet)
Refill internal contents from names in given argSet.
virtual void printName(std::ostream &os) const
Print name of nameset.
RooNameSet()
Default constructor.
const char * content() const
void extendBuffer(Int_t inc)
virtual void printClassName(std::ostream &os) const
Print class name of nameset.
RooNameSet & operator=(const RooNameSet &)
Assignment operator.
Bool_t operator==(const RooNameSet &other) const
Comparison operator.
virtual ~RooNameSet()
Destructor.
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods.
virtual const char * GetName() const
Returns name of object.
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
virtual const char * GetTitle() const
Returns title of object.
static void output(int code)