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
11 
19 class DODBasicMapper: public extends<AlgTool,
20  IDODAlgMapper,
21  IDODNodeMapper> {
22 public:
25  ~DODBasicMapper() override = default;
26 
29 
31  std::string nodeTypeForPath(const std::string &path) override;
32 
33 private:
36 };
37 
38 #endif // INCIDENTSVC_DODBASICMAPPER_H
Default implementation of a DataOnDemand mapper.
GaudiUtils::HashMap< std::string, std::string > m_nodeMap
std::string nodeTypeForPath(const std::string &path) override
STL class.
Helper class to parse a string of format "type/name".
Definition: TypeNameString.h:9
GaudiUtils::HashMap< std::string, Gaudi::Utils::TypeNameString > m_algMap
Definition of the basic interface.
Definition: IInterface.h:234
DODBasicMapper(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
GAUDI_API std::string path(const AIDA::IBaseHistogram *aida)
get the path in THS for AIDA histogram
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
~DODBasicMapper() override=default
Destructor.
Gaudi::Utils::TypeNameString algorithmForPath(const std::string &path) override
const std::string & type() const override
Retrieve type (concrete class) of the sub-algtool.
Definition: AlgTool.cpp:72
const std::string & name() const override
Retrieve full identifying name of the concrete tool object.
Definition: AlgTool.cpp:65
const IInterface * parent() const override
Retrieve parent of the sub-algtool.
Definition: AlgTool.cpp:79