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 private:
12  void *fDirp; // Directory handle
13  void *GetDirPt(void) const { return fDirp; }
14 
15 public:
16  ClassDefOverride(TStorageFactorySystem, 0); // ROOT System operating on CMS Storage.
17 
18  TStorageFactorySystem(const char *, Bool_t); // For compatibility with TXNetFile, we don't actually use the arguments
20  ~TStorageFactorySystem(void) override;
21 
22  Int_t MakeDirectory(const char *name) override;
23  void *OpenDirectory(const char *name) override;
24  void FreeDirectory(void *dirp) override;
25  const char *GetDirEntry(void *dirp) override;
26 
27  Int_t GetPathInfo(const char *path, FileStat_t &info) override;
28 
29  Bool_t AccessPathName(const char *path, EAccessMode mode) override;
30 
31  int Unlink(const char *name) override;
32 };
33 
34 #endif // TFILE_ADAPTOR_TSTORAGE_FACTORY_SYSTEM_H
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
void * GetDirPt(void) const
Int_t MakeDirectory(const char *name) override
void FreeDirectory(void *dirp) override
Bool_t AccessPathName(const char *path, EAccessMode mode) override