59   if (!strcmp(classname, 
"TSystemDirectory") ||
 
   60       !strcmp(classname, 
"TSystemFile")) {
 
   85         b->ExecuteDefaultAction(
this);
 
   89      if (
b->GetRefreshFlag())
 
   94         if (obj->IsA()->GetMethodWithPrototype(
"SetDirectory", 
"TDirectory*"))
 
  101      if (
b->GetRefreshFlag())
 
  104      ret = (
TList *)
gROOT->ProcessLine(
Form(
"((TApplicationServer *)gApplication)->BrowseDirectory(\"%s\");", 
GetTitle()));
 
  117      if (
b->GetRefreshFlag())
 
  120      ret = (
TList *)
gROOT->ProcessLine(
Form(
"((TApplicationServer *)gApplication)->BrowseFile(\"%s\");", 
GetName()));
 
  142   static Int_t level = 0;
 
  158         fname = 
file->GetName();
 
  159         if (
file->IsDirectory()) {
 
  162            if (!strcmp(fname.
Data(), 
"."))
 
  164            else if (!strcmp(fname.
Data(), 
".."))
 
  170               sdirpath += fname.
Data();
 
  180         fname = 
file->GetName();
 
  181         if (!
file->IsDirectory()) {
 
  210void TRemoteObject::Streamer(
TBuffer &
b)
 
R__EXTERN TApplication * gApplication
 
char * Form(const char *fmt,...)
 
R__EXTERN TSystem * gSystem
 
Using a TBrowser one can browse all ROOT objects.
 
Buffer base class used for serializing objects.
 
virtual void Add(TObject *obj)
 
virtual void Sort(Bool_t order=kSortAscending)
Sort linked list.
 
The TNamed class is the base class for all named ROOT classes.
 
virtual void SetName(const char *name)
Set the name of the TNamed.
 
virtual const char * GetTitle() const
Returns title of object.
 
virtual const char * GetName() const
Returns name of object.
 
Mother of all ROOT objects.
 
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.
 
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.
 
Bool_t EndsWith(const char *pat, ECaseCompare cmp=kExact) const
Return true if string ends with the specified string.
 
const char * Data() const
 
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 const char * DirName(const char *pathname)
Return the directory name in pathname.
 
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.