20
20
<!-- begin main content -->
22
<!-- Generated by Doxygen 1.5.8 -->
22
<!-- Generated by Doxygen 1.5.6 -->
23
23
<div class="navpath"><a class="el" href="namespaceGio.html">Gio</a>::<a class="el" href="classGio_1_1MemoryOutputStream.html">MemoryOutputStream</a>
25
25
<div class="contents">
32
32
<div class="dynheader">
33
33
Inheritance diagram for Gio::MemoryOutputStream:</div>
34
34
<div class="dynsection">
35
<p><center><img src="classGio_1_1MemoryOutputStream__inherit__graph.png" border="0" usemap="#Gio_1_1MemoryOutputStream__inherit__map" alt="Inheritance graph"></center>
36
<map name="Gio_1_1MemoryOutputStream__inherit__map">
37
<area shape="rect" href="classGio_1_1OutputStream.html" title="Base class for implementing streaming output." alt="" coords="5,229,136,256"><area shape="rect" href="classGlib_1_1Object.html" title="Glib::Object" alt="" coords="31,155,121,181"><area shape="rect" href="classGlib_1_1ObjectBase.html" title="Glib::ObjectBase is a common base class for Objects and Interfaces." alt="" coords="76,80,196,107"><area shape="rect" href="classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="155,155,259,181"><area shape="rect" href="classsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="83,5,189,32"><area shape="rect" href="classGio_1_1Seekable.html" title="Stream seeking interface." alt="" coords="160,229,264,256"></map>
35
38
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
60
63
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns: the number of bytes written to the stream. <a href="#7325ac59862190abfbbd8402ca7e7fe5"></a><br></td></tr>
61
64
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
62
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak">
65
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br>
63
66
<<a class="el" href="classGio_1_1MemoryOutputStream.html">MemoryOutputStream</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MemoryOutputStream.html#f906acc5229896d07482f73297a1ee6d">create</a> (gpointer data, gsize len, GReallocFunc realloc_fn, GDestroyNotify destroy)</td></tr>
65
68
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
68
71
<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
69
72
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
70
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak">
73
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br>
71
74
<<a class="el" href="classGio_1_1MemoryOutputStream.html">Gio::MemoryOutputStream</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1MemoryOutputStream.html#294410b0d5c9b2d1a08dc9375338f187">wrap</a> (GMemoryOutputStream* object, bool take_copy=false)</td></tr>
73
76
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#294410b0d5c9b2d1a08dc9375338f187"></a><br></td></tr>
140
143
<hr><h2>Member Function Documentation</h2>
144
<a class="anchor" name="3a52447ebfbc60722ced10d8aa625825"></a><!-- doxytag: member="Gio::MemoryOutputStream::gobj" ref="3a52447ebfbc60722ced10d8aa625825" args="()" -->
145
<div class="memitem">
146
<div class="memproto">
147
<table class="memname">
149
<td class="memname">GMemoryOutputStream* Gio::MemoryOutputStream::gobj </td>
151
<td class="paramname"> </td>
152
<td> ) </td>
153
<td><code> [inline]</code></td>
160
Provides access to the underlying C GObject.
163
<p>Reimplemented from <a class="el" href="classGio_1_1OutputStream.html#c5a71a1f432f8ac2a53de2c66eb81d9d">Gio::OutputStream</a>.</p>
167
<a class="anchor" name="026181901b030a2f1f6e3b66026de5d3"></a><!-- doxytag: member="Gio::MemoryOutputStream::gobj" ref="026181901b030a2f1f6e3b66026de5d3" args="() const " -->
168
<div class="memitem">
169
<div class="memproto">
170
<table class="memname">
172
<td class="memname">const GMemoryOutputStream* Gio::MemoryOutputStream::gobj </td>
174
<td class="paramname"> </td>
175
<td> ) </td>
176
<td> const<code> [inline]</code></td>
183
Provides access to the underlying C GObject.
186
<p>Reimplemented from <a class="el" href="classGio_1_1OutputStream.html#c29e6ad7ccffde24201a1da608f25ac9">Gio::OutputStream</a>.</p>
190
<a class="anchor" name="a6b728d48c0817347df70d41bd57708f"></a><!-- doxytag: member="Gio::MemoryOutputStream::gobj_copy" ref="a6b728d48c0817347df70d41bd57708f" args="()" -->
191
<div class="memitem">
192
<div class="memproto">
193
<table class="memname">
195
<td class="memname">GMemoryOutputStream* Gio::MemoryOutputStream::gobj_copy </td>
197
<td class="paramname"> </td>
198
<td> ) </td>
206
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
209
<p>Reimplemented from <a class="el" href="classGio_1_1OutputStream.html#d9128985ea683716db40d7831cb7075c">Gio::OutputStream</a>.</p>
141
213
<a class="anchor" name="f906acc5229896d07482f73297a1ee6d"></a><!-- doxytag: member="Gio::MemoryOutputStream::create" ref="f906acc5229896d07482f73297a1ee6d" args="(gpointer data, gsize len, GReallocFunc realloc_fn, GDestroyNotify destroy)" -->
142
214
<div class="memitem">
143
215
<div class="memproto">
204
<a class="anchor" name="7325ac59862190abfbbd8402ca7e7fe5"></a><!-- doxytag: member="Gio::MemoryOutputStream::get_data_size" ref="7325ac59862190abfbbd8402ca7e7fe5" args="() const " -->
205
<div class="memitem">
206
<div class="memproto">
207
<table class="memname">
209
<td class="memname">gsize Gio::MemoryOutputStream::get_data_size </td>
211
<td class="paramname"> </td>
212
<td> ) </td>
220
Returns: the number of bytes written to the stream.
222
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The number of bytes written to the stream</dd></dl>
223
<dl compact><dt><b><a class="el" href="newin2p18s.html#_newin2p18s000023">Since glibmm 2.18:</a></b></dt><dd></dd></dl>
227
276
<a class="anchor" name="e8e5b9a0551bba70974c99cbb24a91e3"></a><!-- doxytag: member="Gio::MemoryOutputStream::get_size" ref="e8e5b9a0551bba70974c99cbb24a91e3" args="() const " -->
228
277
<div class="memitem">
229
278
<div class="memproto">
251
<a class="anchor" name="026181901b030a2f1f6e3b66026de5d3"></a><!-- doxytag: member="Gio::MemoryOutputStream::gobj" ref="026181901b030a2f1f6e3b66026de5d3" args="() const " -->
252
<div class="memitem">
253
<div class="memproto">
254
<table class="memname">
256
<td class="memname">const GMemoryOutputStream* Gio::MemoryOutputStream::gobj </td>
258
<td class="paramname"> </td>
259
<td> ) </td>
260
<td> const<code> [inline]</code></td>
267
Provides access to the underlying C GObject.
270
<p>Reimplemented from <a class="el" href="classGio_1_1OutputStream.html#c29e6ad7ccffde24201a1da608f25ac9">Gio::OutputStream</a>.</p>
274
<a class="anchor" name="3a52447ebfbc60722ced10d8aa625825"></a><!-- doxytag: member="Gio::MemoryOutputStream::gobj" ref="3a52447ebfbc60722ced10d8aa625825" args="()" -->
275
<div class="memitem">
276
<div class="memproto">
277
<table class="memname">
279
<td class="memname">GMemoryOutputStream* Gio::MemoryOutputStream::gobj </td>
281
<td class="paramname"> </td>
282
<td> ) </td>
283
<td><code> [inline]</code></td>
290
Provides access to the underlying C GObject.
293
<p>Reimplemented from <a class="el" href="classGio_1_1OutputStream.html#c5a71a1f432f8ac2a53de2c66eb81d9d">Gio::OutputStream</a>.</p>
297
<a class="anchor" name="a6b728d48c0817347df70d41bd57708f"></a><!-- doxytag: member="Gio::MemoryOutputStream::gobj_copy" ref="a6b728d48c0817347df70d41bd57708f" args="()" -->
298
<div class="memitem">
299
<div class="memproto">
300
<table class="memname">
302
<td class="memname">GMemoryOutputStream* Gio::MemoryOutputStream::gobj_copy </td>
304
<td class="paramname"> </td>
305
<td> ) </td>
313
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
316
<p>Reimplemented from <a class="el" href="classGio_1_1OutputStream.html#d9128985ea683716db40d7831cb7075c">Gio::OutputStream</a>.</p>
300
<a class="anchor" name="7325ac59862190abfbbd8402ca7e7fe5"></a><!-- doxytag: member="Gio::MemoryOutputStream::get_data_size" ref="7325ac59862190abfbbd8402ca7e7fe5" args="() const " -->
301
<div class="memitem">
302
<div class="memproto">
303
<table class="memname">
305
<td class="memname">gsize Gio::MemoryOutputStream::get_data_size </td>
307
<td class="paramname"> </td>
308
<td> ) </td>
316
Returns: the number of bytes written to the stream.
318
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The number of bytes written to the stream</dd></dl>
319
<dl compact><dt><b><a class="el" href="newin2p18s.html#_newin2p18s000023">Since glibmm 2.18:</a></b></dt><dd></dd></dl>
364
367
<hr><address><small>
365
368
Generated for glibmm 2.4 by <a href="http://www.doxygen.org/index.html">
366
Doxygen</a> 1.5.8 © 1997-2001</small></address>
370
Generated for glibmm 2.4 by <a href="http://www.doxygen.org/index.html">
371
Doxygen</a> 1.5.8 © 1997-2001</small></address>
369
Doxygen</a> 1.5.6 © 1997-2001</small></address>