CMS 3D CMS Logo

StorageMaker.h

Go to the documentation of this file.
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   // implicit copy constructor
00013   // implicit assignment operator
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

Generated on Tue Jun 9 17:48:53 2009 for CMSSW by  doxygen 1.5.4