59 if (!strcmp(classname,
"TSystemDirectory") ||
60 !strcmp(classname,
"TSystemFile")) {
85 b->ExecuteDefaultAction(
this);
89 if (
b->GetRefreshFlag())
101 if (
b->GetRefreshFlag())
117 if (
b->GetRefreshFlag())
160 if (!strcmp(fname.
Data(),
"."))
162 else if (!strcmp(fname.
Data(),
".."))
168 sdirpath += fname.
Data();
R__EXTERN TApplication * gApplication
R__EXTERN TSystem * gSystem
Using a TBrowser one can browse all ROOT objects.
Buffer base class used for serializing objects.
TMethod * GetMethodWithPrototype(const char *method, const char *proto, Bool_t objectIsConst=kFALSE, ROOT::EFunctionMatchMode mode=ROOT::kConversionMatch)
Find the method with a given prototype.
void Add(TObject *obj) override
virtual void Sort(Bool_t order=kSortAscending)
Sort linked list.
The TNamed class is the base class for all named ROOT classes.
const char * GetName() const override
Returns name of object.
void Streamer(TBuffer &) override
Stream an object of class TObject.
const char * GetTitle() const override
Returns title of object.
virtual void SetName(const char *name)
Set the name of the TNamed.
Mother of all ROOT objects.
virtual void Browse(TBrowser *b)
Browse object. May be overridden for another default action.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
virtual TClass * IsA() const
The TRemoteObject class provides protocol for browsing ROOT objects from a remote ROOT session.
virtual ~TRemoteObject()
Delete remote object.
TList * Browse()
Browse OS system directories.
Bool_t GetFileStat(FileStat_t *sbuf)
Get remote file status.
TRemoteObject()
Create a remote object.
void Streamer(TBuffer &) override
Remote object streamer.
Bool_t EndsWith(const char *pat, ECaseCompare cmp=kExact) const
Return true if string ends with the specified string.
const char * Data() const
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
Describes an Operating System directory for the browser.
virtual TList * GetListOfFiles() const
Returns a TList of TSystemFile objects representing the contents of the directory.
A TSystemFile describes an operating system file.
virtual Bool_t IsDirectory(const char *dir=nullptr) const
Check if object is a directory.
int GetPathInfo(const char *path, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime)
Get info about a file: id, size, flags, modification time.
virtual const char * BaseName(const char *pathname)
Base name of a file name. Base name of /user/root is root.
virtual const char * WorkingDirectory()
Return working directory.
virtual TString GetDirName(const char *pathname)
Return the directory name in pathname.