9#ifndef ROOT7_Browsable_TObjectHolder
10#define ROOT7_Browsable_TObjectHolder
15namespace Experimental {
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.
void * AccessObject() final
Returns plain object pointer without care about ownership, should not be used often.
TObjectHolder(TObject *obj, bool owner=false)
bool fOwner
! is TObject owner
const TClass * GetClass() const final
Returns class of contained object.
void ClearROOTOwnership(TObject *obj)
Check if object is not registered in some global lists Prevent double deletion.
TObject * fObj
! plain holder without IO
void * fAdjusted
! pointer on real class returned by fObj->IsA()
RHolder * DoCopy() const final
Create copy of container, works only when pointer can be shared.
const void * GetObject() const final
Returns direct (temporary) object pointer.
void * TakeObject() final
Return TObject instance with ownership If object is not owned by the holder, it will be cloned (excep...
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.