datamodelarray.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGDAMM_DATAMODELARRAY_H
00004 #define _LIBGDAMM_DATAMODELARRAY_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 // -*- C++ -*- // this is for the .hg, I realize gensig puts one in
00010 
00011 /* datamodelarray.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/datamodelrow.h>
00032 
00033 
00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _GdaDataModelArray GdaDataModelArray;
00036 typedef struct _GdaDataModelArrayClass GdaDataModelArrayClass;
00037 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00038 
00039 
00040 namespace Gnome
00041 {
00042 
00043 namespace Gda
00044 { class DataModelArray_Class; } // namespace Gda
00045 
00046 } // namespace Gnome
00047 namespace Gnome
00048 {
00049 
00050 namespace Gda
00051 {
00052 
00058 class DataModelArray
00059  : public DataModelRow
00060 {
00061   
00062 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00063 
00064 public:
00065   typedef DataModelArray CppObjectType;
00066   typedef DataModelArray_Class CppClassType;
00067   typedef GdaDataModelArray BaseObjectType;
00068   typedef GdaDataModelArrayClass BaseClassType;
00069 
00070 private:  friend class DataModelArray_Class;
00071   static CppClassType datamodelarray_class_;
00072 
00073 private:
00074   // noncopyable
00075   DataModelArray(const DataModelArray&);
00076   DataModelArray& operator=(const DataModelArray&);
00077 
00078 protected:
00079   explicit DataModelArray(const Glib::ConstructParams& construct_params);
00080   explicit DataModelArray(GdaDataModelArray* castitem);
00081 
00082 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00083 
00084 public:
00085   virtual ~DataModelArray();
00086 
00087 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00088   static GType get_type()      G_GNUC_CONST;
00089   static GType get_base_type() G_GNUC_CONST;
00090 #endif
00091 
00093   GdaDataModelArray*       gobj()       { return reinterpret_cast<GdaDataModelArray*>(gobject_); }
00094 
00096   const GdaDataModelArray* gobj() const { return reinterpret_cast<GdaDataModelArray*>(gobject_); }
00097 
00099   GdaDataModelArray* gobj_copy();
00100 
00101 private:
00102 
00103 protected:
00104   explicit DataModelArray(int cols);
00105 
00106 public:
00107   
00108   static Glib::RefPtr<DataModelArray> create(int cols);
00109 
00110 
00117   void set_n_columns(int cols);
00118   
00121   void clear();
00122 
00123 
00124 public:
00125 
00126 public:
00127   //C++ methods used to invoke GTK+ virtual functions:
00128 #ifdef GLIBMM_VFUNCS_ENABLED
00129 #endif //GLIBMM_VFUNCS_ENABLED
00130 
00131 protected:
00132   //GTK+ Virtual Functions (override these to change behaviour):
00133 #ifdef GLIBMM_VFUNCS_ENABLED
00134 #endif //GLIBMM_VFUNCS_ENABLED
00135 
00136   //Default Signal Handlers::
00137 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00138 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00139 
00140 
00141 };
00142 
00143 } // namespace Gda
00144 } // namespace Gnome
00145 
00146 
00147 namespace Glib
00148 {
00154   Glib::RefPtr<Gnome::Gda::DataModelArray> wrap(GdaDataModelArray* object, bool take_copy = false);
00155 }
00156 
00157 
00158 #endif /* _LIBGDAMM_DATAMODELARRAY_H */
00159 

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