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 void Add(TDataSet *dataset)
TFileSet()
to be documented
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)
Set the name of the TNamed.
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 Bool_t IsEmpty() const
to be documented
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.
R__EXTERN TSystem * gSystem
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void FreeDirectory(void *dirp)
Free a directory.
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="")
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.
virtual const char * GetTitle() const
Returns title of object.