CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/IOPool/TFileAdaptor/interface/TStorageFactorySystem.h

Go to the documentation of this file.
00001 #ifndef TFILE_ADAPTOR_TSTORAGE_FACTORY_SYSTEM_H
00002 # define TFILE_ADAPTOR_TSTORAGE_FACTORY_SYSTEM_H
00003 
00004 # include "TSystem.h"
00005 
00006 class Storage;
00007 
00010 class TStorageFactorySystem : public TSystem
00011 {
00012 private:
00013   void                  *fDirp; // Directory handle
00014   void *                GetDirPt(void) const { return fDirp; }
00015 
00016 public:
00017   ClassDef(TStorageFactorySystem, 0); // ROOT System operating on CMS Storage.
00018 
00019   TStorageFactorySystem(void);
00020   ~TStorageFactorySystem(void);
00021 
00022   virtual Int_t         MakeDirectory(const char *name);
00023   virtual void *        OpenDirectory(const char *name);
00024   virtual void          FreeDirectory(void *dirp);
00025   virtual const char *  GetDirEntry(void *dirp);
00026 
00027   virtual Int_t         GetPathInfo(const char *path, FileStat_t &info);
00028 
00029   virtual Bool_t        AccessPathName(const char *path, EAccessMode mode);
00030 };
00031 
00032 #endif // TFILE_ADAPTOR_TSTORAGE_FACTORY_SYSTEM_H