COVISE Core
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
16namespace covise
17{
18
19class coConfigGroup;
20
22{
23
24public:
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
37protected:
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
#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: coConfigGroup.h:26
Definition: coConfigInt.h:22
Definition: coConfigValue.h:21