9#ifndef ROOT7_Browsable_TObjectHolder
10#define ROOT7_Browsable_TObjectHolder
Basic class for object holder of any kind.
TObjectHolder(TObject *obj, bool owner=false)
RHolder * DoCopy() const final
Create copy of container, works only when pointer can be shared.
void Forget() final
Clear all pointers without performing cleanup.
const TClass * GetClass() const final
Returns class of contained object.
TObject * fObj
! plain holder without IO
const void * GetObject() const final
Returns direct (temporary) object pointer.
void * AccessObject() final
Returns plain object pointer without care about ownership, should not be used often.
void ClearROOTOwnership(TObject *obj)
Check if object is not registered in some global lists Prevent double deletion.
void * fAdjusted
! pointer on real class returned by fObj->IsA()
void * TakeObject() final
Return TObject instance with ownership If object is not owned by the holder, it will be cloned (excep...
bool fOwner
! is TObject owner
TClass instances represent classes, structs and namespaces in the ROOT type system.
Mother of all ROOT objects.