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