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 extends2<AlgTool, IDODAlgMapper, IDODNodeMapper> {
20 public:
22  DODBasicMapper(const std::string& type, const std::string& name, const IInterface* parent);
23  virtual ~DODBasicMapper();
24 
26  virtual Gaudi::Utils::TypeNameString algorithmForPath(const std::string &path);
27 
29  virtual std::string nodeTypeForPath(const std::string &path);
30 
31 protected:
32 private:
35 
36  AlgMap m_algMap;
37  NodeMap m_nodeMap;
38 };
39 
40 #endif // INCIDENTSVC_DODBASICMAPPER_H
virtual std::string nodeTypeForPath(const std::string &path)
Default implementation of a DataOnDemand mapper.
virtual const std::string & type() const
Retrieve type (concrete class) of the sub-algtool.
Definition: AlgTool.cpp:58
list path
Definition: __init__.py:15
Base class used to extend a class implementing other interfaces.
Definition: extends.h:75
virtual Gaudi::Utils::TypeNameString algorithmForPath(const std::string &path)
Helper class to parse a string of format "type/name".
Definition: TypeNameString.h:9
GaudiUtils::HashMap< std::string, Gaudi::Utils::TypeNameString > AlgMap
Definition of the basic interface.
Definition: IInterface.h:160
DODBasicMapper(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
virtual const IInterface * parent() const
Retrieve parent of the sub-algtool.
Definition: AlgTool.cpp:65
virtual ~DODBasicMapper()
Destructor.
virtual const std::string & name() const
Retrieve full identifying name of the concrete tool object.
Definition: AlgTool.cpp:51
GaudiUtils::HashMap< std::string, std::string > NodeMap