69 if (!maxDepth)
return;
72 Long_t id, flags, modtime;
73 TString dirbuf = dirname;
75 if (expand) gSystem->ExpandPathName(dirbuf);
76 const char *name= dirbuf;
77 if (gSystem->GetPathInfo(name, &
id, &size, &flags, &modtime)==0) {
80 setname = strrchr(name,
'/');
81 if (setname) setname++;
83 if (setname) SetName(setname);
89 dir = gSystem->OpenDirectory(name);
92 perror(
"can not be open due error\n");
93 Error(
"TFileSet",
"directory: %s",name);
98 SetTitle(
"directory");
99 while ( (name = gSystem->GetDirEntry(dir)) ) {
101 if (!name[0] || strcmp(name,
"..")==0 || strcmp(name,
".")==0)
continue;
102 Char_t *file = gSystem->ConcatFileName(dirbuf,name);
103 TString nextdir = file;
106 if (fs->IsZombie()) {
112 gSystem->FreeDirectory(dir);
134 return strcmp(GetTitle(),
"file")!=0 ? kTRUE : kFALSE ;
145 return strcmp(GetTitle(),
"file")==0 ? 1 : 0;
159 return strcmp(GetTitle(),
"file")!=0;
TFileSet()
to be documented
virtual Long_t HasData() const
virtual Bool_t IsEmpty() const
to be documented
virtual Bool_t IsFolder() const
virtual ~TFileSet()
to be documented