KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVSystemDirectory.h
Go to the documentation of this file.
1 
4 #ifndef __KVSYSTEMDIRECTORY_H
5 #define __KVSYSTEMDIRECTORY_H
6 
7 #include "TSystemDirectory.h"
8 
19  virtual void GetListings();
20 
21 public:
23  KVSystemDirectory(const Char_t* dirname, const Char_t* path);
24  virtual ~KVSystemDirectory();
25  virtual TList* GetListOfFiles() const;
26  virtual TList* GetListOfDirectories() const;
28  {
29  return fTotFiles;
30  }
32  {
33  return fTotDirs;
34  }
36  {
37  return (fTotDirs + fTotFiles);
38  }
39  void ls(Option_t* option = "") const;
40 
41  ClassDef(KVSystemDirectory, 1) //TSystemDirectory which uses KVSystemFile
42 };
43 
44 #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