12#ifndef ROOT_TObjectSpy
13#define ROOT_TObjectSpy
#define ClassDef(name, id)
TObject * GetObject() const
TObjectRefSpy & operator=(const TObjectRefSpy &s)=delete
TObjectRefSpy(const TObjectRefSpy &s)=delete
virtual ~TObjectRefSpy()
Cleanup.
Bool_t fResetMustCleanupBit
virtual void RecursiveRemove(TObject *obj)
Sets the object pointer to zero if the object is deleted in the RecursiveRemove() operation.
Monitors objects for deletion and reflects the deletion by reverting the internal pointer to zero.
TObject * GetObject() const
Bool_t fResetMustCleanupBit
TObjectSpy & operator=(const TObjectSpy &s)=delete
virtual ~TObjectSpy()
Cleanup.
TObjectSpy(const TObjectSpy &s)=delete
void SetObject(TObject *obj, Bool_t fixMustCleanupBit=kTRUE)
Set obj as the spy target.
virtual void RecursiveRemove(TObject *obj)
Sets the object pointer to zero if the object is deleted in the RecursiveRemove() operation.
Mother of all ROOT objects.