| # Gaudi Framework, version v21r7 |

Home |  | Generated: 22 Jan 2010

# IFileAccess.h

Go to the documentation of this file.

    00001 // $Id: IFileAccess.h,v 1.2 2008/06/12 15:20:27 marcocle Exp $
    00002 #ifndef GaudiKernel_IFileAccess_H
    00003 #define GaudiKernel_IFileAccess_H
    00004
    00005 // Include Files
    00006 #include "GaudiKernel/IInterface.h"
    00007 #include <string>
    00008 #include <istream>
    00009 #include <memory>
    00010 #include <vector>
    00011
    00019 class GAUDI_API IFileAccess: virtual public IInterface {
    00020 public:
    00022   DeclareInterfaceID(IFileAccess,2,0);
    00023
    00024   virtual ~IFileAccess(); //< Virtual destructor.
    00025
    00029   virtual std::auto_ptr<std::istream> open(const std::string &url) = 0;
    00030
    00032   virtual const std::vector<std::string> &protocols() const = 0;
    00033
    00034 };
    00035
    00036 #endif // GaudiKernel_IFileAccess_H