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