The Gaudi Framework
v29r0 (ff2e7097)
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/AlgTool.h
"
5
#include "
GaudiKernel/IFileAccess.h
"
6
16
class
FileReadTool
:
public
extends
<AlgTool, IFileAccess>
17
{
18
19
public
:
21
FileReadTool
(
const
std::string
&
type
,
const
std::string
&
name
,
const
IInterface
*
parent
);
22
23
~FileReadTool
()
override
=
default
;
24
25
std::unique_ptr<std::istream>
open
(
const
std::string
& url )
override
;
26
28
const
std::vector<std::string>
&
protocols
()
const override
;
29
};
30
31
#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:277
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:24
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:12
AlgTool::type
const std::string & type() const override
Retrieve type (concrete class) of the sub-algtool.
Definition:
AlgTool.cpp:70
GaudiUtils
src
component
FileReadTool.h
Generated on Tue Sep 26 2017 11:39:09 for The Gaudi Framework by
1.8.11