COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coConfigLong.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 COCONFIGLONG_H
9 #define COCONFIGLONG_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  coConfigLong(const QString &configGroupName, const QString &variable, const QString &section);
26  coConfigLong(const QString &variable, const QString &section);
27  coConfigLong(const QString &simpleVariable);
29  const QString &variable, const QString &section);
30  coConfigLong(coConfigGroup *group, const QString &simpleVariable);
32 
33  virtual ~coConfigLong();
34 
35  coConfigLong &operator=(long);
36 
37 protected:
38  virtual long fromString(const QString &value) const;
39  virtual QString toString(const long &value) const;
40 };
41 }
42 #undef COCONFIGVALUE_USE_CACHE
43 #endif
#define CONFIGEXPORT
Definition: coExport.h:355
Definition: coConfigGroup.h:25
GLenum GLenum variable
Definition: khronos-glext.h:9990
Definition: coConfigLong.h:21
GLboolean GLuint group
Definition: khronos-glext.h:12389
GLsizei const GLfloat * value
Definition: khronos-glext.h:6760
Definition: coConfigValue.h:20