72 if(ptr != 0) ptr->Grab();
90 if(ptr != 0) ptr->Grab();
99 return (*
this) = ptr.
fPtr;
112 operator T*()
const {
return fPtr;}
A reference counting-managed pointer for classes derived from TGeoExtension which can be used as C po...
TGeoRCPtr & operator=(T *ptr)
TGeoRCPtr & operator=(const TGeoRCPtr &ptr)
bool operator==(const T *ptr)
TGeoRCPtr(const TGeoRCPtr &ptr)
bool operator==(const TGeoRCPtr &ptr)