12#ifndef ROOT_TObjectTable
13#define ROOT_TObjectTable
#define ClassDef(name, id)
R__EXTERN TObjectTable * gObjectTable
TClass instances represent classes, structs and namespaces in the ROOT type system.
This class registers all instances of TObject and its derived classes in a hash table.
void InstanceStatistics() const
Print the object table.
void Delete(Option_t *opt="")
Delete all objects stored in the TObjectTable.
Int_t FindElement(TObject *obj)
Find an object in the object table.
void Print(Option_t *option="") const
Print the object table.
void Terminate()
Deletes the object table (this static class function calls the dtor).
TObjectTable & operator=(const TObjectTable &)=delete
~TObjectTable()
Delete TObjectTable.
void Remove(TObject *obj)
Remove an object from the object table.
void * CheckPtrAndWarn(const char *msg, void *vp)
Issue a warning in case an object still appears in the table while it should not.
void UpdateInstCount() const
Histogram all objects according to their classes.
TObjectTable(const TObjectTable &)=delete
void FixCollisions(Int_t index)
Rehash the object table in case an object has been removed.
void Add(TObject *obj)
Add an object to the object table.
Bool_t PtrIsValid(TObject *obj)
static void AddObj(TObject *obj)
Add an object to the global object table gObjectTable.
void Expand(Int_t newsize)
Expand the object table.
void RemoveQuietly(TObject *obj)
Remove an object from the object table.
Mother of all ROOT objects.