BrDataTable


class description - source file - inheritance tree

class BrDataTable : public BrDataObject


    public:
BrDataTable BrDataTable(Char_t* Name, Char_t* Title = NULL) BrDataTable BrDataTable(BrDataTable&) BrDataTable BrDataTable() void ~BrDataTable() virtual void Add(TObject* object) virtual void AddAt(TObject* object, Int_t idx) BrDataTable* At(Int_t i) TClass* Class() void Clear() void Delete() void DeleteAndCompress(TObject* obj) void DeleteAndCompressAt(Int_t i) Int_t Entries() Int_t GetEntries() virtual TObjArray* GetObjectList() virtual TClass* IsA() virtual void ShowMembers(TMemberInspector& insp, char* parent) void Sort(Int_t upto) void Sort() virtual void Streamer(TBuffer& b)

Data Members

protected:
TObjArray* fObjectList List of objects stored in container

Class Description

                                                                   
 BrDataTable is a BRAHMS data object that has a list of            
 data objects.  It is meant to be used in grouping like kinds      
 of information together.  The list is fObjectList which is a      
 TObjArray.  Several methods manage the fObjectList with the same  
 names as TObjArray                                                
                                                                   


BrDataTable()
 Defaults constructor. Does nothing.
 Don't use this constructor unless you have to and know
 what you are doing
 Use BrDataTable(Char_t *name) instead.

BrDataTable(Char_t *Name, Char_t *Title) : BrDataObject(Name)
 Constructor. Create the data container setting the name
 (and title, if supplied)

~BrDataTable()
 Destructor. Delete BrDataTable and all the data objects
 currently owned by BrDataTable

void Add(TObject *object)
 Add an object to the object list.  Essentially uses TObjArray::Add(object);

void AddAt(TObject *object,Int_t idx)
 Add an object to the object list at a specific index.  Essentially
 uses TObjArray::AddAt(object,idx);

void DeleteAndCompressAt(Int_t i)
 Removes an object an object at specified index from the Object List.
 Essentially uses TObjArray::RemoveAt(i);
 After object is removed, it is deleted.

void DeleteAndCompress(TObject *obj)
 Removes an object from the Object List.  Object is then deleted.



Inline Functions


          TObjArray* GetObjectList()
               Int_t Entries()
               Int_t GetEntries()
        BrDataTable* At(Int_t i)
                void Sort(Int_t upto)
                void Sort()
                void Clear()
                void Delete()
             TClass* Class()
             TClass* IsA()
                void ShowMembers(TMemberInspector& insp, char* parent)
                void Streamer(TBuffer& b)
         BrDataTable BrDataTable(BrDataTable&)


ROOT page - Class index - 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.