COVISE Core
coConfigBool.h
Go to the documentation of this file.
1/* This file is part of COVISE.
2
3 You can use it under the terms of the GNU Lesser General Public License
4 version 2.1 or later, see lgpl-2.1.txt.
5
6 * License: LGPL 2+ */
7
8#ifndef COCONFIGBOOL_H
9#define COCONFIGBOOL_H
10
11#define COCONFIGVALUE_USE_CACHE
12
13#include "coConfigValue.h"
14#include <util/coTypes.h>
15
16namespace covise
17{
18
19class coConfigGroup;
20
22{
23
24public:
25 coConfigBool(const QString &configGroupName, const QString &variable, const QString &section);
26 coConfigBool(const QString &variable, const QString &section);
27 coConfigBool(const QString &simpleVariabl);
29 const QString &variable, const QString &section);
30 coConfigBool(coConfigGroup *group, const QString &simpleVariable);
32
33 virtual ~coConfigBool();
34
35 coConfigBool &operator=(bool);
36
37protected:
38 virtual bool fromString(const QString &value) const;
39 virtual QString toString(const bool &value) const;
40};
41}
42#undef COCONFIGVALUE_USE_CACHE
43#endif
#define CONFIGEXPORT
Definition: coExport.h:367
GLsizei const GLfloat * value
Definition: khronos-glext.h:6760
GLboolean GLuint group
Definition: khronos-glext.h:12389
GLenum GLenum variable
Definition: khronos-glext.h:9990
list of all chemical elements
Definition: coConfig.h:27
Definition: coConfigBool.h:22
Definition: coConfigGroup.h:26
Definition: coConfigValue.h:21