Logo ROOT  
Reference Guide
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 27 of file TVirtualArray.h.

Public Types

using ObjectPtr = TClass::ObjectPtr
 

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

ObjectPtr fArray
 fSize elements More...
 
UInt_t fCapacity
 
TClassRef fClass
 
UInt_t fSize
 

#include <TVirtualArray.h>

Member Typedef Documentation

◆ ObjectPtr

Definition at line 29 of file TVirtualArray.h.

Constructor & Destructor Documentation

◆ TVirtualArray()

TVirtualArray::TVirtualArray ( TClass cl,
UInt_t  size 
)
inline

Definition at line 36 of file TVirtualArray.h.

◆ ~TVirtualArray()

TVirtualArray::~TVirtualArray ( )
inline

Definition at line 37 of file TVirtualArray.h.

Member Function Documentation

◆ GetClass()

TClass * TVirtualArray::GetClass ( )
inline

Definition at line 39 of file TVirtualArray.h.

◆ GetObjectAt()

char * TVirtualArray::GetObjectAt ( UInt_t  ind) const
inline

Definition at line 41 of file TVirtualArray.h.

◆ operator[]()

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

Definition at line 40 of file TVirtualArray.h.

◆ SetSize()

void TVirtualArray::SetSize ( UInt_t  size)
inline

Definition at line 43 of file TVirtualArray.h.

Member Data Documentation

◆ fArray

ObjectPtr TVirtualArray::fArray

fSize elements

Definition at line 34 of file TVirtualArray.h.

◆ fCapacity

UInt_t TVirtualArray::fCapacity

Definition at line 32 of file TVirtualArray.h.

◆ fClass

TClassRef TVirtualArray::fClass

Definition at line 31 of file TVirtualArray.h.

◆ fSize

UInt_t TVirtualArray::fSize

Definition at line 33 of file TVirtualArray.h.


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