62 virtual void SaveAs(
const char *filename=
"",
Option_t *option=
"")
const;
#define ClassDef(name, id)
Using a TBrowser one can browse all ROOT objects.
Collection abstract base class.
A TFolder object is a collection of objects and folders.
virtual void SaveAs(const char *filename="", Option_t *option="") const
Save all objects in this folder in filename.
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...
TFolder()
Default constructor used by the Input functions.
virtual TObject * FindObjectAny(const char *name) const
Return a pointer to the first object with name starting at this folder.
TCollection * GetListOfFolders() const
virtual void Add(TObject *obj)
Add object to this folder. obj must be a TObject or a TFolder.
virtual void Browse(TBrowser *b)
Browse this folder.
virtual ~TFolder()
Folder destructor.
virtual void Clear(Option_t *option="")
Delete all objects from a folder list.
virtual void Copy(TObject &) const
Copy this to obj.
virtual const char * FindFullPathName(const char *name) const
Return the full pathname corresponding to subpath name if the node is gROOT->GetRootFolder() and retu...
void operator=(const TFolder &)
virtual void SetOwner(Bool_t owner=kTRUE)
Set ownership.
virtual TObject * FindObject(const char *name) const
Search object identified by name in the tree of folders inside this folder.
Bool_t IsOwner() const
Folder ownership has been set via.
virtual Int_t Occurence(const TObject *obj) const
Return occurence number of object in the list of objects of this folder.
Bool_t IsFolder() const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
virtual void ls(Option_t *option="") const
List folder contents.
virtual void RecursiveRemove(TObject *obj)
Recursively remove object from a folder.
virtual void Remove(TObject *obj)
Remove object from this folder. obj must be a TObject or a TFolder.
The TNamed class is the base class for all named ROOT classes.
Mother of all ROOT objects.
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...