63 TNamed(name,title),fParent(0),fList(0){}
117 virtual EDataSetPass
Pass(EDataSetPass ( *callback)(
TDataSet *,
void*),
void *user,
Int_t depth=0);
131 virtual Bool_t IsThisDir(
const char *dirname,
int len=-1,
int ignorecase=0)
const ;
134 virtual void ls(
Int_t depth)
const;
virtual Bool_t IsThisDir(const char *dirname, int len=-1, int ignorecase=0) const
Compare the name of the TDataSet with "dirname" ignorercase flags indicates whether the comparision i...
virtual void Add(TDataSet *dataset)
virtual TDataSet * First() const
Return the first object in the list. Returns 0 when list is empty.
void MarkAll()
Mark all members of this dataset.
TDataSet(const char *name, const char *title)
virtual TObject * At(Int_t idx) const =0
TDataSet * At(Int_t idx) const
static TDataSet * GetMainSet()
return pointer to the main dataset
virtual TDataSet * Instance() const
apply the class default ctor to instantiate a new object of the same kind.
virtual TDataSet * FindByTitle(const char *title, const char *path="", Option_t *opt="") const
Full description see: TDataSetIter::Find.
virtual TDataSet * FindByPath(const char *path) const
Aliase for TDataSet::Find(const Char_t *path) method.
virtual EDataSetPass Pass(EDataSetPass(*callback)(TDataSet *), Int_t depth=0)
// Pass (callback,depth) // // Calls callback(this) for all datasets those recursively // // Paramete...
virtual Long_t HasData() const
virtual void PrintContents(Option_t *opt="") const
Callback method to complete ls() method recursive loop This is to allow to sepoarate navigation and t...
virtual void AddAtAndExpand(TDataSet *dataset, Int_t idx=0)
!!!! Under construction !!!!! Add TDataSet object at the "idx" position in ds or at the end of the da...
virtual void Delete(Option_t *opt="")
Delete - deletes the list of the TDataSet objects and all "Structural Members" as well This method do...
virtual Bool_t IsMarked() const
virtual void Remove(TDataSet *set)
Remiove the "set" from this TDataSet.
virtual TDataSet * Last() const
Return the last object in the list. Returns 0 when list is empty.
virtual TDataSet * GetParent() const
TDataSet * GetRealParent()
return real parent
virtual void Browse(TBrowser *b)
Browse this dataset (called by TBrowser).
virtual void SetObject(TObject *obj)
The depricated method (left here for the sake of the backward compatibility)
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
virtual TSeqCollection * GetCollection() const
virtual TObject * Clone(const char *newname="") const
the custom implementation fo the TObject::Clone
Sequenceable collection abstract base class.
void InvertAllMarks()
Invert mark bit for all members of this dataset.
#define ClassDef(name, id)
virtual Int_t Write(const char *name=0, Int_t option=0, Int_t bufsize=0)
To Write object first we should temporary break the the backward fParent pointer (otherwise ROOT foll...
static EDataSetPass SortIt(TDataSet *ds)
The TNamed class is the base class for all named ROOT classes.
virtual TDataSet * Prev() const
Return the object that is previous to this one in the parent structure This convinient but time-consu...
TObject * GetMother() const
Using a TBrowser one can browse all ROOT objects.
virtual void SetWrite()
One should not use this method but TDataSet::Write instead This method os left here for the sake of t...
virtual Int_t GetListSize() const
virtual void ls(Option_t *option="") const
// ls(Option_t <em>option) // // option - defines the path to be listed // = "</em>" - means print al...
static TDataSet * fgMainSet
virtual void AddLast(TDataSet *dataset)
Add TDataSet object at the end of the dataset list of this dataset.
Bool_t TestBit(UInt_t f) const
virtual Bool_t IsEmpty() const
return kTRUE if the "internal" collection has no member
virtual TDataSet * Next() const
Return the object next to this one in the parent structure This convinient but time-consuming.
static TDataSet * instance()
virtual TObject * GetObject() const
The depricated method (left here for the sake of the backward compatibility)
virtual ~TDataSet()
std::cout << "Default destructor for " << GetName() << " - " << GetTitle() << std::endl; ...
virtual Int_t GetSize() const
virtual void AddFirst(TDataSet *dataset)
Add TDataSet object at the beginning of the dataset list of this dataset.
virtual Bool_t IsFolder() const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects)...
virtual void SetMother(TDataSet *parent=0)
virtual void AddAt(TDataSet *dataset, Int_t idx=0)
Add TDataSet object at the "idx" position in ds or at the end of the dataset The final result is defi...
virtual Int_t Purge(Option_t *opt="")
Purge - deletes all "dummy" "Structural Members" those are not ended up with some dataset with data i...
virtual void Shunt(TDataSet *newParent=0)
Remove the object from the original and add it to dataset TDataSet dataset != 0 - Make this object th...
virtual void Sort()
Sort recursively all members of the TDataSet with TList::Sort method.
Mother of all ROOT objects.
virtual TDataSet * FindByName(const char *name, const char *path="", Option_t *opt="") const
Full description see: TDataSetIter::Find.
virtual void SetParent(TDataSet *parent=0)
Break the "parent" relationship with the current object parent if present parent != 0 Makes this obje...
virtual void Update()
Update()
virtual TString Path() const
return the full path of this data set
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
TObjArray * GetObjArray() const
TObject * FindObject(const TObject *o) const
Must be redefined in derived classes.
void operator=(const TDataSet &)
void UnMarkAll()
UnMark all members of this dataset.
virtual TObject * FindObject(const char *name) const
Must be redefined in derived classes.
void AddMain(TDataSet *set)
add data set to main data set
void MakeCollection()
Create the internal container at once if any.
virtual TDataSet * Find(const char *path) const
Full description see: TDataSetIter::Find.
virtual TDataSet * RemoveAt(Int_t idx)
Remove object from the "idx" cell of this set and return the pointer to the removed object if any...
virtual void SetMother(TObject *mother)
TObject * FindObject(const char *name) const
Must be redefined in derived classes.