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 IsMarked() const
virtual void Add(TDataSet *dataset)
void MarkAll()
Mark all members of this dataset.
TDataSet(const char *name, const char *title)
virtual TObject * Clone(const char *newname="") const
the custom implementation fo the TObject::Clone
static TDataSet * GetMainSet()
return pointer to the main dataset
virtual void ls(Option_t *option="") const
// ls(Option_t <em>option) // // option - defines the path to be listed // = "</em>" - means print al...
virtual EDataSetPass Pass(EDataSetPass(*callback)(TDataSet *), Int_t depth=0)
// Pass (callback,depth) // // Calls callback(this) for all datasets those recursively // // Paramete...
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
virtual TDataSet * Last() const
Return the last object in the list. Returns 0 when list is empty.
virtual TDataSet * First() const
Return the first object in the list. Returns 0 when list is empty.
virtual Bool_t IsEmpty() const
return kTRUE if the "internal" collection has no member
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 void Remove(TDataSet *set)
Remiove the "set" from this TDataSet.
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 TDataSet * FindByName(const char *name, const char *path="", Option_t *opt="") const
Full description see: TDataSetIter::Find.
virtual TDataSet * Instance() const
apply the class default ctor to instantiate a new object of the same kind.
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 * Next() const
Return the object next to this one in the parent structure This convinient but time-consuming.
TObject * FindObject(const char *name) const
Must be redefined in derived classes.
TDataSet * At(Int_t idx) 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 Bool_t IsFolder() const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects)...
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 TObject * FindObject(const char *name) const
Must be redefined in derived classes.
virtual TObject * GetObject() const
The depricated method (left here for the sake of the backward compatibility)
static TDataSet * fgMainSet
virtual void AddLast(TDataSet *dataset)
Add TDataSet object at the end of the dataset list of this dataset.
TObjArray * GetObjArray() const
virtual TDataSet * Find(const char *path) const
Full description see: TDataSetIter::Find.
static TDataSet * instance()
virtual TString Path() const
return the full path of this data set
virtual TDataSet * FindByTitle(const char *title, const char *path="", Option_t *opt="") const
Full description see: TDataSetIter::Find.
virtual ~TDataSet()
std::cout << "Default destructor for " << GetName() << " - " << GetTitle() << std::endl; ...
virtual TDataSet * FindByPath(const char *path) const
Aliase for TDataSet::Find(const Char_t *path) method.
virtual void AddFirst(TDataSet *dataset)
Add TDataSet object at the beginning of the dataset list of this dataset.
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...
TObject * GetMother() const
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.
virtual TObject * At(Int_t idx) const =0
Mother of all ROOT objects.
virtual TDataSet * Prev() const
Return the object that is previous to this one in the parent structure This convinient but time-consu...
TObject * FindObject(const TObject *o) const
Must be redefined in derived classes.
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()
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
void operator=(const TDataSet &)
virtual Long_t HasData() const
virtual Int_t GetSize() const
void UnMarkAll()
UnMark all members of this dataset.
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 TSeqCollection * GetCollection() const
void AddMain(TDataSet *set)
add data set to main data set
void MakeCollection()
Create the internal container at once if any.
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 TDataSet * GetParent() const
virtual Int_t GetListSize() const
virtual void SetMother(TObject *mother)