ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 * operator[] (UInt_t ind) const
 
char * GetObjectAt (UInt_t ind) const
 
void SetSize (UInt_t size)
 

Public Attributes

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

#include <TVirtualArray.h>

Constructor & Destructor Documentation

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

Definition at line 33 of file TVirtualArray.h.

TVirtualArray::~TVirtualArray ( )
inline

Definition at line 34 of file TVirtualArray.h.

Member Function Documentation

TClass* TVirtualArray::GetClass ( )
inline

Definition at line 36 of file TVirtualArray.h.

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

Definition at line 37 of file TVirtualArray.h.

void TVirtualArray::SetSize ( UInt_t  size)
inline

Definition at line 40 of file TVirtualArray.h.

Member Data Documentation

char* TVirtualArray::fArray

[fSize]

Definition at line 31 of file TVirtualArray.h.

Referenced by GetObjectAt(), SetSize(), and ~TVirtualArray().

UInt_t TVirtualArray::fCapacity

Definition at line 29 of file TVirtualArray.h.

Referenced by SetSize().

TClassRef TVirtualArray::fClass
UInt_t TVirtualArray::fSize
Collaboration diagram for TVirtualArray:
[legend]

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