00001
00002
00003 #ifndef _LIBGDAMM_DICTAGGREGATE_H
00004 #define _LIBGDAMM_DICTAGGREGATE_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
00031 #include <libgdamm/object.h>
00032 #include <libgdamm/xmlstorage.h>
00033 #include <libgdamm/dicttype.h>
00034
00035
00036 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00037 typedef struct _GdaDictAggregate GdaDictAggregate;
00038 typedef struct _GdaDictAggregateClass GdaDictAggregateClass;
00039 #endif
00040
00041
00042 namespace Gnome
00043 {
00044
00045 namespace Gda
00046 { class DictAggregate_Class; }
00047
00048 }
00049 namespace Gnome
00050 {
00051
00052 namespace Gda
00053 {
00054
00055 class Connection;
00056 class Dict;
00057
00065 class DictAggregate
00066 : public Gda::Object,
00067 public XmlStorage
00068 {
00069
00070 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00071
00072 public:
00073 typedef DictAggregate CppObjectType;
00074 typedef DictAggregate_Class CppClassType;
00075 typedef GdaDictAggregate BaseObjectType;
00076 typedef GdaDictAggregateClass BaseClassType;
00077
00078 private: friend class DictAggregate_Class;
00079 static CppClassType dictaggregate_class_;
00080
00081 private:
00082
00083 DictAggregate(const DictAggregate&);
00084 DictAggregate& operator=(const DictAggregate&);
00085
00086 protected:
00087 explicit DictAggregate(const Glib::ConstructParams& construct_params);
00088 explicit DictAggregate(GdaDictAggregate* castitem);
00089
00090 #endif
00091
00092 public:
00093 virtual ~DictAggregate();
00094
00095 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00096 static GType get_type() G_GNUC_CONST;
00097 static GType get_base_type() G_GNUC_CONST;
00098 #endif
00099
00101 GdaDictAggregate* gobj() { return reinterpret_cast<GdaDictAggregate*>(gobject_); }
00102
00104 const GdaDictAggregate* gobj() const { return reinterpret_cast<GdaDictAggregate*>(gobject_); }
00105
00107 GdaDictAggregate* gobj_copy();
00108
00109 private:
00110
00111
00112 protected:
00113
00114 DictAggregate();
00115
00116 public:
00117
00118 static Glib::RefPtr<DictAggregate> create();
00119
00120
00124 void set_dbms_id(const Glib::ustring& id);
00125
00129 Glib::ustring get_dbms_id() const;
00130
00133 void set_sqlname(const Glib::ustring& sqlname);
00134
00138 Glib::ustring get_sqlname() const;
00139
00144 void set_arg_dict_type(const Glib::RefPtr<DictType>& dt);
00145
00146
00150 Glib::RefPtr<DictType> get_arg_dict_type();
00151
00155 Glib::RefPtr<const DictType> get_arg_dict_type() const;
00156
00157
00161 void set_ret_dict_type(const Glib::RefPtr<DictType>& dt);
00162
00163
00167 Glib::RefPtr<DictType> get_ret_dict_type();
00168
00172 Glib::RefPtr<const DictType> get_ret_dict_type() const;
00173
00174
00175 public:
00176
00177 public:
00178
00179 #ifdef GLIBMM_VFUNCS_ENABLED
00180 #endif //GLIBMM_VFUNCS_ENABLED
00181
00182 protected:
00183
00184 #ifdef GLIBMM_VFUNCS_ENABLED
00185 #endif //GLIBMM_VFUNCS_ENABLED
00186
00187
00188 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00189 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00190
00191
00192 };
00193
00194 }
00195 }
00196
00197
00198 namespace Glib
00199 {
00205 Glib::RefPtr<Gnome::Gda::DictAggregate> wrap(GdaDictAggregate* object, bool take_copy = false);
00206 }
00207
00208
00209 #endif
00210