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...
TGeoRCPtr & operator=(T *ptr)
TGeoRCPtr & operator=(const TGeoRCPtr &ptr)
bool operator==(const T *ptr)
TGeoRCPtr(const TGeoRCPtr &ptr)
bool operator==(const TGeoRCPtr &ptr)