16#ifndef ROO_REF_COUNT_LIST
17#define ROO_REF_COUNT_LIST
#define ClassDefOverride(name, id)
RooLinkedList is an collection class for internal use, storing a collection of RooAbsArg pointers in ...
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'.
RooRefCountList()
Default constructor construct lists with initial hash table size of 17.
void Add(TObject *arg) override
bool Remove(TObject *obj) override
Remove object from list and if reference count reaches zero delete object itself as well.
~RooRefCountList() override
virtual bool RemoveAll(TObject *obj)
Remove object from list and delete object itself regardless of reference count.
Mother of all ROOT objects.