8 #ifndef CO_COVISE_CONFIG_H
9 #define CO_COVISE_CONFIG_H
32 static int getInt(
const std::string &entry,
int defaultValue,
bool *exists = 0);
33 static int getInt(
const std::string &variable,
const std::string &entry,
int defaultValue,
bool *exists = 0);
35 static long getLong(
const std::string &entry,
long defaultValue,
bool *exists = 0);
36 static long getLong(
const std::string &variable,
const std::string &entry,
long defaultValue,
bool *exists = 0);
38 static bool isOn(
const std::string &entry,
bool defaultValue,
bool *exists = 0);
39 static bool isOn(
const std::string &variable,
const std::string &entry,
bool defaultValue,
bool *exists = 0);
42 static float getFloat(
const std::string &entry,
float defaultValue,
bool *exists = 0);
43 static float getFloat(
const std::string &variable,
const std::string &entry,
float defaultValue,
bool *exists = 0);
85 const T getValue()
const;
88 virtual void release();
99 const char **getValue();
100 const char **getValue()
const;
105 virtual void release();
109 template <
typename T>
117 template <
typename T>
124 template <
typename T>
137 template <
typename T>
152 template <
typename T>
158 template <
typename T>
164 template <
typename T>
GLsizei const GLchar *const * string
Definition: khronos-glext.h:6750
#define CONFIGEXPORT
Definition: coExport.h:355
GLenum GLenum variable
Definition: khronos-glext.h:9990
GLuint const GLchar * name
Definition: khronos-glext.h:6722
virtual ~RefPtr()
Definition: CoviseConfig.h:118
T ptr
Definition: CoviseConfig.h:90
unsigned int refCount
Definition: CoviseConfig.h:91
virtual void release()
Definition: CoviseConfig.h:165
RefPtr< T > & operator=(const RefPtr< T > &s)
Definition: CoviseConfig.h:138
GLdouble s
Definition: khronos-glext.h:6441
RefPtr()
Definition: CoviseConfig.h:110
Definition: CoviseConfig.h:18
Definition: CoviseConfig.h:94
Definition: CoviseConfig.h:74
T getValue()
Definition: CoviseConfig.h:153