|
BrDataTableclass description - source file - inheritance tree class BrDataTable : public BrDataObjectpublic: Data Membersprotected: Class DescriptionBrDataTable 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(const Char_t *Name, const Char_t *Title) : BrDataObject(Name, Title) 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 Add(TObject *object) Add an object to the object list. Essentially uses TObjArray::Add(object); AddAt(TObject *object,Int_t idx) Add an object to the object list at a specific index. Essentially uses TObjArray::AddAt(object,idx); DeleteAndCompress(TObject *obj) Removes an object from the Object List. Object is then deleted. Then the object list is compressed 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. Then the object list is compressed DeleteObject(TObject *obj) Removes an object from the Object List. Object is then deleted. DeleteObjectAt(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. Browse(TBrowser* b) Print(Option_t* option) const Print all contained objects, passing the option along. Options: R Recursive print [Default] See also BrDataObject::Print Inline FunctionsTObjArray* GetObjectList() Int_t Entries() Int_t GetEntries() const BrDataTable* At(Int_t i) const Bool_t IsTable() const void Sort(Int_t upto) void Sort() void Clear() void Delete() void Remove(TObject* obj) void RemoveAt(Int_t i) void Compress() void SetOwner(Bool_t e = kTRUE) Bool_t IsFolder() const BrDataTable& operator+=(const BrDataTable&) TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) BrDataTable BrDataTable(BrDataTable&) |
||||||
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|