12 #ifndef ROOT_TClassRef 13 #define ROOT_TClassRef 51 if (
this != &rhs && (fClassPtr == 0 || fClassPtr != rhs.
fClassPtr)) {
58 if ( this->fClassPtr==0 || *(this->fClassPtr) != rhs) {
67 if ( fClassPtr && fClassName != new_name )
Reset();
68 fClassName = new_name;
TClass *const * fClassPtr
void SetName(const char *new_name)
TClassRef & operator=(const TClassRef &rhs)
const char * GetClassName()
TClass * operator->() const
TClass * GetClass() const
void Assign(const TClassRef &)
Assignment operator implementation, increases reference count to original class object.
The ROOT global object gROOT contains a list of all defined classes.
TClass * InternalGetClass() const
Return the current TClass object corresponding to fClassName.
TClassRef is used to implement a permanent reference to a TClass object.
TClassRef & operator=(TClass *rhs)