00001
00002
00003 #ifndef _LIBGDAMM_QUERYFIELD_H
00004 #define _LIBGDAMM_QUERYFIELD_H
00005
00006
00007 #include <glibmm.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #include <glibmm/object.h>
00031 #include <libgdamm/dict.h>
00032 #include <libgdamm/datamodel.h>
00033
00034 #include <libgdamm/xmlstorage.h>
00035 #include <libgdamm/queryobject.h>
00036
00037
00038 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00039 typedef struct _GdaQueryField GdaQueryField;
00040 typedef struct _GdaQueryFieldClass GdaQueryFieldClass;
00041 #endif
00042
00043
00044 namespace Gnome
00045 {
00046
00047 namespace Gda
00048 { class QueryField_Class; }
00049
00050 }
00051 namespace Gnome
00052 {
00053
00054 namespace Gda
00055 {
00056
00060 class QueryField
00061 : public QueryObject
00062 {
00063
00064 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00065
00066 public:
00067 typedef QueryField CppObjectType;
00068 typedef QueryField_Class CppClassType;
00069 typedef GdaQueryField BaseObjectType;
00070 typedef GdaQueryFieldClass BaseClassType;
00071
00072 private: friend class QueryField_Class;
00073 static CppClassType queryfield_class_;
00074
00075 private:
00076
00077 QueryField(const QueryField&);
00078 QueryField& operator=(const QueryField&);
00079
00080 protected:
00081 explicit QueryField(const Glib::ConstructParams& construct_params);
00082 explicit QueryField(GdaQueryField* castitem);
00083
00084 #endif
00085
00086 public:
00087 virtual ~QueryField();
00088
00089 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00090 static GType get_type() G_GNUC_CONST;
00091 static GType get_base_type() G_GNUC_CONST;
00092 #endif
00093
00095 GdaQueryField* gobj() { return reinterpret_cast<GdaQueryField*>(gobject_); }
00096
00098 const GdaQueryField* gobj() const { return reinterpret_cast<GdaQueryField*>(gobject_); }
00099
00101 GdaQueryField* gobj_copy();
00102
00103 private:
00104
00105
00106 public:
00107
00108
00113 Glib::RefPtr<DictType> get_dict_type();
00114
00119 Glib::RefPtr<const DictType> get_dict_type() const;
00120
00121
00122
00123
00124
00125
00126
00127
00131 void set_alias(const Glib::ustring& alias);
00132
00136 Glib::ustring get_alias() const;
00137
00138
00139
00144 void set_visible(bool visible = true);
00145
00149 bool get_visible() const;
00150
00154 void set_internal(bool internal = true);
00155
00159 bool get_internal() const;
00160
00164 bool is_list() const;
00165
00166
00167 public:
00168
00169 public:
00170
00171 #ifdef GLIBMM_VFUNCS_ENABLED
00172 #endif //GLIBMM_VFUNCS_ENABLED
00173
00174 protected:
00175
00176 #ifdef GLIBMM_VFUNCS_ENABLED
00177 #endif //GLIBMM_VFUNCS_ENABLED
00178
00179
00180 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00181 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00182
00183
00184 };
00185
00186 }
00187 }
00188
00189
00190 namespace Glib
00191 {
00197 Glib::RefPtr<Gnome::Gda::QueryField> wrap(GdaQueryField* object, bool take_copy = false);
00198 }
00199
00200
00201 #endif
00202