blob.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGDAMM_BLOB_H
00004 #define _LIBGDAMM_BLOB_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 // -*- C++ -*- // this is for the .hg, I realize gensig puts one in
00010 
00011 /* blob.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 #include <libgdamm/blobop.h>
00032 #include <libgda/gda-value.h> // Seems like we need this
00033 
00034 namespace Gnome
00035 {
00036 
00037 namespace Gda
00038 {
00039 
00040 //TODO:
00041 class Blob
00042 {
00043   public:
00044 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00045   typedef Blob CppObjectType;
00046   typedef GdaBlob BaseObjectType;
00047 
00048   static GType get_type() G_GNUC_CONST;
00049 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00050 
00051   Blob();
00052 
00053   explicit Blob(const GdaBlob* gobject); // always takes a copy
00054 
00056   GdaBlob*       gobj()       { return &gobject_; }
00057 
00059   const GdaBlob* gobj() const { return &gobject_; }
00060 
00061 protected:
00062   GdaBlob gobject_;
00063 
00064 private:
00065   
00066   
00067   public:
00068     
00072   void set_op(const Glib::RefPtr<BlobOp>& blob);
00073     
00080   Glib::ustring to_string(guint maxlen);
00081 
00082 
00083 };
00084 
00085 } // namespace Gda
00086 
00087 } // namespace Gnome
00088 
00089 
00090 namespace Glib
00091 {
00092 
00097 Gnome::Gda::Blob& wrap(GdaBlob* object);
00098 
00103 const Gnome::Gda::Blob& wrap(const GdaBlob* object);
00104 
00105 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00106 template <>
00107 class Value<Gnome::Gda::Blob> : public Glib::Value_Boxed<Gnome::Gda::Blob>
00108 {};
00109 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00110 
00111 } // namespace Glib
00112 
00113 
00114 #endif /* _LIBGDAMM_BLOB_H */
00115 

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