12 #ifndef ROOT_TClassRef 13 #define ROOT_TClassRef 55 if (
this != &rhs && (fClassPtr == 0 || fClassPtr != rhs.
fClassPtr)) {
62 if ( this->fClassPtr==0 || *(this->fClassPtr) != rhs) {
71 if ( fClassPtr && fClassName != new_name )
Reset();
72 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)