ROOT logo
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* cl)
~TVirtualObject()
TClass*GetClass() const
void*GetObject() const

Data Members

public:
TClassReffClass
void*fObject

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

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; }