2 // This is a generated file, do not edit. Generated from value_basictypes.h.m4
4 #ifndef DOXYGEN_SHOULD_SKIP_THIS
5 #ifndef _GLIBMM_VALUE_H_INCLUDE_VALUE_BASICTYPES_H
6 #error "glibmm/value_basictypes.h cannot be included directly"
10 /* Suppress warnings about `long long' when GCC is in -pedantic mode.
12 #if (__GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96))
13 #pragma GCC system_header
20 * @ingroup glibmmValue
23 class Value<bool> : public ValueBase
27 typedef gboolean CType;
29 static GType value_type() G_GNUC_CONST;
34 #ifndef DOXYGEN_SHOULD_SKIP_THIS
35 GParamSpec* create_param_spec(const Glib::ustring& name) const;
41 * @ingroup glibmmValue
44 class Value<char> : public ValueBase
50 static GType value_type() G_GNUC_CONST;
55 #ifndef DOXYGEN_SHOULD_SKIP_THIS
56 GParamSpec* create_param_spec(const Glib::ustring& name) const;
62 * @ingroup glibmmValue
65 class Value<unsigned char> : public ValueBase
68 typedef unsigned char CppType;
71 static GType value_type() G_GNUC_CONST;
73 void set(unsigned char data);
74 unsigned char get() const;
76 #ifndef DOXYGEN_SHOULD_SKIP_THIS
77 GParamSpec* create_param_spec(const Glib::ustring& name) const;
83 * @ingroup glibmmValue
86 class Value<int> : public ValueBase
92 static GType value_type() G_GNUC_CONST;
97 #ifndef DOXYGEN_SHOULD_SKIP_THIS
98 GParamSpec* create_param_spec(const Glib::ustring& name) const;
104 * @ingroup glibmmValue
107 class Value<unsigned int> : public ValueBase
110 typedef unsigned int CppType;
113 static GType value_type() G_GNUC_CONST;
115 void set(unsigned int data);
116 unsigned int get() const;
118 #ifndef DOXYGEN_SHOULD_SKIP_THIS
119 GParamSpec* create_param_spec(const Glib::ustring& name) const;
125 * @ingroup glibmmValue
128 class Value<long> : public ValueBase
131 typedef long CppType;
134 static GType value_type() G_GNUC_CONST;
139 #ifndef DOXYGEN_SHOULD_SKIP_THIS
140 GParamSpec* create_param_spec(const Glib::ustring& name) const;
146 * @ingroup glibmmValue
149 class Value<unsigned long> : public ValueBase
152 typedef unsigned long CppType;
153 typedef gulong CType;
155 static GType value_type() G_GNUC_CONST;
157 void set(unsigned long data);
158 unsigned long get() const;
160 #ifndef DOXYGEN_SHOULD_SKIP_THIS
161 GParamSpec* create_param_spec(const Glib::ustring& name) const;
167 * @ingroup glibmmValue
170 class Value<long long> : public ValueBase
173 typedef long long CppType;
174 typedef gint64 CType;
176 static GType value_type() G_GNUC_CONST;
178 void set(long long data);
179 long long get() const;
181 #ifndef DOXYGEN_SHOULD_SKIP_THIS
182 GParamSpec* create_param_spec(const Glib::ustring& name) const;
188 * @ingroup glibmmValue
191 class Value<unsigned long long> : public ValueBase
194 typedef unsigned long long CppType;
195 typedef guint64 CType;
197 static GType value_type() G_GNUC_CONST;
199 void set(unsigned long long data);
200 unsigned long long get() const;
202 #ifndef DOXYGEN_SHOULD_SKIP_THIS
203 GParamSpec* create_param_spec(const Glib::ustring& name) const;
209 * @ingroup glibmmValue
212 class Value<float> : public ValueBase
215 typedef float CppType;
216 typedef gfloat CType;
218 static GType value_type() G_GNUC_CONST;
220 void set(float data);
223 #ifndef DOXYGEN_SHOULD_SKIP_THIS
224 GParamSpec* create_param_spec(const Glib::ustring& name) const;
230 * @ingroup glibmmValue
233 class Value<double> : public ValueBase
236 typedef double CppType;
237 typedef gdouble CType;
239 static GType value_type() G_GNUC_CONST;
241 void set(double data);
244 #ifndef DOXYGEN_SHOULD_SKIP_THIS
245 GParamSpec* create_param_spec(const Glib::ustring& name) const;
251 * @ingroup glibmmValue
254 class Value<void*> : public ValueBase
257 typedef void* CppType;
258 typedef gpointer CType;
260 static GType value_type() G_GNUC_CONST;
262 void set(void* data);
265 #ifndef DOXYGEN_SHOULD_SKIP_THIS
266 GParamSpec* create_param_spec(const Glib::ustring& name) const;