Project
Loading...
Searching...
No Matches
qconfig_general.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
14
15
#ifndef QCONFIG_H_GENERAL
16
#define QCONFIG_H_GENERAL
17
#ifndef GPUCA_GPUCODE_DEVICE
18
#include <cstdint>
19
#include <string>
20
#endif
21
22
namespace
qConfig
23
{
24
#ifndef GPUCA_GPUCODE_DEVICE
25
int32_t
qConfigParse
(
int
argc,
const
char
** argv,
const
char
*
filename
=
nullptr
);
26
void
qConfigPrint
();
// Print all settings
27
template
<
class
T>
28
void
qConfigPrint
(
const
T& qconfig_tmp_object,
const
std::string& blockName =
""
);
// Print one sub config, specializations created in qconfig.cxx
29
#endif
30
enum
qConfigRetVal
{
qcrOK
= 0,
31
qcrError
= 1,
32
qcrMinFailure
= 2,
33
qcrMaxFailure
= 3,
34
qcrHelp
= 4,
35
qcrCmd
= 5,
36
qcrArgMissing
= 6,
37
qcrArgIncomplete
= 7,
38
qcrArrayOverflow
= 8 };
39
}
// namespace qConfig
40
#endif
// QCONFIG_H_GENERAL
qConfig
Definition
qconfig.cxx:34
qConfig::qConfigPrint
void qConfigPrint()
Definition
qconfig.cxx:488
qConfig::qConfigParse
int32_t qConfigParse(int argc, const char **argv, const char *)
Definition
qconfig.cxx:465
qConfig::qConfigRetVal
qConfigRetVal
Definition
qconfig_general.h:30
qConfig::qcrHelp
@ qcrHelp
Definition
qconfig_general.h:34
qConfig::qcrOK
@ qcrOK
Definition
qconfig_general.h:30
qConfig::qcrArgMissing
@ qcrArgMissing
Definition
qconfig_general.h:36
qConfig::qcrMinFailure
@ qcrMinFailure
Definition
qconfig_general.h:32
qConfig::qcrArrayOverflow
@ qcrArrayOverflow
Definition
qconfig_general.h:38
qConfig::qcrMaxFailure
@ qcrMaxFailure
Definition
qconfig_general.h:33
qConfig::qcrArgIncomplete
@ qcrArgIncomplete
Definition
qconfig_general.h:37
qConfig::qcrError
@ qcrError
Definition
qconfig_general.h:31
qConfig::qcrCmd
@ qcrCmd
Definition
qconfig_general.h:35
filename
std::string filename()
Definition
o2FairMQHeaderSizeTest.cxx:55
GPU
GPUTracking
utils
qconfig_general.h
Generated on Sat Oct 24 2026 10:12:43 for Project by
1.9.8