blobop.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGDAMM_BLOBOP_H
00004 #define _LIBGDAMM_BLOBOP_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 // -*- C++ -*- // this is for the .hg, I realize gensig puts one in
00010 
00011 /* blob-op.h
00012  *
00013  * Copyright 2001      Free Software Foundation
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 
00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00032 typedef struct _GdaBlobOp GdaBlobOp;
00033 typedef struct _GdaBlobOpClass GdaBlobOpClass;
00034 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00035 
00036 
00037 namespace Gnome
00038 {
00039 
00040 namespace Gda
00041 { class BlobOp_Class; } // namespace Gda
00042 
00043 } // namespace Gnome
00044 namespace Gnome
00045 {
00046 
00047 namespace Gda
00048 {
00049 
00050 class Blob;
00051 
00057 class BlobOp : public Glib::Object
00058 {
00059   
00060 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00061 
00062 public:
00063   typedef BlobOp CppObjectType;
00064   typedef BlobOp_Class CppClassType;
00065   typedef GdaBlobOp BaseObjectType;
00066   typedef GdaBlobOpClass BaseClassType;
00067 
00068 private:  friend class BlobOp_Class;
00069   static CppClassType blobop_class_;
00070 
00071 private:
00072   // noncopyable
00073   BlobOp(const BlobOp&);
00074   BlobOp& operator=(const BlobOp&);
00075 
00076 protected:
00077   explicit BlobOp(const Glib::ConstructParams& construct_params);
00078   explicit BlobOp(GdaBlobOp* castitem);
00079 
00080 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00081 
00082 public:
00083   virtual ~BlobOp();
00084 
00085 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00086   static GType get_type()      G_GNUC_CONST;
00087   static GType get_base_type() G_GNUC_CONST;
00088 #endif
00089 
00091   GdaBlobOp*       gobj()       { return reinterpret_cast<GdaBlobOp*>(gobject_); }
00092 
00094   const GdaBlobOp* gobj() const { return reinterpret_cast<GdaBlobOp*>(gobject_); }
00095 
00097   GdaBlobOp* gobj_copy();
00098 
00099 private:
00100 
00101   
00102   protected:
00103     BlobOp();
00104   
00105   public:
00106     
00107   static Glib::RefPtr<BlobOp> create();
00108 
00109     
00116   long get_length() const;;
00117     
00125   long read(Blob& blob, long offset, long size);;
00126     
00133   long write(Blob& blob, long offset);;
00134     
00139   bool read_all(Blob& blob);;
00140     
00146   bool write_all(Blob& blob);;
00147     
00148     // vfuncs are not wrapped!
00149 
00150 
00151 public:
00152 
00153 public:
00154   //C++ methods used to invoke GTK+ virtual functions:
00155 #ifdef GLIBMM_VFUNCS_ENABLED
00156 #endif //GLIBMM_VFUNCS_ENABLED
00157 
00158 protected:
00159   //GTK+ Virtual Functions (override these to change behaviour):
00160 #ifdef GLIBMM_VFUNCS_ENABLED
00161 #endif //GLIBMM_VFUNCS_ENABLED
00162 
00163   //Default Signal Handlers::
00164 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00165 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00166 
00167 
00168 };
00169 
00170 } // namespace Gda
00171 
00172 } // namespace Gnome
00173 
00174 
00175 namespace Glib
00176 {
00182   Glib::RefPtr<Gnome::Gda::BlobOp> wrap(GdaBlobOp* object, bool take_copy = false);
00183 }
00184 
00185 
00186 #endif /* _LIBGDAMM_BLOBOP_H */
00187 

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