/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
FWStorage/StorageFactory/interface/RemoteFile.h
26 строк
714 B
Chris Jones
Move Utilities/StorageFactory to FWStorage/StorageFactory
10 дек 2025, 18:12
10 дек 2025, 18:12
852ff34
Код
Авторство
О чём код?
#ifndef STORAGE_FACTORY_REMOTE_FILE_H #define STORAGE_FACTORY_REMOTE_FILE_H #include "FWStorage/StorageFactory/interface/File.h" #include <string> #include <memory> namespace edm::storage { class RemoteFile : protected File { public: ~RemoteFile(void) override { remove(); } static int local(const std::string &tmpdir, std::string &temp); static std::unique_ptr<Storage> get(int localfd, const std::string &name, char **cmd, int mode); protected: void close(void) override; void abort(void) override; private: RemoteFile(IOFD fd, const std::string &name); void remove(void); std::string name_; }; } // namespace edm::storage #endif // STORAGE_FACTORY_REMOTE_FILE_H