11#ifndef ROOT_TSystemDirectory
12#define ROOT_TSystemDirectory
59 void Copy(
const char *)
override {}
60 void Move(
const char *)
override {}
#define ClassDefOverride(name, id)
Using a TBrowser one can browse all ROOT objects.
Mother of all ROOT objects.
Describes an Operating System directory for the browser.
virtual TList * GetListOfFiles() const
Returns a TList of TSystemFile objects representing the contents of the directory.
void SetDrawOption(Option_t *) override
Set drawing option for object.
virtual void SetDirectory(const char *name)
Create a system directory object.
void Delete() override
delete this file
TObject * DrawClone(Option_t *) const override
Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).
virtual ~TSystemDirectory()
Delete system directory object.
Bool_t IsFolder() const override
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
Bool_t IsDirectory(const char *=nullptr) const override
Check if object is a directory.
void Copy(const char *) override
copy this file
void Move(const char *) override
move this file
TSystemFile * FindFileObj(const char *name, const char *dir)
Method that returns system file object if it exists in list, 0 otherwise.
TSystemDirectory()
Create a system directory object.
Bool_t IsItDirectory(const char *name) const
Check if name is a directory.
TSystemDirectory(const TSystemDirectory &)=delete
TOrdCollection * fFilesInBrowser
void SetName(const char *name) override
Set the name of the TNamed.
TSystemDirectory & operator=(const TSystemDirectory &)=delete
void Edit() override
Invoke text editor on this file.
TSystemDirectory * FindDirObj(const char *name)
Method that returns system directory object if it exists in list, 0 otherwise.
void Copy(TObject &) const override
Copy this to obj.
void DrawClass() const override
Draw class inheritance tree of the class to which this object belongs.
void Browse(TBrowser *b) override
Browse OS system directories.
void SetTitle(const char *title) override
Set the title of the TNamed.
void Delete(Option_t *) override
Delete this object.
TOrdCollection * fDirsInBrowser
A TSystemFile describes an operating system file.
void SetTitle(const char *title) override
Set the title of the TNamed.
void SetName(const char *name) override
Set the name of the TNamed.