The Gaudi Framework  v30r3 (a5ef0a68)
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 
27 
29  std::string nodeTypeForPath( const std::string& path ) override;
30 
31 private:
32  template <class T>
34 
36  this, "Nodes", {}, "map of the type of nodes to be associated to paths (path -> data_type)."};
38  this, "Algorithms", {}, "map of algorithms to be used to produce entries (path -> alg_name)."};
39 };
40 
41 #endif // INCIDENTSVC_DODBASICMAPPER_H
Default implementation of a DataOnDemand mapper.
Implementation of property with value of concrete type.
Definition: Property.h:381
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
Gaudi::Utils::TypeNameString algorithmForPath(const std::string &path) override
MapProp< Gaudi::Utils::TypeNameString > m_algMap