| # Gaudi Framework, version v21r8 |

Home |  | Generated: 17 Mar 2010

# FileReadTool.h

Go to the documentation of this file.

    00001 // $Id: FileReadTool.h,v 1.2 2008/06/12 15:23:03 marcocle Exp $
    00002 #ifndef _FILEREADTOOL_H
    00003 #define _FILEREADTOOL_H
    00004
    00005 #include "GaudiKernel/IFileAccess.h"
    00006 #include "GaudiKernel/AlgTool.h"
    00007
    00017 class FileReadTool : public extends1<AlgTool, IFileAccess> {
    00018
    00019 public:
    00020
    00022   FileReadTool( const std::string& type,
    00023                 const std::string& name,
    00024                 const IInterface* parent);
    00025
    00026   virtual ~FileReadTool();
    00027
    00028   //virtual StatusCode initialize();
    00029   //virtual StatusCode finalize();
    00030
    00031   virtual std::auto_ptr<std::istream> open(const std::string &url);
    00032
    00034   virtual const std::vector<std::string> &protocols() const;
    00035
    00036 private:
    00037
    00039   std::vector<std::string> m_protocols;
    00040
    00041 };
    00042
    00043 #endif  // _FILEREADTOOL_H