9#ifndef ROOT7_Browsable_TObjectHolder
10#define ROOT7_Browsable_TObjectHolder
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
Basic class for object holder of any kind.
Holder of TObject instance.
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.
Int_t GetBaseClassOffset(const TClass *toBase, void *address=nullptr, bool isDerivedObject=true)
Mother of all ROOT objects.
virtual TClass * IsA() const
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.