ROOT » IO » IO » TVirtualObject

class TVirtualObject


TVirtualObject

Wrapper around an object and giving indirect access to its content
even if the object is not of a class in the Cint/Reflex dictionary.


Function Members (Methods)

public:
~TVirtualObject()
TClass*GetClass() const
void*GetObject() const
TVirtualObject(TClass* cl)

Data Members

public:
TClassReffClass
void*fObject

Class Charts

Inheritance Chart:
TVirtualObject

Function documentation

TVirtualObject(const TVirtualObject& )
TVirtualObject & operator=(const TVirtualObject& )
TVirtualObject(TClass* cl)
{ }
~TVirtualObject()
{ if (fClass) fClass->Destructor(fObject); }
TClass * GetClass() const
{ return fClass; }
void * GetObject() const
{ return fObject; }