queryfieldagg.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGDAMM_QUERYFIELDAGG_H
00004 #define _LIBGDAMM_QUERYFIELDAGG_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 // -*- C++ -*- // this is for the .hg, I realize gensig puts one in
00010 
00011 /* queryfieldagg.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/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 /* DOXYGEN_SHOULD_SKIP_THIS */
00044 
00045 
00046 namespace Gnome
00047 {
00048 
00049 namespace Gda
00050 { class QueryFieldAgg_Class; } // namespace Gda
00051 
00052 } // namespace Gnome
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   // noncopyable
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 /* DOXYGEN_SHOULD_SKIP_THIS */
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   //C++ methods used to invoke GTK+ virtual functions:
00154 #ifdef GLIBMM_VFUNCS_ENABLED
00155 #endif //GLIBMM_VFUNCS_ENABLED
00156 
00157 protected:
00158   //GTK+ Virtual Functions (override these to change behaviour):
00159 #ifdef GLIBMM_VFUNCS_ENABLED
00160 #endif //GLIBMM_VFUNCS_ENABLED
00161 
00162   //Default Signal Handlers::
00163 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00164 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00165 
00166 
00167 };
00168 
00169 } // namespace Gda
00170 } // namespace Gnome
00171 
00172 
00173 namespace Glib
00174 {
00180   Glib::RefPtr<Gnome::Gda::QueryFieldAgg> wrap(GdaQueryFieldAgg* object, bool take_copy = false);
00181 }
00182 
00183 
00184 #endif /* _LIBGDAMM_QUERYFIELDAGG_H */
00185 

Generated on Sat Feb 10 20:06:26 2007 for libgdamm by  doxygen 1.4.7