All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
FileReadTool.h
Go to the documentation of this file.
1 #ifndef _FILEREADTOOL_H
2 #define _FILEREADTOOL_H
3 
4 #include "GaudiKernel/IFileAccess.h"
5 #include "GaudiKernel/AlgTool.h"
6 
16 class FileReadTool : public extends1<AlgTool, IFileAccess> {
17 
18 public:
19 
21  FileReadTool( const std::string& type,
22  const std::string& name,
23  const IInterface* parent);
24 
25  ~FileReadTool() override = default;
26 
27  std::unique_ptr<std::istream> open(const std::string &url) override;
28 
30  const std::vector<std::string> &protocols() const override;
31 
32 };
33 
34 #endif // _FILEREADTOOL_H
~FileReadTool() override=default
Basic implementation of the IFileAccess interface.
Definition: FileReadTool.h:16
Definition of the basic interface.
Definition: IInterface.h:234
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
const std::vector< std::string > & protocols() const override
Protocols supported by the instance.
FileReadTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: FileReadTool.cpp:6
std::unique_ptr< std::istream > open(const std::string &url) override
string type
Definition: gaudirun.py:151