CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
StorageMaker.h
Go to the documentation of this file.
1 #ifndef STORAGE_FACTORY_STORAGE_MAKER_H
2 # define STORAGE_FACTORY_STORAGE_MAKER_H
3 
5 # include <string>
6 
7 class Storage;
9 {
10 public:
11  StorageMaker(void);
12  virtual ~StorageMaker (void);
13  // implicit copy constructor
14  // implicit assignment operator
15 
16  virtual void stagein (const std::string &proto,
17  const std::string &path);
18  virtual Storage * open (const std::string &proto,
19  const std::string &path,
20  int mode) = 0;
21  virtual bool check (const std::string &proto,
22  const std::string &path,
23  IOOffset *size = 0);
24  virtual void setTimeout (unsigned int timeout);
25  virtual void setDebugLevel (unsigned int debugLevel);
26 };
27 
28 #endif // STORAGE_FACTORY_STORAGE_MAKER_H
virtual Storage * open(const std::string &proto, const std::string &path, int mode)=0
virtual bool check(const std::string &proto, const std::string &path, IOOffset *size=0)
Definition: StorageMaker.cc:26
virtual void setDebugLevel(unsigned int debugLevel)
Definition: StorageMaker.cc:22
virtual void setTimeout(unsigned int timeout)
Definition: StorageMaker.cc:18
tuple path
else: Piece not in the list, fine.
StorageMaker(void)
Definition: StorageMaker.cc:6
virtual void stagein(const std::string &proto, const std::string &path)
Definition: StorageMaker.cc:13
int64_t IOOffset
Definition: IOTypes.h:19
tuple size
Write out results.
virtual ~StorageMaker(void)
Definition: StorageMaker.cc:9