datamodelfiltersql.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGDAMM_DATAMODELFILTERSQL_H
00004 #define _LIBGDAMM_DATAMODELFILTERSQL_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 // -*- C++ -*- // this is for the .hg, I realize gensig puts one in
00010 
00011 /* datamodelfiltersql.h
00012  *
00013  * Copyright 2007 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/datamodelrow.h>
00032 
00033 
00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _GdaDataModelFilterSQL GdaDataModelFilterSQL;
00036 typedef struct _GdaDataModelFilterSQLClass GdaDataModelFilterSQLClass;
00037 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00038 
00039 
00040 namespace Gnome
00041 {
00042 
00043 namespace Gda
00044 { class DataModelFilterSQL_Class; } // namespace Gda
00045 
00046 } // namespace Gnome
00047 namespace Gnome
00048 {
00049 
00050 namespace Gda
00051 {
00052 
00059 class DataModelFilterSQL
00060  : public DataModelRow
00061 {
00062   
00063 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00064 
00065 public:
00066   typedef DataModelFilterSQL CppObjectType;
00067   typedef DataModelFilterSQL_Class CppClassType;
00068   typedef GdaDataModelFilterSQL BaseObjectType;
00069   typedef GdaDataModelFilterSQLClass BaseClassType;
00070 
00071 private:  friend class DataModelFilterSQL_Class;
00072   static CppClassType datamodelfiltersql_class_;
00073 
00074 private:
00075   // noncopyable
00076   DataModelFilterSQL(const DataModelFilterSQL&);
00077   DataModelFilterSQL& operator=(const DataModelFilterSQL&);
00078 
00079 protected:
00080   explicit DataModelFilterSQL(const Glib::ConstructParams& construct_params);
00081   explicit DataModelFilterSQL(GdaDataModelFilterSQL* castitem);
00082 
00083 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00084 
00085 public:
00086   virtual ~DataModelFilterSQL();
00087 
00088 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00089   static GType get_type()      G_GNUC_CONST;
00090   static GType get_base_type() G_GNUC_CONST;
00091 #endif
00092 
00094   GdaDataModelFilterSQL*       gobj()       { return reinterpret_cast<GdaDataModelFilterSQL*>(gobject_); }
00095 
00097   const GdaDataModelFilterSQL* gobj() const { return reinterpret_cast<GdaDataModelFilterSQL*>(gobject_); }
00098 
00100   GdaDataModelFilterSQL* gobj_copy();
00101 
00102 private:
00103 
00104 protected:
00105   DataModelFilterSQL();
00106   
00107 
00108 public:
00109   
00110   static Glib::RefPtr<DataModelFilterSQL> create();
00111 
00112 
00119   void add_source(const Glib::ustring& name, const Glib::RefPtr<DataModel>& source);
00120   
00126   void set_sql(const Glib::ustring& sql);
00127   
00138   bool run();
00139 
00140 
00141 public:
00142 
00143 public:
00144   //C++ methods used to invoke GTK+ virtual functions:
00145 #ifdef GLIBMM_VFUNCS_ENABLED
00146 #endif //GLIBMM_VFUNCS_ENABLED
00147 
00148 protected:
00149   //GTK+ Virtual Functions (override these to change behaviour):
00150 #ifdef GLIBMM_VFUNCS_ENABLED
00151 #endif //GLIBMM_VFUNCS_ENABLED
00152 
00153   //Default Signal Handlers::
00154 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00155 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00156 
00157 
00158 };
00159 
00160 } // namespace Gda
00161 } // namespace Gnome
00162 
00163 
00164 namespace Glib
00165 {
00171   Glib::RefPtr<Gnome::Gda::DataModelFilterSQL> wrap(GdaDataModelFilterSQL* object, bool take_copy = false);
00172 }
00173 
00174 
00175 #endif /* _LIBGDAMM_DATAMODELFILTERSQL_H */
00176 

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