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 
5 #include "GaudiKernel/AlgTool.h"
6 
16 class FileReadTool : public extends<AlgTool,
17  IFileAccess> {
18 
19 public:
20 
23  const std::string& name,
24  const IInterface* parent);
25 
26  ~FileReadTool() override = default;
27 
28  std::unique_ptr<std::istream> open(const std::string &url) override;
29 
31  const std::vector<std::string> &protocols() const override;
32 
33 };
34 
35 #endif // _FILEREADTOOL_H
~FileReadTool() override=default
Basic implementation of the IFileAccess interface.
Definition: FileReadTool.h:16
STL class.
Definition of the basic interface.
Definition: IInterface.h:234
const std::string & name() const override
Retrieve full identifying name of the concrete tool object.
Definition: AlgTool.cpp:63
STL class.
const std::vector< std::string > & protocols() const override
Protocols supported by the instance.
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
FileReadTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: FileReadTool.cpp:6
const IInterface * parent() const override
Retrieve parent of the sub-algtool.
Definition: AlgTool.cpp:77
std::unique_ptr< std::istream > open(const std::string &url) override
const std::string & type() const override
Retrieve type (concrete class) of the sub-algtool.
Definition: AlgTool.cpp:70