/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWStorage/TFileAdaptor/interface/TStorageFactorySystem.h
34 строки
1 KB
Chris Jones
Moved IOPool/TFileAdaptor to FWStorage sub-system
10 дек 2025, 17:51
10 дек 2025, 17:51
560058c
Код
Авторство
О чём код?
#ifndef TFILE_ADAPTOR_TSTORAGE_FACTORY_SYSTEM_H #define TFILE_ADAPTOR_TSTORAGE_FACTORY_SYSTEM_H #include "TSystem.h" class Storage; /** TSystem wrapper around #StorageFactory and CMS #Storage. This class is a blatant copy of TDCacheSystem. */ class TStorageFactorySystem : public TSystem { private: void *fDirp; // Directory handle void *GetDirPt(void) const { return fDirp; } public: ClassDefOverride(TStorageFactorySystem, 0); // ROOT System operating on CMS Storage. TStorageFactorySystem(const char *, Bool_t); // For compatibility with TXNetFile, we don't actually use the arguments TStorageFactorySystem(void); ~TStorageFactorySystem(void) override; Int_t MakeDirectory(const char *name) override; void *OpenDirectory(const char *name) override; void FreeDirectory(void *dirp) override; const char *GetDirEntry(void *dirp) override; Int_t GetPathInfo(const char *path, FileStat_t &info) override; Bool_t AccessPathName(const char *path, EAccessMode mode) override; int Unlink(const char *name) override; }; #endif // TFILE_ADAPTOR_TSTORAGE_FACTORY_SYSTEM_H