69 if (!maxDepth)
return;
76 const char *
name= dirbuf;
80 setname = strrchr(name,
'/');
81 if (setname) setname++;
92 perror(
"can not be open due error\n");
93 Error(
"TFileSet",
"directory: %s",name);
101 if (!name[0] || strcmp(name,
"..")==0 || strcmp(name,
".")==0)
continue;
145 return strcmp(
GetTitle(),
"file")==0 ? 1 : 0;
159 return strcmp(
GetTitle(),
"file")!=0;
virtual const char * GetTitle() const
Returns title of object.
virtual void Add(TDataSet *dataset)
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 void SetName(const char *name)
Change (i.e.
virtual Long_t HasData() const
This implementation is done in the TDataSet::Purge() method in mind Since this method returns non-zer...
virtual const char * GetDirEntry(void *dirp)
Get a directory entry. Returns 0 if no more entries.
virtual Bool_t IsEmpty() const
to be documented
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
R__EXTERN TSystem * gSystem
ClassImp(TFileSet) TFileSet
to be documented
virtual void FreeDirectory(void *dirp)
Free a directory.
virtual Bool_t IsFolder() const
If the title of this TFileSet is "file" it is NOT folder see: TFileSet(TString &dirname,const Char_t *setname,Bool_t expand)
virtual void * OpenDirectory(const char *name)
Open a directory. Returns 0 if directory does not exist.
virtual ~TFileSet()
to be documented
virtual Bool_t ExpandPathName(TString &path)
Expand a pathname getting rid of special shell characters like ~.
virtual void SetTitle(const char *title="")
Change (i.e. set) the title of the TNamed.
virtual char * ConcatFileName(const char *dir, const char *name)
Concatenate a directory and a file name. User must delete returned string.