| The Gaudi Framework v28r2p1 (f1a77ff4)

- 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
AlgTool::name
const std::string & name() const override
Retrieve full identifying name of the concrete tool object.
Definition: AlgTool.cpp:63
std::vector< std::string >
std::unique_ptr
STL class.
FileReadTool::protocols
const std::vector< std::string > & protocols() const override
Protocols supported by the instance.
Definition: FileReadTool.cpp:25
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
FileReadTool::FileReadTool
FileReadTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: FileReadTool.cpp:6
AlgTool::parent
const IInterface * parent() const override
Retrieve parent of the sub-algtool.
Definition: AlgTool.cpp:77
FileReadTool::open
std::unique_ptr< std::istream > open(const std::string &url) override
Definition: FileReadTool.cpp:14
AlgTool::type
const std::string & type() const override
Retrieve type (concrete class) of the sub-algtool.
Definition: AlgTool.cpp:70