27namespace STLRefCountListHelpers {
36 for (
RooAbsArg * elm = it.next(); elm !=
nullptr; elm = it.next()) {
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
RooFIter fwdIterator() const
Create a one-time-use forward iterator for this list.
A RooRefCountList is a RooLinkedList that keeps a reference counter with each added node.
Int_t refCount(TObject *obj) const
Return reference count associated with 'obj'.
void Add(T *obj, std::size_t initialCount=1)
Add an object or increase refCount if it is already present.
void reserve(std::size_t amount)
RooSTLRefCountList< RooAbsArg > convert(const RooRefCountList &old)
Converter from the old RooRefCountList to RooSTLRefCountList.
Template specialisation used in RooAbsArg: