The Gaudi Framework
v26r0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
FileReadTool.h
Go to the documentation of this file.
1
// $Id: FileReadTool.h,v 1.2 2008/06/12 15:23:03 marcocle Exp $
2
#ifndef _FILEREADTOOL_H
3
#define _FILEREADTOOL_H
4
5
#include "
GaudiKernel/IFileAccess.h
"
6
#include "
GaudiKernel/AlgTool.h
"
7
17
class
FileReadTool
:
public
extends1
<AlgTool, IFileAccess> {
18
19
public
:
20
22
FileReadTool
(
const
std::string&
type
,
23
const
std::string&
name
,
24
const
IInterface
*
parent
);
25
26
virtual
~FileReadTool
();
27
28
//virtual StatusCode initialize();
29
//virtual StatusCode finalize();
30
31
virtual
std::auto_ptr<std::istream>
open
(
const
std::string &url);
32
34
virtual
const
std::vector<std::string> &
protocols
()
const
;
35
36
private
:
37
39
std::vector<std::string>
m_protocols
;
40
41
};
42
43
#endif // _FILEREADTOOL_H
AlgTool::type
virtual const std::string & type() const
Retrieve type (concrete class) of the sub-algtool.
Definition:
AlgTool.cpp:58
FileReadTool
Basic implementation of the IFileAccess interface.
Definition:
FileReadTool.h:17
AlgTool.h
FileReadTool::m_protocols
std::vector< std::string > m_protocols
Vector of supported protocols.
Definition:
FileReadTool.h:39
FileReadTool::open
virtual std::auto_ptr< std::istream > open(const std::string &url)
Find the URL and returns an auto_ptr to an input stream interface of an object that can be used to re...
Definition:
FileReadTool.cpp:18
IFileAccess.h
FileReadTool::protocols
virtual const std::vector< std::string > & protocols() const
Protocols supported by the instance.
Definition:
FileReadTool.cpp:29
FileReadTool::~FileReadTool
virtual ~FileReadTool()
Definition:
FileReadTool.cpp:16
IInterface
Definition of the basic interface.
Definition:
IInterface.h:160
extends1
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:7
AlgTool::parent
virtual const IInterface * parent() const
Retrieve parent of the sub-algtool.
Definition:
AlgTool.cpp:65
AlgTool::name
virtual const std::string & name() const
Retrieve full identifying name of the concrete tool object.
Definition:
AlgTool.cpp:51
GaudiUtils
src
component
FileReadTool.h
Generated on Tue Jan 20 2015 20:27:28 for The Gaudi Framework by
1.8.7