<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>libgdamm: Gnome::Gda::Blob Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.8 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceGnome.html">Gnome</a>::<a class="el" href="namespaceGnome_1_1Gda.html">Gda</a>::<a class="el" href="classGnome_1_1Gda_1_1Blob.html">Blob</a> </div> </div> <div class="contents"> <h1>Gnome::Gda::Blob Class Reference<br> <small> [<a class="el" href="group__DataHandlers.html">Data Handlers</a>]</small> </h1><!-- doxytag: class="Gnome::Gda::Blob" -->This object is a base class for individual database providers which support BLOB types. <a href="#_details">More...</a> <p> <div class="dynheader"> Collaboration diagram for Gnome::Gda::Blob:</div> <div class="dynsection"> <p><center><img src="classGnome_1_1Gda_1_1Blob__coll__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1Blob__coll__map" alt="Collaboration graph"></center> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classGnome_1_1Gda_1_1Blob-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Blob.html#e0fd7461b467cc5e2ec7a9250900cfdf">Blob</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Blob.html#9ed998dfa646448497f1a0d131563b9f">Blob</a> (const GdaBlob* gobject)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GdaBlob* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Blob.html#12633dace443eb9ff3920b6ec9f6ba79">gobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#12633dace443eb9ff3920b6ec9f6ba79"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const GdaBlob* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Blob.html#07b0f54022a494b12bbdee034e1c1b65">gobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#07b0f54022a494b12bbdee034e1c1b65"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Blob.html#ef0c319d4a980cfb993030b36ebcb324">set_op</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGnome_1_1Gda_1_1BlobOp.html">BlobOp</a> >& op)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">correctly assigns <em>op</em> to <em>blob</em> <a href="#ef0c319d4a980cfb993030b36ebcb324"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Blob.html#ac54945e2a4118723e9177455747e5ec">to_string</a> (guint maxlen=0) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Converts all the non printable characters of blob->data into the representation where xxx is the octal representation of the byte, and the '\' (backslash) character is converted to "\\". <a href="#ac54945e2a4118723e9177455747e5ec"></a><br></td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">GdaBlob </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Blob.html#1f4298f97bd8a2767f0434ef9acedb6d">gobject_</a></td></tr> <tr><td colspan="2"><br><h2>Related Functions</h2></td></tr> <tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGnome_1_1Gda_1_1Blob.html">Gnome::Gda::Blob</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Blob.html#b2e601d51ea3d593d695863957c1201a">wrap</a> (GdaBlob* object)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classGnome_1_1Gda_1_1Blob.html">Gnome::Gda::Blob</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Blob.html#56dece1dbea4981095e9d76a89f675e0">wrap</a> (const GdaBlob* object)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> This object is a base class for individual database providers which support BLOB types. <p> It supports operations to read and write data in a BLOB. <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="e0fd7461b467cc5e2ec7a9250900cfdf"></a><!-- doxytag: member="Gnome::Gda::Blob::Blob" ref="e0fd7461b467cc5e2ec7a9250900cfdf" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gnome::Gda::Blob::Blob </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="9ed998dfa646448497f1a0d131563b9f"></a><!-- doxytag: member="Gnome::Gda::Blob::Blob" ref="9ed998dfa646448497f1a0d131563b9f" args="(const GdaBlob *gobject)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Gnome::Gda::Blob::Blob </td> <td>(</td> <td class="paramtype">const GdaBlob * </td> <td class="paramname"> <em>gobject</em> </td> <td> ) </td> <td><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="07b0f54022a494b12bbdee034e1c1b65"></a><!-- doxytag: member="Gnome::Gda::Blob::gobj" ref="07b0f54022a494b12bbdee034e1c1b65" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const GdaBlob* Gnome::Gda::Blob::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C instance. <p> </div> </div><p> <a class="anchor" name="12633dace443eb9ff3920b6ec9f6ba79"></a><!-- doxytag: member="Gnome::Gda::Blob::gobj" ref="12633dace443eb9ff3920b6ec9f6ba79" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GdaBlob* Gnome::Gda::Blob::gobj </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Provides access to the underlying C instance. <p> </div> </div><p> <a class="anchor" name="ef0c319d4a980cfb993030b36ebcb324"></a><!-- doxytag: member="Gnome::Gda::Blob::set_op" ref="ef0c319d4a980cfb993030b36ebcb324" args="(const Glib::RefPtr< BlobOp > &op)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void Gnome::Gda::Blob::set_op </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGnome_1_1Gda_1_1BlobOp.html">BlobOp</a> >& </td> <td class="paramname"> <em>op</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> correctly assigns <em>op</em> to <em>blob</em> <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>op</em> </td><td>A <a class="el" href="classGnome_1_1Gda_1_1BlobOp.html" title="Blobs handling.">Gda::BlobOp</a> object, or <code>0</code>. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="ac54945e2a4118723e9177455747e5ec"></a><!-- doxytag: member="Gnome::Gda::Blob::to_string" ref="ac54945e2a4118723e9177455747e5ec" args="(guint maxlen=0) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::Blob::to_string </td> <td>(</td> <td class="paramtype">guint </td> <td class="paramname"> <em>maxlen</em> = <code>0</code> </td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p> Converts all the non printable characters of blob->data into the representation where xxx is the octal representation of the byte, and the '\' (backslash) character is converted to "\\". <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>maxlen</em> </td><td>A maximum len used to truncate, or 0 for no maximum length. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A new string from <em>blob</em>. </dd></dl> </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="56dece1dbea4981095e9d76a89f675e0"></a><!-- doxytag: member="Gnome::Gda::Blob::wrap" ref="56dece1dbea4981095e9d76a89f675e0" args="(const GdaBlob *object)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classGnome_1_1Gda_1_1Blob.html">Gnome::Gda::Blob</a>& wrap </td> <td>(</td> <td class="paramtype">const GdaBlob * </td> <td class="paramname"> <em>object</em> </td> <td> ) </td> <td><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div><p> <a class="anchor" name="b2e601d51ea3d593d695863957c1201a"></a><!-- doxytag: member="Gnome::Gda::Blob::wrap" ref="b2e601d51ea3d593d695863957c1201a" args="(GdaBlob *object)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGnome_1_1Gda_1_1Blob.html">Gnome::Gda::Blob</a>& wrap </td> <td>(</td> <td class="paramtype">GdaBlob * </td> <td class="paramname"> <em>object</em> </td> <td> ) </td> <td><code> [related]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="1f4298f97bd8a2767f0434ef9acedb6d"></a><!-- doxytag: member="Gnome::Gda::Blob::gobject_" ref="1f4298f97bd8a2767f0434ef9acedb6d" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GdaBlob <a class="el" href="classGnome_1_1Gda_1_1Blob.html#1f4298f97bd8a2767f0434ef9acedb6d">Gnome::Gda::Blob::gobject_</a><code> [protected]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li>libgdamm/blob.h</ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Fri Aug 28 20:01:54 2009 for libgdamm by  <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> </body> </html>