Project
Loading...
Searching...
No Matches
ConfigurableParamTest.h
Go to the documentation of this file.
1
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
12
#ifndef COMMON_CONFIGURABLE_PARAM_TEST_H_
13
#define COMMON_CONFIGURABLE_PARAM_TEST_H_
14
15
#include "
CommonUtils/ConfigurableParam.h
"
16
#include "
CommonUtils/ConfigurableParamHelper.h
"
17
18
namespace
o2::conf::test
19
{
20
struct
TestParam
:
public
o2::conf::ConfigurableParamHelper
<TestParam> {
21
enum
TestEnum
: uint8_t {
22
A
,
23
B
,
24
C
25
};
26
27
int
iValue
{42};
28
float
fValue
{3.14};
29
double
dValue
{3.14};
30
bool
bValue
{
true
};
31
unsigned
uValue
{1};
32
long
lValue
{1};
33
unsigned
long
ulValue
{1};
34
long
long
llValue
{1};
35
unsigned
long
long
ullValue
{1};
36
std::string
sValue
=
"default"
;
37
int
iValueProvenanceTest
{0};
38
TestEnum
eValue
=
TestEnum::C
;
39
int
caValue
[3] = {0, 1, 2};
40
41
O2ParamDef
(
TestParam
,
"TestParam"
);
42
};
43
}
// namespace o2::conf::test
44
45
#endif
ConfigurableParamHelper.h
ConfigurableParam.h
o2::conf::ConfigurableParamHelper
Definition
ConfigurableParamHelper.h:78
o2::conf::test
Definition
ConfigurableParamTest.h:19
o2::conf::test::TestParam
Definition
ConfigurableParamTest.h:20
o2::conf::test::TestParam::bValue
bool bValue
Definition
ConfigurableParamTest.h:30
o2::conf::test::TestParam::uValue
unsigned uValue
Definition
ConfigurableParamTest.h:31
o2::conf::test::TestParam::ulValue
unsigned long ulValue
Definition
ConfigurableParamTest.h:33
o2::conf::test::TestParam::dValue
double dValue
Definition
ConfigurableParamTest.h:29
o2::conf::test::TestParam::eValue
TestEnum eValue
Definition
ConfigurableParamTest.h:38
o2::conf::test::TestParam::sValue
std::string sValue
Definition
ConfigurableParamTest.h:36
o2::conf::test::TestParam::iValue
int iValue
Definition
ConfigurableParamTest.h:27
o2::conf::test::TestParam::llValue
long long llValue
Definition
ConfigurableParamTest.h:34
o2::conf::test::TestParam::TestEnum
TestEnum
Definition
ConfigurableParamTest.h:21
o2::conf::test::TestParam::A
@ A
Definition
ConfigurableParamTest.h:22
o2::conf::test::TestParam::C
@ C
Definition
ConfigurableParamTest.h:24
o2::conf::test::TestParam::B
@ B
Definition
ConfigurableParamTest.h:23
o2::conf::test::TestParam::lValue
long lValue
Definition
ConfigurableParamTest.h:32
o2::conf::test::TestParam::caValue
int caValue[3]
Definition
ConfigurableParamTest.h:39
o2::conf::test::TestParam::iValueProvenanceTest
int iValueProvenanceTest
Definition
ConfigurableParamTest.h:37
o2::conf::test::TestParam::fValue
float fValue
Definition
ConfigurableParamTest.h:28
o2::conf::test::TestParam::ullValue
unsigned long long ullValue
Definition
ConfigurableParamTest.h:35
o2::conf::test::TestParam::O2ParamDef
O2ParamDef(TestParam, "TestParam")
Common
Utils
include
CommonUtils
ConfigurableParamTest.h
Generated on Fri Oct 3 2025 12:54:25 for Project by
1.9.8