12 #ifndef ROOT_THashList 13 #define ROOT_THashList void AddFirst(TObject *obj)
Add object at the beginning of the list.
void AddLast(TObject *obj)
Add object at the end of the list.
void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
Float_t AverageCollisions() const
Return the average collision rate.
TObject * FindObject(const char *name) const
Find object using its name.
THashList & operator=(const THashList &)
void RecursiveRemove(TObject *obj)
Remove object from this collection and recursively remove the object from all other objects (and coll...
THashTable implements a hash table to store TObject's.
#define ClassDef(name, id)
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
const TList * GetListForObject(const char *name) const
Return the THashTable's list (bucket) in which obj can be found based on its hash; see THashTable::Ge...
THashList(const THashList &)
void Clear(Option_t *option="")
Remove all objects from the list.
void AddAt(TObject *obj, Int_t idx)
Insert object at location idx in the list.
TObject * Remove(TObject *obj)
Remove object from the list.
void AddAfter(const TObject *after, TObject *obj)
Insert object after object after in the list.
void Rehash(Int_t newCapacity)
Rehash the hashlist.
virtual ~THashList()
Delete a hashlist.
Wrapper around a TObject so it can be stored in a TList.
void AddBefore(const TObject *before, TObject *obj)
Insert object before object before in the list.
Mother of all ROOT objects.