A TFolder object is a collection of objects and folders.
virtual void Copy(TObject &) const
Copy this to obj.
virtual void SetOwner(Bool_t owner=kTRUE)
Set ownership.
void MayNotUse(const char *method) const
Use this method to signal that a method (defined in a base class) may not be called in a derived clas...
virtual void Remove(TObject *obj)
Remove object from this folder. obj must be a TObject or a TFolder.
static const char * filename()
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
virtual void Add(TObject *obj)
Add object to this folder. obj must be a TObject or a TFolder.
virtual void RecursiveRemove(TObject *obj)
Recursively remove object from a folder.
TFolder * AddFolder(const char *name, const char *title, TCollection *collection=0)
Create a new folder and add it to the list of folders of this folder, return a pointer to the created...
Using a TBrowser one can browse all ROOT objects.
virtual void ls(Option_t *option="") const
List folder contents.
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
Collection abstract base class.
void operator=(const TFolder &)
TCollection * GetListOfFolders() const
Bool_t IsOwner() const
Folder ownership has been set via.
Bool_t IsFolder() const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects)...
virtual ~TFolder()
Folder destructor.
Mother of all ROOT objects.
virtual TObject * FindObjectAny(const char *name) const
Return a pointer to the first object with name starting at this folder.
virtual void SaveAs(const char *filename="", Option_t *option="") const
Save all objects in this folder in filename.
virtual const char * FindFullPathName(const char *name) const
Return the full pathname corresponding to subpath name if the node is gROOT->GetRootFolder() and retu...
virtual TObject * FindObject(const char *name) const
Search object identified by name in the tree of folders inside this folder.
virtual void Clear(Option_t *option="")
Delete all objects from a folder list.
virtual Int_t Occurence(const TObject *obj) const
Return occurence number of object in the list of objects of this folder.
virtual void Browse(TBrowser *b)
Browse this folder.