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