#include "hclonestable.h" |
HClonesTable
class description - source file - inheritance tree (.pdf)
public:
HClonesTable()
HClonesTable(Text_t* className, Int_t capacity, Int_t size = 1000, Int_t callDtor = kFALSE)
~HClonesTable()
TObject* At(Int_t idx)
static TClass* Class()
virtual void Clear(Option_t* option)
virtual void Compress()
virtual void Delete(Option_t* option)
Int_t getCapacity()
virtual TClass* IsA() const
virtual TObject*& operator[](Int_t idx)
virtual TObject* Remove(TObject* obj)
virtual TObject* RemoveAt(Int_t idx)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Sort(Int_t upto = kMaxInt)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
TArrayI fTable Lookup table for the array
Int_t fNObjects
HClonesTable
The HClonesTable extends the TClonesArray by allowing to have holes in
within. However, for the empty locations only 4 bytes of memory are used
instead of the whole size of one object.
HClonesTable(void)
Constructor
HClonesTable(Text_t *className,Int_t capacity,Int_t size,
Int_t callDtor) :
//Constructor. See TClonesArray.
TClonesArray(className,size,callDtor), fTable(capacity),fNObjects(0)
~HClonesTable(void)
Destructor
void Clear(Option_t *)
see TCollection
void Delete(Option_t *)
see TCollection
TObject* RemoveAt(Int_t idx)
Remove object at position idx.
Anhadir index checking?
TObject* Remove(TObject *)
Removes the object given as a parameter.
void Sort(Int_t)
see TCollection
TObject* At(Int_t idx)
see TClonesArray
void Compress(void)
see TClonesArray::Compress()
Inline Functions
TObject*& operator[](Int_t idx)
Int_t getCapacity()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Author: Manuel Sanchez
Last update: 22/09/98 by Manuel Sanchez
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.