CMS 3D CMS Logo

TStorageFactorySystem.h
Go to the documentation of this file.
1 #ifndef TFILE_ADAPTOR_TSTORAGE_FACTORY_SYSTEM_H
2 # define TFILE_ADAPTOR_TSTORAGE_FACTORY_SYSTEM_H
3 
4 # include "TSystem.h"
5 
6 class Storage;
7 
10 class TStorageFactorySystem : public TSystem
11 {
12 private:
13  void *fDirp; // Directory handle
14  void * GetDirPt(void) const { return fDirp; }
15 
16 public:
17  ClassDefOverride(TStorageFactorySystem, 0); // ROOT System operating on CMS Storage.
18 
19  TStorageFactorySystem(const char *, Bool_t); // For compatibility with TXNetFile, we don't actually use the arguments
21  ~TStorageFactorySystem(void) override;
22 
23  Int_t MakeDirectory(const char *name) override;
24  void * OpenDirectory(const char *name) override;
25  void FreeDirectory(void *dirp) override;
26  const char * GetDirEntry(void *dirp) override;
27 
28  Int_t GetPathInfo(const char *path, FileStat_t &info) override;
29 
30  Bool_t AccessPathName(const char *path, EAccessMode mode) override;
31 
32  int Unlink(const char *name) override;
33 
34 };
35 
36 #endif // TFILE_ADAPTOR_TSTORAGE_FACTORY_SYSTEM_H
void * GetDirPt(void) const
Int_t GetPathInfo(const char *path, FileStat_t &info) override
static const TGPicture * info(bool iBackgroundIsBlack)
ClassDefOverride(TStorageFactorySystem, 0)
void * OpenDirectory(const char *name) override
int Unlink(const char *name) override
const char * GetDirEntry(void *dirp) override
~TStorageFactorySystem(void) override
Int_t MakeDirectory(const char *name) override
void FreeDirectory(void *dirp) override
Bool_t AccessPathName(const char *path, EAccessMode mode) override