The Gaudi Framework
master (37c0b60a)
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/TestSuite/TestAlg.h
>
16
17
#include <unordered_map>
18
19
namespace
Gaudi
{
20
namespace
TestSuite
{
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 TestSuite
40
}
// namespace Gaudi
41
42
#endif // PROPERTIES_CUSTOMPROPERTIESALG_H
TestSuite
#define TestSuite
Definition:
MakeAndConsume.cpp:658
Gaudi::TestSuite::TestAlg
Simple algorithm useful as base class for tests.
Definition:
TestAlg.h:19
TestAlg.h
StatusCode
Definition:
StatusCode.h:65
Gaudi::TestSuite::CustomPropertiesAlg::m_unorderedMap
Gaudi::Property< std::unordered_map< std::string, std::string > > m_unorderedMap
Definition:
CustomPropertiesAlg.h:37
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition:
__init__.py:1
Gaudi::TestSuite::CustomPropertiesAlg::execute
StatusCode execute() override
Algorithm execution.
Definition:
CustomPropertiesAlg.cpp:92
Gaudi::TestSuite::CustomPropertiesAlg::finalize
StatusCode finalize() override
Algorithm finalization.
Definition:
CustomPropertiesAlg.cpp:103
Gaudi::TestSuite::CustomPropertiesAlg::initialize
StatusCode initialize() override
Algorithm initialization.
Definition:
CustomPropertiesAlg.cpp:78
Gaudi::Property
Implementation of property with value of concrete type.
Definition:
Property.h:37
Gaudi::TestSuite::CustomPropertiesAlg
Definition:
CustomPropertiesAlg.h:28
GaudiTestSuite
src
Properties
CustomPropertiesAlg.h
Generated on Thu Dec 19 2024 15:35:07 for The Gaudi Framework by
1.8.18