The Gaudi Framework
v37r1 (a7f61348)
CustomPropertiesAlg.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 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
#ifndef PROPERTIES_CUSTOMPROPERTIESALG_H
12
#define PROPERTIES_CUSTOMPROPERTIESALG_H 1
13
// Include files
14
// from Gaudi
15
#include <
Gaudi/Examples/TestAlg.h
>
16
17
#include <unordered_map>
18
19
namespace
Gaudi
{
20
namespace
Examples {
28
class
CustomPropertiesAlg
:
public
TestAlg
{
29
public
:
31
using
TestAlg::TestAlg;
32
33
StatusCode
initialize
()
override
;
34
StatusCode
execute
()
override
;
35
StatusCode
finalize
()
override
;
36
private
:
37
Gaudi::Property<std::unordered_map<std::string, std::string>
>
m_unorderedMap
{
this
,
"UnorderedMap"
};
38
};
39
}
// namespace Examples
40
}
// namespace Gaudi
41
42
#endif // PROPERTIES_CUSTOMPROPERTIESALG_H
Gaudi::Examples::CustomPropertiesAlg::finalize
StatusCode finalize() override
Algorithm finalization.
Definition:
CustomPropertiesAlg.cpp:103
Gaudi::Examples::CustomPropertiesAlg::m_unorderedMap
Gaudi::Property< std::unordered_map< std::string, std::string > > m_unorderedMap
Definition:
CustomPropertiesAlg.h:37
TestAlg.h
Gaudi::Examples::TestAlg
Simple algorithm useful as base class for tests.
Definition:
TestAlg.h:19
StatusCode
Definition:
StatusCode.h:65
Gaudi::Examples::CustomPropertiesAlg::initialize
StatusCode initialize() override
Algorithm initialization.
Definition:
CustomPropertiesAlg.cpp:78
Gaudi
Header file for std:chrono::duration-based Counters.
Definition:
__init__.py:1
Gaudi::Examples::CustomPropertiesAlg
Definition:
CustomPropertiesAlg.h:28
Gaudi::Examples::CustomPropertiesAlg::execute
StatusCode execute() override
Algorithm execution.
Definition:
CustomPropertiesAlg.cpp:92
Gaudi::Property
Implementation of property with value of concrete type.
Definition:
Property.h:39
GaudiExamples
src
Properties
CustomPropertiesAlg.h
Generated on Mon Oct 30 2023 11:39:52 for The Gaudi Framework by
1.8.18