Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TVirtualObject Class Reference

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.

Definition at line 26 of file TVirtualObject.h.

Public Member Functions

 TVirtualObject (TClass *cl)
 
 ~TVirtualObject ()
 
TClassGetClass () const
 
void * GetObject () const
 

Public Attributes

TClassRef fClass
 
void * fObject
 

Private Member Functions

 TVirtualObject (const TVirtualObject &)=delete
 
TVirtualObjectoperator= (const TVirtualObject &)=delete
 

#include <TVirtualObject.h>

Constructor & Destructor Documentation

◆ TVirtualObject() [1/2]

TVirtualObject::TVirtualObject ( const TVirtualObject )
privatedelete

◆ TVirtualObject() [2/2]

TVirtualObject::TVirtualObject ( TClass cl)
inline

Definition at line 36 of file TVirtualObject.h.

◆ ~TVirtualObject()

TVirtualObject::~TVirtualObject ( )
inline

Definition at line 37 of file TVirtualObject.h.

Member Function Documentation

◆ GetClass()

TClass * TVirtualObject::GetClass ( ) const
inline

Definition at line 40 of file TVirtualObject.h.

◆ GetObject()

void * TVirtualObject::GetObject ( ) const
inline

Definition at line 41 of file TVirtualObject.h.

◆ operator=()

TVirtualObject & TVirtualObject::operator= ( const TVirtualObject )
privatedelete

Member Data Documentation

◆ fClass

TClassRef TVirtualObject::fClass

Definition at line 33 of file TVirtualObject.h.

◆ fObject

void* TVirtualObject::fObject

Definition at line 34 of file TVirtualObject.h.

Libraries for TVirtualObject:

The documentation for this class was generated from the following file: