StRoot
1
|
Public Member Functions | |
TChair (TTable *table) | |
TChair (const TChair &org) | |
virtual void | Adopt (Int_t n, void *array) |
virtual void | AddAt (TDataSet *dataset, Int_t idx) |
virtual void | AddAt (const void *c, Int_t i) |
const void * | At (Int_t i) const |
virtual void | Browse (TBrowser *b) |
Browse this dataset (called by TBrowser). | |
virtual void | CopySet (TChair &chair) |
Int_t | CopyRows (const TChair *srcChair, Int_t srcRow=0, Int_t dstRow=0, Int_t nRows=0, Bool_t expand=kFALSE) |
virtual void | Draw (Option_t *opt) |
virtual TH1 * | Draw (TCut varexp, TCut selection, Option_t *option="", Int_t nentries=1000000000, Int_t firstentry=0) |
virtual TH1 * | Draw (const char *varexp, const char *selection, Option_t *option="", Int_t nentries=1000000000, Int_t firstentry=0) |
virtual Char_t * | GetArray () const |
virtual TClass * | GetRowClass () const |
virtual Long_t | GetNRows () const |
virtual Long_t | GetRowSize () const |
virtual Long_t | GetTableSize () const |
const TTable * | Table () const |
virtual TTableDescriptor * | GetRowDescriptors () const |
virtual const Char_t * | GetType () const |
virtual void | Fit (const char *formula, const char *varexp, const char *selection="", Option_t *option="", Option_t *goption="", Int_t nentries=1000000000, Int_t firstentry=0) |
virtual Long_t | HasData () const |
virtual Bool_t | IsFolder () const |
virtual void | ls (Option_t *option="") const |
virtual void | ls (Int_t deep) const |
Int_t | NaN () |
virtual Char_t * | MakeExpression (const Char_t *expressions[], Int_t nExpressions) |
virtual Char_t * | Print (Char_t *buf, Int_t n) const |
virtual void | Print (Option_t *opt="") const |
virtual const Char_t * | Print (Int_t row, Int_t rownumber=10, const Char_t *colfirst="", const Char_t *collast="") const |
virtual const Char_t * | PrintHeader () const |
virtual Int_t | Purge (Option_t *opt="") |
void * | ReAllocate (Int_t newsize) |
void * | ReAllocate () |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
virtual void | Set (Int_t n) |
virtual void | Set (Int_t n, Char_t *array) |
virtual void | SetNRows (Int_t n) |
virtual void | Reset (Int_t c=0) |
virtual void | Update () |
virtual void | Update (TDataSet *set, UInt_t opt=0) |
void * | operator[] (Int_t i) |
const void * | operator[] (Int_t i) const |
Public Member Functions inherited from TDataSet | |
TDataSet (const char *name="", TDataSet *parent=0, Bool_t arrayFlag=kFALSE) | |
TDataSet (const TDataSet &src, EDataSetPass iopt=kAll) | |
TDataSet (TNode &src) | |
This copy ctor has been depricated (left for thwe sake of the backweard compatibility) | |
virtual | ~TDataSet () |
std::cout << "Default destructor for " << GetName() << " - " << GetTitle() << std::endl; | |
virtual void | Add (TDataSet *dataset) |
virtual void | AddAtAndExpand (TDataSet *dataset, Int_t idx=0) |
virtual void | AddFirst (TDataSet *dataset) |
Add TDataSet object at the beginning of the dataset list of this dataset. | |
virtual void | AddLast (TDataSet *dataset) |
Add TDataSet object at the end of the dataset list of this dataset. | |
TDataSet * | At (Int_t idx) const |
virtual TObject * | Clone (const char *newname="") const |
the custom implementation fo the TObject::Clone | |
virtual void | Delete (Option_t *opt="") |
virtual TDataSet * | Find (const char *path) const |
virtual TDataSet * | FindByName (const char *name, const char *path="", Option_t *opt="") const |
virtual TDataSet * | FindByPath (const char *path) const |
Aliase for TDataSet::Find(const Char_t *path) method. | |
virtual TDataSet * | FindByTitle (const char *title, const char *path="", Option_t *opt="") const |
TObject * | FindObject (const char *name) const |
TObject * | FindObject (const TObject *o) const |
virtual TDataSet * | First () const |
Return the first object in the list. Returns 0 when list is empty. | |
TObjArray * | GetObjArray () const |
virtual TSeqCollection * | GetCollection () const |
TList * | GetList () const |
virtual Int_t | GetListSize () const |
TObject * | GetMother () const |
virtual TObject * | GetObject () const |
The depricated method (left here for the sake of the backward compatibility) | |
virtual TDataSet * | GetParent () const |
virtual TDataSet * | Instance () const |
virtual TString | Path () const |
return the full path of this data set | |
virtual EDataSetPass | Pass (EDataSetPass(*callback)(TDataSet *), Int_t depth=0) |
virtual EDataSetPass | Pass (EDataSetPass(*callback)(TDataSet *, void *), void *user, Int_t depth=0) |
virtual void | PrintContents (Option_t *opt="") const |
virtual void | Remove (TDataSet *set) |
Remiove the "set" from this TDataSet. | |
virtual TDataSet * | RemoveAt (Int_t idx) |
virtual void | SetMother (TDataSet *parent=0) |
virtual void | SetObject (TObject *obj) |
The depricated method (left here for the sake of the backward compatibility) | |
virtual void | SetParent (TDataSet *parent=0) |
virtual void | SetWrite () |
virtual void | Shunt (TDataSet *newParent=0) |
virtual void | Sort () |
Sort recursively all members of the TDataSet with TList::Sort method. | |
virtual Bool_t | IsEmpty () const |
return kTRUE if the "internal" collection has no member | |
virtual Bool_t | IsMarked () const |
virtual Bool_t | IsThisDir (const char *dirname, int len=-1, int ignorecase=0) const |
virtual TDataSet * | Last () const |
Return the last object in the list. Returns 0 when list is empty. | |
void | Mark () |
void | UnMark () |
void | MarkAll () |
Mark all members of this dataset. | |
void | UnMarkAll () |
UnMark all members of this dataset. | |
void | InvertAllMarks () |
Invert mark bit for all members of this dataset. | |
void | Mark (UInt_t flag, EBitOpt reset=kSet) |
virtual TDataSet * | Next () const |
virtual TDataSet * | Prev () const |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Protected Member Functions | |
TTable * | GetThisTable () |
const TTable * | GetThisTable () const |
Protected Member Functions inherited from TDataSet | |
virtual void | SetMother (TObject *mother) |
TDataSet (const char *name, const char *title) | |
void | AddMain (TDataSet *set) |
add data set to main data set | |
TDataSet * | GetRealParent () |
return real parent | |
void | MakeCollection () |
Create the internal container at once if any. | |
Static Protected Member Functions | |
static void * | GetOffset (const void *base, ULong_t offset) |
Static Protected Member Functions inherited from TDataSet | |
static EDataSetPass | SortIt (TDataSet *ds) |
static EDataSetPass | SortIt (TDataSet *ds, void *user) |
Protected Attributes | |
TTable * | fTable |
ULong_t | fLastIndx |
void * | fLastRow |
Protected Attributes inherited from TDataSet | |
TDataSet * | fParent |
TSeqCollection * | fList |
Additional Inherited Members | |
Public Types inherited from TDataSet | |
enum | EDataSetPass { kContinue, kPrune, kStop, kUp, kStruct, kAll, kRefs, kMarked } |
enum | ESetBits { kMark = BIT(22), kArray = BIT(20) } |
enum | EBitOpt { kSet = kTRUE, kReset = kFALSE } |
Static Public Member Functions inherited from TDataSet | |
static TDataSet * | GetMainSet () |
return pointer to the main dataset | |
static TDataSet * | instance () |
Static Protected Attributes inherited from TDataSet | |
static TDataSet * | fgMainSet = &mainSet |
|
inlinevirtual |
Add TDataSet object at the "idx" position in ds or at the end of the dataset The final result is defined by either TList::AddAt or TObjArray::AddAt methods
Reimplemented from TDataSet.
Definition at line 104 of file TChair.h.
References TDataSet::AddAt().
|
inlinevirtual |
//
ls(Option_t <em>option) // // option - defines the path to be listed // = "</em>" - means print all levels // //
Reimplemented from TDataSet.
Definition at line 75 of file TChair.h.
References TDataSet::ls().
|
inlinevirtual |
//
ls(Int_t depth) // // Prints the list of the this TDataSet. // // Parameter: // ========= // Int_t depth >0 the number of levels to be printed // =0 all levels will be printed // No par - ls() prints only level out // //
Reimplemented from TDataSet.
Definition at line 76 of file TChair.h.
References TDataSet::ls().
|
inlinevirtual |
Purge - deletes all "dummy" "Structural Members" those are not ended up with some dataset with data inside (those return HasData() = 0)
Purge does affect only the "Structural Members" and doesn't "Associated" ones
Reimplemented from TDataSet.
Definition at line 86 of file TChair.h.
References TTable::Purge().
|
inlinevirtual |
Recursively updates all tables for all nested datasets in inverse order
Reimplemented from TDataSet.
Definition at line 96 of file TChair.h.
References TTable::Update().
|
inlinevirtual |
Update this TDataSet with "set"
This method changes the parent relationships of the input "set"
Reimplemented from TDataSet.
Definition at line 97 of file TChair.h.
References TTable::Update().