00001
00002
00003 #ifndef _LIBGDAMM_QUERYFIELDAGG_H
00004 #define _LIBGDAMM_QUERYFIELDAGG_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/queryfield.h>
00036 #include <libgdamm/query.h>
00037 #include <libgdamm/referer.h>
00038
00039
00040 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00041 typedef struct _GdaQueryFieldAgg GdaQueryFieldAgg;
00042 typedef struct _GdaQueryFieldAggClass GdaQueryFieldAggClass;
00043 #endif
00044
00045
00046 namespace Gnome
00047 {
00048
00049 namespace Gda
00050 { class QueryFieldAgg_Class; }
00051
00052 }
00053 namespace Gnome
00054 {
00055
00056 namespace Gda
00057 {
00058
00064 class QueryFieldAgg
00065 : public QueryField,
00066 public Referer
00067 {
00068
00069 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00070
00071 public:
00072 typedef QueryFieldAgg CppObjectType;
00073 typedef QueryFieldAgg_Class CppClassType;
00074 typedef GdaQueryFieldAgg BaseObjectType;
00075 typedef GdaQueryFieldAggClass BaseClassType;
00076
00077 private: friend class QueryFieldAgg_Class;
00078 static CppClassType queryfieldagg_class_;
00079
00080 private:
00081
00082 QueryFieldAgg(const QueryFieldAgg&);
00083 QueryFieldAgg& operator=(const QueryFieldAgg&);
00084
00085 protected:
00086 explicit QueryFieldAgg(const Glib::ConstructParams& construct_params);
00087 explicit QueryFieldAgg(GdaQueryFieldAgg* castitem);
00088
00089 #endif
00090
00091 public:
00092 virtual ~QueryFieldAgg();
00093
00094 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00095 static GType get_type() G_GNUC_CONST;
00096 static GType get_base_type() G_GNUC_CONST;
00097 #endif
00098
00100 GdaQueryFieldAgg* gobj() { return reinterpret_cast<GdaQueryFieldAgg*>(gobject_); }
00101
00103 const GdaQueryFieldAgg* gobj() const { return reinterpret_cast<GdaQueryFieldAgg*>(gobject_); }
00104
00106 GdaQueryFieldAgg* gobj_copy();
00107
00108 private:
00109
00110
00111 public:
00112 explicit QueryFieldAgg(const Glib::RefPtr<Query>& query, const Glib::ustring& agg_name);
00113
00114
00118 Glib::RefPtr<DictAggregate> get_ref_agg();
00119
00123 Glib::RefPtr<const DictAggregate> get_ref_agg() const;
00124
00125
00134 void set_arg(const Glib::RefPtr<QueryField>& arg);
00135
00136
00141 Glib::RefPtr<QueryField> get_arg();
00142
00147 Glib::RefPtr<const QueryField> get_arg() const;
00148
00149
00150 public:
00151
00152 public:
00153
00154 #ifdef GLIBMM_VFUNCS_ENABLED
00155 #endif //GLIBMM_VFUNCS_ENABLED
00156
00157 protected:
00158
00159 #ifdef GLIBMM_VFUNCS_ENABLED
00160 #endif //GLIBMM_VFUNCS_ENABLED
00161
00162
00163 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00164 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00165
00166
00167 };
00168
00169 }
00170 }
00171
00172
00173 namespace Glib
00174 {
00180 Glib::RefPtr<Gnome::Gda::QueryFieldAgg> wrap(GdaQueryFieldAgg* object, bool take_copy = false);
00181 }
00182
00183
00184 #endif
00185