| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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 extends<AlgTool,
17 IFileAccess> {
18
19 public:
20
22 FileReadTool( const std::string& type,
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::~FileReadTool
~FileReadTool() override=default
FileReadTool
Basic implementation of the IFileAccess interface.
Definition: FileReadTool.h:16
AlgTool.h
IFileAccess.h
std::string
STL class.
IInterface
Definition of the basic interface.
Definition: IInterface.h:234
std::vector< std::string >
std::unique_ptr
STL class.
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
FileReadTool::protocols
const std::vector< std::string > & protocols() const override
Protocols supported by the instance.
Definition: FileReadTool.cpp:25
FileReadTool::FileReadTool
FileReadTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: FileReadTool.cpp:6
AlgTool::type
const std::string & type() const override
Retrieve type (concrete class) of the sub-algtool.
Definition: AlgTool.cpp:72
FileReadTool::open
std::unique_ptr< std::istream > open(const std::string &url) override
Definition: FileReadTool.cpp:14
AlgTool::name
const std::string & name() const override
Retrieve full identifying name of the concrete tool object.
Definition: AlgTool.cpp:65
AlgTool::parent
const IInterface * parent() const override
Retrieve parent of the sub-algtool.
Definition: AlgTool.cpp:79