16#ifndef ROO_REF_COUNT_LIST
17#define ROO_REF_COUNT_LIST
#define ClassDef(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.
virtual void Add(TObject *arg)
virtual Bool_t RemoveAll(TObject *obj)
Remove object from list and delete object itself regardless of reference count.
virtual ~RooRefCountList()
virtual Bool_t Remove(TObject *obj)
Remove object from list and if reference count reaches zero delete object itself as well.
Mother of all ROOT objects.