COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
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 
16 namespace covise
17 {
18 
19 class coConfigGroup;
20 
22 {
23 
24 public:
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 
37 protected:
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
Definition: coConfigGroup.h:25
#define CONFIGEXPORT
Definition: coExport.h:337
Definition: coConfigBool.h:21
Definition: coConfigValue.h:20
GLboolean GLuint group
Definition: khronos-glext.h:12389
GLenum GLenum variable
Definition: khronos-glext.h:9990
GLsizei const GLfloat * value
Definition: khronos-glext.h:6760