The Gaudi Framework  v29r0 (ff2e7097)
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, IDODAlgMapper, IDODNodeMapper>
20 {
21 public:
23  using extends::extends;
24 
25  // DODBasicMapper(const std::string& type, const std::string& name, const IInterface* parent);
26  ~DODBasicMapper() override = default;
27 
30 
32  std::string nodeTypeForPath( const std::string& path ) override;
33 
34 private:
35  template <class T>
37 
39  this, "Nodes", {}, "map of the type of nodes to be associated to paths (path -> data_type)."};
41  this, "Algorithms", {}, "map of algorithms to be used to produce entries (path -> alg_name)."};
42 };
43 
44 #endif // INCIDENTSVC_DODBASICMAPPER_H
Default implementation of a DataOnDemand mapper.
Implementation of property with value of concrete type.
Definition: Property.h:319
MapProp< std::string > m_nodeMap
std::string nodeTypeForPath(const std::string &path) override
STL class.
Helper class to parse a string of format "type/name".
Gaudi::Property< GaudiUtils::HashMap< std::string, T >> MapProp
Base class used to extend a class implementing other interfaces.
Definition: extends.h:10
~DODBasicMapper() override=default
Gaudi::Utils::TypeNameString algorithmForPath(const std::string &path) override
MapProp< Gaudi::Utils::TypeNameString > m_algMap