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& rhs)
TClassRef&operator=(TClass* rhs)
voidReset()
voidSetName(const char* new_name)
private:
voidAssign(const TClassRef&)
voidAssign(TClass*)
TClass*InternalGetClass() const

Data Members

private:
stringfClassNameName of referenced class
TClass**fClassPtr! Ptr to the permanent TClass ptr/reference

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

void Assign(const TClassRef& )
void Assign(TClass* )
TClass * InternalGetClass() const
TClassRef()
{}
TClassRef(TClass* cl)
TClassRef(const char* classname)
TClassRef(const TClassRef& )
TClassRef & operator=(const TClassRef& rhs)
 Inline implementation of operator= to speed the no-op case.
TClassRef & operator=(TClass* rhs)
 Inline implementation of operator= to speed the no-op case.
~TClassRef()
{ }
void SetName(const char* new_name)
const char * GetClassName()
{ return fClassName.c_str(); }
TClass * GetClass() const
void Reset()
{ fClassPtr = 0; }
TClass* operator->() const
operator TClass*() const