| The Gaudi Framework v27r1

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

- File List
- File Members

DODBasicMapper.h
Go to the documentation of this file.
1 #ifndef INCIDENTSVC_DODBASICMAPPER_H
2 #define INCIDENTSVC_DODBASICMAPPER_H 1
3 // Include files
4 // from Gaudi
5 #include "GaudiKernel/AlgTool.h"
6 #include "GaudiKernel/HashMap.h"
7
8 // Implemented interfaces
9 #include "GaudiKernel/IDODAlgMapper.h"
10 #include "GaudiKernel/IDODNodeMapper.h"
11
19 class DODBasicMapper: public extends<AlgTool,
20 IDODAlgMapper,
21 IDODNodeMapper> {
22 public:
24 DODBasicMapper(const std::string& type, const std::string& name, const IInterface* parent);
25 ~DODBasicMapper() override = default;
26
28 Gaudi::Utils::TypeNameString algorithmForPath(const std::string &path) override;
29
31 std::string nodeTypeForPath(const std::string &path) override;
32
33 private:
34 GaudiUtils::HashMap<std::string, Gaudi::Utils::TypeNameString> m_algMap;
35 GaudiUtils::HashMap<std::string, std::string> m_nodeMap;
36 };
37
38 #endif // INCIDENTSVC_DODBASICMAPPER_H
DODBasicMapper
Default implementation of a DataOnDemand mapper.
Definition: DODBasicMapper.h:19
DODBasicMapper::m_nodeMap
GaudiUtils::HashMap< std::string, std::string > m_nodeMap
Definition: DODBasicMapper.h:35
AlgTool.h
HashMap.h
DODBasicMapper::nodeTypeForPath
std::string nodeTypeForPath(const std::string &path) override
Definition: DODBasicMapper.cpp:53
std::string
STL class.
Gaudi::Utils::TypeNameString
Helper class to parse a string of format "type/name".
Definition: TypeNameString.h:9
DODBasicMapper::m_algMap
GaudiUtils::HashMap< std::string, Gaudi::Utils::TypeNameString > m_algMap
Definition: DODBasicMapper.h:34
IInterface
Definition of the basic interface.
Definition: IInterface.h:234
DODBasicMapper::DODBasicMapper
DODBasicMapper(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition: DODBasicMapper.cpp:36
Gaudi::Utils::Histos::path
GAUDI_API std::string path(const AIDA::IBaseHistogram *aida)
get the path in THS for AIDA histogram
Definition: HistoTableFormat.cpp:191
extends
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
DODBasicMapper::~DODBasicMapper
~DODBasicMapper() override=default
Destructor.
GaudiUtils::HashMap< std::string, Gaudi::Utils::TypeNameString >
DODBasicMapper::algorithmForPath
Gaudi::Utils::TypeNameString algorithmForPath(const std::string &path) override
Definition: DODBasicMapper.cpp:46
AlgTool::type
const std::string & type() const override
Retrieve type (concrete class) of the sub-algtool.
Definition: AlgTool.cpp:72
AlgTool::name
const std::string & name() const override
Retrieve full identifying name of the concrete tool object.
Definition: AlgTool.cpp:65
IDODNodeMapper.h
IDODAlgMapper.h
AlgTool::parent
const IInterface * parent() const override
Retrieve parent of the sub-algtool.
Definition: AlgTool.cpp:79