12#ifndef ROOT_TObjectSpy
13#define ROOT_TObjectSpy
#define ClassDef(name, id)
TObject * GetObject() const
TObjectRefSpy(const TObjectRefSpy &s)
TObjectRefSpy & operator=(const TObjectRefSpy &s)
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
TObjectSpy & operator=(const TObjectSpy &s)
Bool_t fResetMustCleanupBit
TObjectSpy(const TObjectSpy &s)
virtual ~TObjectSpy()
Cleanup.
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.
static constexpr double s