00001 #ifndef STORAGE_FACTORY_STORAGE_MAKER_H
00002 # define STORAGE_FACTORY_STORAGE_MAKER_H
00003
00004 # include "Utilities/StorageFactory/interface/IOTypes.h"
00005 # include <string>
00006
00007 class Storage;
00008 class StorageMaker
00009 {
00010 public:
00011 virtual ~StorageMaker (void);
00012
00013
00014
00015 virtual void stagein (const std::string &proto,
00016 const std::string &path);
00017 virtual Storage * open (const std::string &proto,
00018 const std::string &path,
00019 int mode,
00020 const std::string &tmpdir) = 0;
00021 virtual bool check (const std::string &proto,
00022 const std::string &path,
00023 IOOffset *size = 0);
00024 };
00025
00026 #endif // STORAGE_FACTORY_STORAGE_MAKER_H