62 void SaveAs(
const char *filename=
"",
Option_t *option=
"")
const override;
int Int_t
Signed integer 4 bytes (int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
const char Option_t
Option string (const char).
#define ClassDefOverride(name, id)
Using a TBrowser one can browse all ROOT objects.
Collection abstract base class.
void RecursiveRemove(TObject *obj) override
Recursively remove object from a folder.
void Browse(TBrowser *b) override
Browse this folder.
Bool_t IsFolder() const override
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
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
TFolder * AddFolder(const char *name, const char *title, TCollection *collection=nullptr)
Create a new folder and add it to the list of folders of this folder, return a pointer to the created...
virtual void Add(TObject *obj)
Add object to this folder. obj must be a TObject or a TFolder.
void Clear(Option_t *option="") override
Delete all objects from a folder list.
virtual ~TFolder()
Folder destructor.
void Copy(TObject &) const override
Copy this to obj.
TObject * FindObject(const char *name) const override
Search object identified by name in the tree of folders inside this folder.
void ls(Option_t *option="") const override
List folder contents.
void SaveAs(const char *filename="", Option_t *option="") const override
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 void SetOwner(Bool_t owner=kTRUE)
Set ownership.
Bool_t IsOwner() const
Folder ownership has been set via.
virtual Int_t Occurence(const TObject *obj) const
Return occurrence number of object in the list of objects of this folder.
void operator=(const TFolder &)=delete
TFolder(const TFolder &folder)=delete
virtual void Remove(TObject *obj)
Remove object from this folder. obj must be a TObject or a TFolder.
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...
TObject()
TObject constructor.