Logo ROOT   6.08/07
Reference Guide
List of all members | Public Member Functions | Public Attributes | List of all members
TVirtualArray 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 TVirtualArray.h.

Public Member Functions

 TVirtualArray (TClass *cl, UInt_t size)
 ~TVirtualArray ()
TClassGetClass ()
char * GetObjectAt (UInt_t ind) const
char * operator[] (UInt_t ind) const
void SetSize (UInt_t size)

Public Attributes

char * fArray
 [fSize] More...
UInt_t fCapacity
TClassRef fClass
UInt_t fSize

#include <TVirtualArray.h>

Constructor & Destructor Documentation

◆ TVirtualArray()

TVirtualArray::TVirtualArray ( TClass cl,
UInt_t  size 

Definition at line 33 of file TVirtualArray.h.

◆ ~TVirtualArray()

TVirtualArray::~TVirtualArray ( )

Definition at line 34 of file TVirtualArray.h.

Member Function Documentation

◆ GetClass()

TClass* TVirtualArray::GetClass ( )

Definition at line 36 of file TVirtualArray.h.

◆ GetObjectAt()

char* TVirtualArray::GetObjectAt ( UInt_t  ind) const

Definition at line 38 of file TVirtualArray.h.

◆ operator[]()

char* TVirtualArray::operator[] ( UInt_t  ind) const

Definition at line 37 of file TVirtualArray.h.

◆ SetSize()

void TVirtualArray::SetSize ( UInt_t  size)

Definition at line 40 of file TVirtualArray.h.

Member Data Documentation

◆ fArray

char* TVirtualArray::fArray


Definition at line 31 of file TVirtualArray.h.

◆ fCapacity

UInt_t TVirtualArray::fCapacity

Definition at line 29 of file TVirtualArray.h.

◆ fClass

TClassRef TVirtualArray::fClass

Definition at line 28 of file TVirtualArray.h.

◆ fSize

UInt_t TVirtualArray::fSize

Definition at line 30 of file TVirtualArray.h.

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