ROOT logo
ROOT » CORE » META » TClassRef

class TClassRef


TClassRef

Reference to a TClass object and intrusive list of other
to thise same TClass object references


Function Members (Methods)

public:
TClassRef()
TClassRef(TClass* cl)
TClassRef(const char* classname)
TClassRef(const TClassRef&)
~TClassRef()
TClass*GetClass() const
const char*GetClassName()
TClass*operator TClass*() const
TClass*operator->() const
TClassRef&operator=(const TClassRef&)
TClassRef&operator=(TClass*)
voidReset()
voidSetName(const char* new_name)
private:
TClass*InternalGetClass() const
voidListReset()

Data Members

private:
stringfClassNameName of referenced class
TClass*fClassPtr! Ptr to the TClass object
TClassRef*fNext! link to the next refs
TClassRef*fPrevious! link to the previous refs

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TClass * InternalGetClass() const
void ListReset()
TClassRef()
{}
TClassRef(TClass *cl)
TClassRef(const char *classname)
TClassRef(const TClassRef&)
TClassRef & operator=(const TClassRef&)
TClassRef & operator=(TClass*)
~TClassRef()
{ if (fClassPtr) fClassPtr->RemoveRef(this); }
void SetName(const char* new_name)
const char * GetClassName()
{ return fClassName.c_str(); }
TClass * GetClass() const
void Reset()
{ if (fClassPtr) fClassPtr->RemoveRef(this); fClassPtr = 0; }
TClass* operator->() const
operator TClass*() const