The Gaudi Framework
master (57817a18)
Toggle main menu visibility
Loading...
Searching...
No Matches
DODBasicMapper.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#pragma once
12
13
#include <
GaudiKernel/AlgTool.h
>
14
#include <
GaudiKernel/HashMap.h
>
15
#include <
GaudiKernel/IDODAlgMapper.h
>
16
#include <
GaudiKernel/IDODNodeMapper.h
>
17
25
class
DODBasicMapper
:
public
extends
<AlgTool, IDODAlgMapper, IDODNodeMapper> {
26
public
:
28
using
extends::extends;
29
31
Gaudi::Utils::TypeNameString
algorithmForPath
(
const
std::string& path )
override
;
32
34
std::string
nodeTypeForPath
(
const
std::string& path )
override
;
35
36
private
:
37
template
<
class
T>
38
using
MapProp
=
Gaudi::Property<GaudiUtils::HashMap<std::string, T>
>;
39
40
MapProp<std::string>
m_nodeMap
{
41
this
,
"Nodes"
, {},
"map of the type of nodes to be associated to paths (path -> data_type)."
};
42
MapProp<Gaudi::Utils::TypeNameString>
m_algMap
{
43
this
,
"Algorithms"
, {},
"map of algorithms to be used to produce entries (path -> alg_name)."
};
44
};
AlgTool.h
HashMap.h
IDODAlgMapper.h
IDODNodeMapper.h
DODBasicMapper
Default implementation of a DataOnDemand mapper.
Definition
DODBasicMapper.h:25
DODBasicMapper::m_nodeMap
MapProp< std::string > m_nodeMap
Definition
DODBasicMapper.h:40
DODBasicMapper::nodeTypeForPath
std::string nodeTypeForPath(const std::string &path) override
Definition
DODBasicMapper.cpp:40
DODBasicMapper::MapProp
Gaudi::Property< GaudiUtils::HashMap< std::string, T > > MapProp
Definition
DODBasicMapper.h:38
DODBasicMapper::algorithmForPath
Gaudi::Utils::TypeNameString algorithmForPath(const std::string &path) override
Definition
DODBasicMapper.cpp:35
DODBasicMapper::m_algMap
MapProp< Gaudi::Utils::TypeNameString > m_algMap
Definition
DODBasicMapper.h:42
Gaudi::Property
Implementation of property with value of concrete type.
Definition
Property.h:35
Gaudi::Utils::TypeNameString
Helper class to parse a string of format "type/name".
Definition
TypeNameString.h:19
extends
Base class used to extend a class implementing other interfaces.
Definition
extends.h:19
GaudiCoreSvc
src
IncidentSvc
DODBasicMapper.h
Generated on
for The Gaudi Framework by
1.17.0