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
17
19{
20struct TestParam : public o2::conf::ConfigurableParamHelper<TestParam> {
21 enum TestEnum : uint8_t {
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";
39 int caValue[3] = {0, 1, 2};
40
41 O2ParamDef(TestParam, "TestParam");
42};
43} // namespace o2::conf::test
44
45#endif
O2ParamDef(TestParam, "TestParam")