COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coConfigInt.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 COCONFIGINT_H
9 #define COCONFIGINT_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  coConfigInt(const QString &configGroupName, const QString &variable, const QString &section);
26  coConfigInt(const QString &variable, const QString &section);
27  coConfigInt(const QString &simpleVariable);
29  const QString &variable, const QString &section);
30  coConfigInt(coConfigGroup *group, const QString &simpleVariable);
32 
33  virtual ~coConfigInt();
34 
35  coConfigInt &operator=(int);
36 
37 protected:
38  virtual int fromString(const QString &value) const;
39  virtual QString toString(const int &value) const;
40 };
41 }
42 #undef COCONFIGVALUE_USE_CACHE
43 #endif
Definition: coConfigGroup.h:25
#define CONFIGEXPORT
Definition: coExport.h:337
Definition: coConfigValue.h:20
Definition: coConfigInt.h:21
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