The Gaudi Framework
v36r1 (3e2fb5a8)
FileReadTool.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#ifndef _FILEREADTOOL_H
12
#define _FILEREADTOOL_H
13
14
#include "
GaudiKernel/AlgTool.h
"
15
#include "
GaudiKernel/IFileAccess.h
"
16
26
struct
FileReadTool
:
extends
<AlgTool, IFileAccess> {
28
using
extends::extends;
29
30
std::unique_ptr<std::istream>
open
(
const
std::string
& url )
override
;
31
33
const
std::vector<std::string>
&
protocols
()
const override
;
34
};
35
36
#endif // _FILEREADTOOL_H
std::string
STL class.
FileReadTool
Definition:
FileReadTool.h:26
std::vector< std::string >
IFileAccess.h
FileReadTool::open
std::unique_ptr< std::istream > open(const std::string &url) override
Definition:
FileReadTool.cpp:16
extends
Base class used to extend a class implementing other interfaces.
Definition:
extends.h:20
AlgTool.h
std::unique_ptr
STL class.
FileReadTool::protocols
const std::vector< std::string > & protocols() const override
Protocols supported by the instance.
Definition:
FileReadTool.cpp:27
GaudiUtils
src
component
FileReadTool.h
Generated on Tue Sep 21 2021 12:27:49 for The Gaudi Framework by
1.8.18