KaliVeda
Toolkit for HIC analysis
KVSystemDirectory.h
1 
4 #ifndef __KVSYSTEMDIRECTORY_H
5 #define __KVSYSTEMDIRECTORY_H
6 
7 #include "TSystemDirectory.h"
8 
20  virtual void GetListings();
21 
22 public:
24  KVSystemDirectory(const Char_t* dirname, const Char_t* path);
25  virtual ~KVSystemDirectory();
26  virtual TList* GetListOfFiles() const;
27  virtual TList* GetListOfDirectories() const;
29  {
30  return fTotFiles;
31  }
33  {
34  return fTotDirs;
35  }
37  {
38  return (fTotDirs + fTotFiles);
39  }
40  void ls(Option_t* option = "") const;
41 
42  ClassDef(KVSystemDirectory, 1) //TSystemDirectory which uses KVSystemFile
43 };
44 
45 #endif
char Char_t
const char Option_t
#define ClassDef(name, id)
Extension of ROOT TSystemDirectory class, handling browsing directories on disk.
KVSystemDirectory()
Default constructor.
virtual TList * GetListOfDirectories() const
Long64_t fTotFiles
total size of files in directory
void ls(Option_t *option="") const
TList * fSubdirs
subdirectories of directory
Long64_t fTotDirs
total size of files in subdirectories
TList * fContents
contents of directory
Long64_t GetTotalFiles() const
virtual void GetListings()
Fill lists of files and directories.
Long64_t GetTotalSubdirs() const
Long64_t GetTotalSize() const
virtual ~KVSystemDirectory()
Destructor.
virtual TList * GetListOfFiles() const
long long Long64_t