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
22namespace qConfig
23{
24#ifndef GPUCA_GPUCODE_DEVICE
25int32_t qConfigParse(int argc, const char** argv, const char* filename = nullptr);
26void qConfigPrint(); // Print all settings
27template <class T>
28void qConfigPrint(const T& qconfig_tmp_object, const std::string& blockName = ""); // Print one sub config, specializations created in qconfig.cxx
29#endif
39} // namespace qConfig
40#endif // QCONFIG_H_GENERAL
void qConfigPrint()
Definition qconfig.cxx:488
int32_t qConfigParse(int argc, const char **argv, const char *)
Definition qconfig.cxx:465
std::string filename()