RooLinkedListElem is an link element for the RooLinkedList class.
RooLinkedList is an collection class for internal use, storing a collection of RooAbsArg pointers in ...
RooLinkedListElem * findLink(const TObject *arg) const
Find the element link containing the given object.
virtual void Add(TObject *arg)
TObject * FindObject(const char *name) const override
Return pointer to obejct with given name.
virtual bool Remove(TObject *arg)
Remove object from collection.
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.
virtual bool RemoveAll(TObject *obj)
Remove object from list and delete object itself regardless of reference count.
Mother of all ROOT objects.