Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-05-19 07:20:22

0001 #ifndef Utilities_StorageFactory_StorageProxyMaker_h
0002 #define Utilities_StorageFactory_StorageProxyMaker_h
0003 
0004 #include <memory>
0005 #include <string>
0006 
0007 namespace edm::storage {
0008   class Storage;
0009 
0010   // Base class for makers of generic Storage proxies
0011   class StorageProxyMaker {
0012   public:
0013     StorageProxyMaker() = default;
0014     virtual ~StorageProxyMaker();
0015 
0016     virtual std::unique_ptr<Storage> wrap(std::string const& url, std::unique_ptr<Storage> storage) const = 0;
0017   };
0018 }  // namespace edm::storage
0019 
0020 #endif