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
TStorageFactorySystem::GetDirPt
void * GetDirPt(void) const
Definition: TStorageFactorySystem.h:13
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition: ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:152
TStorageFactorySystem::TStorageFactorySystem
TStorageFactorySystem(void)
Definition: TStorageFactorySystem.cc:11
TStorageFactorySystem::ClassDefOverride
ClassDefOverride(TStorageFactorySystem, 0)
TStorageFactorySystem::GetPathInfo
Int_t GetPathInfo(const char *path, FileStat_t &info) override
Definition: TStorageFactorySystem.cc:48
TStorageFactorySystem::MakeDirectory
Int_t MakeDirectory(const char *name) override
Definition: TStorageFactorySystem.cc:21
TStorageFactorySystem::OpenDirectory
void * OpenDirectory(const char *name) override
Definition: TStorageFactorySystem.cc:26
TStorageFactorySystem::FreeDirectory
void FreeDirectory(void *dirp) override
Definition: TStorageFactorySystem.cc:31
TStorageFactorySystem::Unlink
int Unlink(const char *name) override
Definition: TStorageFactorySystem.cc:43
TStorageFactorySystem::fDirp
void * fDirp
Definition: TStorageFactorySystem.h:12
TStorageFactorySystem::AccessPathName
Bool_t AccessPathName(const char *path, EAccessMode mode) override
Definition: TStorageFactorySystem.cc:38
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
TStorageFactorySystem::~TStorageFactorySystem
~TStorageFactorySystem(void) override
Definition: TStorageFactorySystem.cc:16
Storage
Definition: Storage.h:20
TStorageFactorySystem::GetDirEntry
const char * GetDirEntry(void *dirp) override
Definition: TStorageFactorySystem.cc:33
TStorageFactorySystem
Definition: TStorageFactorySystem.h:10