Project
Loading...
Searching...
No Matches
qconfig_rtti.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_RTTI_H
16#define QCONFIG_RTTI_H
17
18#include "qconfig.h"
19#include "qconfig_helpers.h"
20#include <string>
21
22namespace qConfig
23{
25 std::string name = ""; // Name of option
26 std::string type = ""; // Data type of option
27 uint8_t size = 0; // sizeof(type)
28 bool isRTC = false; // enable RTC constexpr optimization
29 bool isVariable = false; // is a variable, not settable at command line
30 bool isVector = false; // is std::vector
31 uint16_t arraySize = 0; // size of array if std::array, 0 = no array
32 uint16_t configStructIndex = 0; // Index in configStructVector
33 size_t offset = 0; // Offset address in configStruct
34 std::string configStruct = ""; // Name of config struct that stores the option
35 std::string max = ""; // Maximum Value
36 std::string min = ""; // Minimum Value
37 std::string defaultValue = ""; // Default Value
38 std::string description = ""; // Description of option
39 std::string message = ""; // printf format string, printed with the value when the option is set
40};
41} // namespace qConfig
42
43#endif // QCONFIG_RTTI_H
unsigned short int uint16_t
GLsizeiptr size
Definition glcorearb.h:659
GLuint const GLchar * name
Definition glcorearb.h:781
GLint GLint GLsizei GLint GLenum GLenum type
Definition glcorearb.h:275
GLintptr offset
Definition glcorearb.h:660
GLuint GLsizei const GLchar * message
Definition glcorearb.h:2517