00001 // -*- c++ -*- 00002 // Generated by gtkmmproc -- DO NOT MODIFY! 00003 #ifndef _LIBGDAMM_QUERYFIELDALL_H 00004 #define _LIBGDAMM_QUERYFIELDALL_H 00005 00006 00007 #include <glibmm.h> 00008 00009 // -*- C++ -*- // this is for the .hg, I realize gensig puts one in 00010 00011 /* queryfieldall.h 00012 * 00013 * Copyright 2003 libgdamm Development Team 00014 * 00015 * This library is free software; you can redistribute it and/or 00016 * modify it under the terms of the GNU Library General Public 00017 * License as published by the Free Software Foundation; either 00018 * version 2 of the License, or (at your option) any later version. 00019 * 00020 * This library is distributed in the hope that it will be useful, 00021 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00023 * Library General Public License for more details. 00024 * 00025 * You should have received a copy of the GNU Library General Public 00026 * License along with this library; if not, write to the Free 00027 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 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/referer.h> 00036 #include <libgdamm/entityfield.h> 00037 #include <libgdamm/renderer.h> 00038 #include <libgdamm/queryfield.h> 00039 #include <libgdamm/query.h> 00040 00041 00042 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00043 typedef struct _GdaQueryFieldAll GdaQueryFieldAll; 00044 typedef struct _GdaQueryFieldAllClass GdaQueryFieldAllClass; 00045 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00046 00047 00048 namespace Gnome 00049 { 00050 00051 namespace Gda 00052 { class QueryFieldAll_Class; } // namespace Gda 00053 00054 } // namespace Gnome 00055 namespace Gnome 00056 { 00057 00058 namespace Gda 00059 { 00060 00066 class QueryFieldAll 00067 : public QueryField, 00068 public XmlStorage, 00069 public Referer, 00070 public EntityField, 00071 public Renderer 00072 { 00073 00074 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00075 00076 public: 00077 typedef QueryFieldAll CppObjectType; 00078 typedef QueryFieldAll_Class CppClassType; 00079 typedef GdaQueryFieldAll BaseObjectType; 00080 typedef GdaQueryFieldAllClass BaseClassType; 00081 00082 private: friend class QueryFieldAll_Class; 00083 static CppClassType queryfieldall_class_; 00084 00085 private: 00086 // noncopyable 00087 QueryFieldAll(const QueryFieldAll&); 00088 QueryFieldAll& operator=(const QueryFieldAll&); 00089 00090 protected: 00091 explicit QueryFieldAll(const Glib::ConstructParams& construct_params); 00092 explicit QueryFieldAll(GdaQueryFieldAll* castitem); 00093 00094 #endif /* DOXYGEN_SHOULD_SKIP_THIS */ 00095 00096 public: 00097 virtual ~QueryFieldAll(); 00098 00099 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00100 static GType get_type() G_GNUC_CONST; 00101 static GType get_base_type() G_GNUC_CONST; 00102 #endif 00103 00105 GdaQueryFieldAll* gobj() { return reinterpret_cast<GdaQueryFieldAll*>(gobject_); } 00106 00108 const GdaQueryFieldAll* gobj() const { return reinterpret_cast<GdaQueryFieldAll*>(gobject_); } 00109 00111 GdaQueryFieldAll* gobj_copy(); 00112 00113 private: 00114 00115 00116 protected: 00117 00118 QueryFieldAll(const Glib::RefPtr<Query>& query, const Glib::ustring& target); 00119 00120 public: 00121 00122 static Glib::RefPtr<QueryFieldAll> create(const Glib::RefPtr<Query>& query, const Glib::ustring& target); 00123 00124 00128 Glib::RefPtr<QueryTarget> get_target(); 00129 00133 Glib::RefPtr<const QueryTarget> get_target() const; 00134 00135 #ifdef GLIBMM_PROPERTIES_ENABLED 00136 00142 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Query> > property_query() const; 00143 #endif //#GLIBMM_PROPERTIES_ENABLED 00144 00145 00146 #ifdef GLIBMM_PROPERTIES_ENABLED 00147 00153 Glib::PropertyProxy< Glib::RefPtr<QueryTarget> > property_target() ; 00154 #endif //#GLIBMM_PROPERTIES_ENABLED 00155 00156 #ifdef GLIBMM_PROPERTIES_ENABLED 00157 00163 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<QueryTarget> > property_target() const; 00164 #endif //#GLIBMM_PROPERTIES_ENABLED 00165 00166 #ifdef GLIBMM_PROPERTIES_ENABLED 00167 00173 Glib::PropertyProxy_WriteOnly<Glib::ustring> property_target_name() ; 00174 #endif //#GLIBMM_PROPERTIES_ENABLED 00175 00176 00177 #ifdef GLIBMM_PROPERTIES_ENABLED 00178 00184 Glib::PropertyProxy_WriteOnly<Glib::ustring> property_target_id() ; 00185 #endif //#GLIBMM_PROPERTIES_ENABLED 00186 00187 00188 public: 00189 00190 public: 00191 //C++ methods used to invoke GTK+ virtual functions: 00192 #ifdef GLIBMM_VFUNCS_ENABLED 00193 #endif //GLIBMM_VFUNCS_ENABLED 00194 00195 protected: 00196 //GTK+ Virtual Functions (override these to change behaviour): 00197 #ifdef GLIBMM_VFUNCS_ENABLED 00198 #endif //GLIBMM_VFUNCS_ENABLED 00199 00200 //Default Signal Handlers:: 00201 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 00202 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 00203 00204 00205 }; 00206 00207 } // namespace Gda 00208 } // namespace Gnome 00209 00210 00211 namespace Glib 00212 { 00218 Glib::RefPtr<Gnome::Gda::QueryFieldAll> wrap(GdaQueryFieldAll* object, bool take_copy = false); 00219 } 00220 00221 00222 #endif /* _LIBGDAMM_QUERYFIELDALL_H */ 00223