1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>glibmm 2.4: Gio::FileIOStream Class Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
6
<body bgcolor="#ffffff">
7
<table border="0" width="100%">
9
<td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
10
<td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
14
<a class="qindex" href="http://www.gtkmm.org/documentation.shtml">Main Page</a>
15
<a class="qindex" href="namespaces.html">glibmm Namespaces</a>
16
<a href="../../../../gtkmm-2.4/docs/tutorial/html/index.html"> Book</a>
20
<!-- begin main content -->
22
<!-- Generated by Doxygen 1.5.6 -->
23
<div class="navpath"><a class="el" href="namespaceGio.html">Gio</a>::<a class="el" href="classGio_1_1FileIOStream.html">FileIOStream</a>
25
<div class="contents">
26
<h1>Gio::FileIOStream Class Reference<br>
28
[<a class="el" href="group__Streams.html">Stream Classes</a>]</small>
29
</h1><!-- doxytag: class="Gio::FileIOStream" --><!-- doxytag: inherits="Gio::IOStream,Gio::Seekable" --><a class="el" href="classGio_1_1FileIOStream.html" title="FileIOStream provides input streams that take their content from a file.">FileIOStream</a> provides input streams that take their content from a file.
30
<a href="#_details">More...</a>
32
<div class="dynheader">
33
Inheritance diagram for Gio::FileIOStream:</div>
34
<div class="dynsection">
35
<p><center><img src="classGio_1_1FileIOStream__inherit__graph.png" border="0" usemap="#Gio_1_1FileIOStream__inherit__map" alt="Inheritance graph"></center>
36
<map name="Gio_1_1FileIOStream__inherit__map">
37
<area shape="rect" href="classGio_1_1IOStream.html" title="Gio::IOStream" alt="" coords="5,229,109,256"><area shape="rect" href="classGlib_1_1Object.html" title="Glib::Object" alt="" coords="13,155,104,181"><area shape="rect" href="classGlib_1_1ObjectBase.html" title="Glib::ObjectBase is a common base class for Objects and Interfaces." alt="" coords="59,80,179,107"><area shape="rect" href="classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="131,155,235,181"><area shape="rect" href="classsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="65,5,172,32"><area shape="rect" href="classGio_1_1Seekable.html" title="Stream seeking interface." alt="" coords="133,229,237,256"></map>
38
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
41
<a href="classGio_1_1FileIOStream-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
43
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
44
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileIOStream.html#7b412e59741edea22ef424786aa2665a">~FileIOStream</a> ()</td></tr>
46
<tr><td class="memItemLeft" nowrap align="right" valign="top">GFileIOStream* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileIOStream.html#382fe1830e5e347db4ae0d941398c0df">gobj</a> ()</td></tr>
48
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#382fe1830e5e347db4ae0d941398c0df"></a><br></td></tr>
49
<tr><td class="memItemLeft" nowrap align="right" valign="top">const GFileIOStream* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileIOStream.html#cd384df600b1aea26bd10ca2e74f1b21">gobj</a> () const </td></tr>
51
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#cd384df600b1aea26bd10ca2e74f1b21"></a><br></td></tr>
52
<tr><td class="memItemLeft" nowrap align="right" valign="top">GFileIOStream* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileIOStream.html#2661e78434e66d48a54aa67ddd4d4e53">gobj_copy</a> ()</td></tr>
54
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#2661e78434e66d48a54aa67ddd4d4e53"></a><br></td></tr>
55
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1FileInfo.html">FileInfo</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileIOStream.html#11c3696bd12879c7554a8be1246ca069">query_info</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1Cancellable.html">Cancellable</a>>& cancellable, const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#a48">std::string</a>& attributes="*")</td></tr>
57
<tr><td class="mdescLeft"> </td><td class="mdescRight">Queries a file input stream the given <em>attributes</em>. <a href="#11c3696bd12879c7554a8be1246ca069"></a><br></td></tr>
58
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1FileInfo.html">FileInfo</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileIOStream.html#1c4cefdd3b2ff134f01ecbc7a4439921">query_info</a> (const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#a48">std::string</a>& attributes="*")</td></tr>
60
<tr><td class="mdescLeft"> </td><td class="mdescRight">Queries a file input stream the given <em>attributes</em>. <a href="#1c4cefdd3b2ff134f01ecbc7a4439921"></a><br></td></tr>
61
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileIOStream.html#e83afafd7a40cc116026af5452c26151">query_info_async</a> (const <a class="el" href="namespaceGio.html#ecaa02709f9ab83fa2b36d2571665cbe">SlotAsyncReady</a>& slot, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1Cancellable.html">Cancellable</a>>& cancellable, const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#a48">std::string</a>& attributes="*", int io_priority=Glib::PRIORITY_DEFAULT)</td></tr>
63
<tr><td class="mdescLeft"> </td><td class="mdescRight">Queries the stream information asynchronously. <a href="#e83afafd7a40cc116026af5452c26151"></a><br></td></tr>
64
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileIOStream.html#eafe3bd19e6cf993dd7a2bb4e27ebd4d">query_info_async</a> (const <a class="el" href="namespaceGio.html#ecaa02709f9ab83fa2b36d2571665cbe">SlotAsyncReady</a>& slot, const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#a48">std::string</a>& attributes="*", int io_priority=Glib::PRIORITY_DEFAULT)</td></tr>
66
<tr><td class="mdescLeft"> </td><td class="mdescRight">Queries the stream information asynchronously. <a href="#eafe3bd19e6cf993dd7a2bb4e27ebd4d"></a><br></td></tr>
67
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1FileInfo.html">FileInfo</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileIOStream.html#9838bea653f37c9ff298e16a96ce11dd">query_info_finish</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1AsyncResult.html">AsyncResult</a>>& result)</td></tr>
69
<tr><td class="mdescLeft"> </td><td class="mdescRight">Finalizes the asynchronous query started by g_file_io_stream_query_info_async(). <a href="#9838bea653f37c9ff298e16a96ce11dd"></a><br></td></tr>
70
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#a48">std::string</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileIOStream.html#98607843697e850776bd6736a93df4d5">get_etag</a> () const </td></tr>
72
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the entity tag for the file when it has been written. <a href="#98607843697e850776bd6736a93df4d5"></a><br></td></tr>
73
<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
74
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
75
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1FileIOStream.html">Gio::FileIOStream</a>> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileIOStream.html#44679bcc0dadcf0eb3bf2691e51e7e98">wrap</a> (GFileIOStream* object, bool take_copy=false)</td></tr>
77
<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="#44679bcc0dadcf0eb3bf2691e51e7e98"></a><br></td></tr>
79
<hr><a name="_details"></a><h2>Detailed Description</h2>
80
<a class="el" href="classGio_1_1FileIOStream.html" title="FileIOStream provides input streams that take their content from a file.">FileIOStream</a> provides input streams that take their content from a file.
82
<a class="el" href="classGio_1_1FileInputStream.html" title="FileInputStream provides input streams that take their content from a file.">FileInputStream</a> implements <a class="el" href="classGio_1_1Seekable.html" title="Stream seeking interface.">Seekable</a>, which allows the input stream to jump to arbitrary positions in the file, provided the file system of the file allows it. Use the methods of the <a class="el" href="classGio_1_1Seekable.html" title="Stream seeking interface.">Seekable</a> base class for seeking and positioning.<hr><h2>Constructor& Destructor Documentation</h2>
83
<a class="anchor" name="7b412e59741edea22ef424786aa2665a"></a><!-- doxytag: member="Gio::FileIOStream::~FileIOStream" ref="7b412e59741edea22ef424786aa2665a" args="()" -->
85
<div class="memproto">
86
<table class="memname">
88
<td class="memname">virtual Gio::FileIOStream::~FileIOStream </td>
90
<td class="paramname"> </td>
91
<td> ) </td>
92
<td><code> [virtual]</code></td>
102
<hr><h2>Member Function Documentation</h2>
103
<a class="anchor" name="382fe1830e5e347db4ae0d941398c0df"></a><!-- doxytag: member="Gio::FileIOStream::gobj" ref="382fe1830e5e347db4ae0d941398c0df" args="()" -->
104
<div class="memitem">
105
<div class="memproto">
106
<table class="memname">
108
<td class="memname">GFileIOStream* Gio::FileIOStream::gobj </td>
110
<td class="paramname"> </td>
111
<td> ) </td>
112
<td><code> [inline]</code></td>
119
Provides access to the underlying C GObject.
122
<p>Reimplemented from <a class="el" href="classGio_1_1IOStream.html#6e8d13f8095555cecbe0d59f1542893f">Gio::IOStream</a>.</p>
126
<a class="anchor" name="cd384df600b1aea26bd10ca2e74f1b21"></a><!-- doxytag: member="Gio::FileIOStream::gobj" ref="cd384df600b1aea26bd10ca2e74f1b21" args="() const " -->
127
<div class="memitem">
128
<div class="memproto">
129
<table class="memname">
131
<td class="memname">const GFileIOStream* Gio::FileIOStream::gobj </td>
133
<td class="paramname"> </td>
134
<td> ) </td>
135
<td> const<code> [inline]</code></td>
142
Provides access to the underlying C GObject.
145
<p>Reimplemented from <a class="el" href="classGio_1_1IOStream.html#94eb81fa811399ece0ef743cd9d178ae">Gio::IOStream</a>.</p>
149
<a class="anchor" name="2661e78434e66d48a54aa67ddd4d4e53"></a><!-- doxytag: member="Gio::FileIOStream::gobj_copy" ref="2661e78434e66d48a54aa67ddd4d4e53" args="()" -->
150
<div class="memitem">
151
<div class="memproto">
152
<table class="memname">
154
<td class="memname">GFileIOStream* Gio::FileIOStream::gobj_copy </td>
156
<td class="paramname"> </td>
157
<td> ) </td>
165
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
168
<p>Reimplemented from <a class="el" href="classGio_1_1IOStream.html#632594c5b02e0311448e79f6d495c65a">Gio::IOStream</a>.</p>
172
<a class="anchor" name="11c3696bd12879c7554a8be1246ca069"></a><!-- doxytag: member="Gio::FileIOStream::query_info" ref="11c3696bd12879c7554a8be1246ca069" args="(const Glib::RefPtr< Cancellable > &cancellable, const std::string &attributes="*")" -->
173
<div class="memitem">
174
<div class="memproto">
175
<table class="memname">
177
<td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1FileInfo.html">FileInfo</a>> Gio::FileIOStream::query_info </td>
179
<td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1Cancellable.html">Cancellable</a>>& </td>
180
<td class="paramname"> <em>cancellable</em>, </td>
183
<td class="paramkey"></td>
185
<td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#a48">std::string</a> & </td>
186
<td class="paramname"> <em>attributes</em> = <code>"*"</code></td><td> </td>
191
<td></td><td></td><td></td>
198
Queries a file input stream the given <em>attributes</em>.
200
This function blocks while querying the stream. For the asynchronous (non-blocking) version of this function, see <a class="el" href="classGio_1_1FileIOStream.html#e83afafd7a40cc116026af5452c26151" title="Queries the stream information asynchronously.">query_info_async()</a>. While the stream is blocked, the stream will set the pending flag internally, and any other operations on the stream will throw a <a class="el" href="classGio_1_1Error.html" title="Exception class for giomm errors.">Gio::Error</a> with PENDING.<p>
201
<dl compact><dt><b>Parameters:</b></dt><dd>
202
<table border="0" cellspacing="2" cellpadding="0">
203
<tr><td valign="top"></td><td valign="top"><em>attributes</em> </td><td>A file attribute query string. </td></tr>
204
<tr><td valign="top"></td><td valign="top"><em>cancellable</em> </td><td>A <a class="el" href="classGio_1_1Cancellable.html" title="Allows actions to be cancelled.">Cancellable</a> object. </td></tr>
207
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a>, or an empty RefPtr on error. </dd></dl>
211
<a class="anchor" name="1c4cefdd3b2ff134f01ecbc7a4439921"></a><!-- doxytag: member="Gio::FileIOStream::query_info" ref="1c4cefdd3b2ff134f01ecbc7a4439921" args="(const std::string &attributes="*")" -->
212
<div class="memitem">
213
<div class="memproto">
214
<table class="memname">
216
<td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1FileInfo.html">FileInfo</a>> Gio::FileIOStream::query_info </td>
218
<td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#a48">std::string</a> & </td>
219
<td class="paramname"> <em>attributes</em> = <code>"*"</code> </td>
220
<td> ) </td>
228
Queries a file input stream the given <em>attributes</em>.
230
This function blocks while querying the stream. For the asynchronous (non-blocking) version of this function, see <a class="el" href="classGio_1_1FileIOStream.html#e83afafd7a40cc116026af5452c26151" title="Queries the stream information asynchronously.">query_info_async()</a>. While the stream is blocked, the stream will set the pending flag internally, and any other operations on the stream will throw a <a class="el" href="classGio_1_1Error.html" title="Exception class for giomm errors.">Gio::Error</a> with PENDING.<p>
231
<dl compact><dt><b>Parameters:</b></dt><dd>
232
<table border="0" cellspacing="2" cellpadding="0">
233
<tr><td valign="top"></td><td valign="top"><em>attributes</em> </td><td>A file attribute query string. </td></tr>
236
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a>, or an empty RefPtr on error. </dd></dl>
240
<a class="anchor" name="e83afafd7a40cc116026af5452c26151"></a><!-- doxytag: member="Gio::FileIOStream::query_info_async" ref="e83afafd7a40cc116026af5452c26151" args="(const SlotAsyncReady &slot, const Glib::RefPtr< Cancellable > &cancellable, const std::string &attributes="*", int io_priority=Glib::PRIORITY_DEFAULT)" -->
241
<div class="memitem">
242
<div class="memproto">
243
<table class="memname">
245
<td class="memname">void Gio::FileIOStream::query_info_async </td>
247
<td class="paramtype">const <a class="el" href="namespaceGio.html#ecaa02709f9ab83fa2b36d2571665cbe">SlotAsyncReady</a>& </td>
248
<td class="paramname"> <em>slot</em>, </td>
251
<td class="paramkey"></td>
253
<td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1Cancellable.html">Cancellable</a>>& </td>
254
<td class="paramname"> <em>cancellable</em>, </td>
257
<td class="paramkey"></td>
259
<td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#a48">std::string</a> & </td>
260
<td class="paramname"> <em>attributes</em> = <code>"*"</code>, </td>
263
<td class="paramkey"></td>
265
<td class="paramtype">int </td>
266
<td class="paramname"> <em>io_priority</em> = <code>Glib::PRIORITY_DEFAULT</code></td><td> </td>
271
<td></td><td></td><td></td>
278
Queries the stream information asynchronously.
280
For the synchronous version of this function, see <a class="el" href="classGio_1_1FileIOStream.html#11c3696bd12879c7554a8be1246ca069" title="Queries a file input stream the given attributes.">query_info()</a>.<p>
281
The operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, a <a class="el" href="classGio_1_1Error.html" title="Exception class for giomm errors.">Gio::Error</a> with CANCELLED will be thrown.<p>
282
When the operation is finished, <em>slot</em> will be called. You can then call <a class="el" href="classGio_1_1FileIOStream.html#9838bea653f37c9ff298e16a96ce11dd" title="Finalizes the asynchronous query started by g_file_io_stream_query_info_async().">query_info_finish()</a> to get the result of the operation.<p>
283
<dl compact><dt><b>Parameters:</b></dt><dd>
284
<table border="0" cellspacing="2" cellpadding="0">
285
<tr><td valign="top"></td><td valign="top"><em>slot</em> </td><td>A callback slot which will be called when the request is satisfied. </td></tr>
286
<tr><td valign="top"></td><td valign="top"><em>cancellable</em> </td><td>A <a class="el" href="classGio_1_1Cancellable.html" title="Allows actions to be cancelled.">Cancellable</a> object which can be used to cancel the operation. </td></tr>
287
<tr><td valign="top"></td><td valign="top"><em>attributes</em> </td><td>A file attribute query string. </td></tr>
288
<tr><td valign="top"></td><td valign="top"><em>io_priority</em> </td><td>The I/O priority of the request. </td></tr>
294
<a class="anchor" name="eafe3bd19e6cf993dd7a2bb4e27ebd4d"></a><!-- doxytag: member="Gio::FileIOStream::query_info_async" ref="eafe3bd19e6cf993dd7a2bb4e27ebd4d" args="(const SlotAsyncReady &slot, const std::string &attributes="*", int io_priority=Glib::PRIORITY_DEFAULT)" -->
295
<div class="memitem">
296
<div class="memproto">
297
<table class="memname">
299
<td class="memname">void Gio::FileIOStream::query_info_async </td>
301
<td class="paramtype">const <a class="el" href="namespaceGio.html#ecaa02709f9ab83fa2b36d2571665cbe">SlotAsyncReady</a>& </td>
302
<td class="paramname"> <em>slot</em>, </td>
305
<td class="paramkey"></td>
307
<td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#a48">std::string</a> & </td>
308
<td class="paramname"> <em>attributes</em> = <code>"*"</code>, </td>
311
<td class="paramkey"></td>
313
<td class="paramtype">int </td>
314
<td class="paramname"> <em>io_priority</em> = <code>Glib::PRIORITY_DEFAULT</code></td><td> </td>
319
<td></td><td></td><td></td>
326
Queries the stream information asynchronously.
328
For the synchronous version of this function, see <a class="el" href="classGio_1_1FileIOStream.html#11c3696bd12879c7554a8be1246ca069" title="Queries a file input stream the given attributes.">query_info()</a>.<p>
329
When the operation is finished, <em>slot</em> will be called. You can then call <a class="el" href="classGio_1_1FileIOStream.html#9838bea653f37c9ff298e16a96ce11dd" title="Finalizes the asynchronous query started by g_file_io_stream_query_info_async().">query_info_finish()</a> to get the result of the operation.<p>
330
<dl compact><dt><b>Parameters:</b></dt><dd>
331
<table border="0" cellspacing="2" cellpadding="0">
332
<tr><td valign="top"></td><td valign="top"><em>slot</em> </td><td>A callback slot which will be called when the request is satisfied. </td></tr>
333
<tr><td valign="top"></td><td valign="top"><em>attributes</em> </td><td>A file attribute query string. </td></tr>
334
<tr><td valign="top"></td><td valign="top"><em>io_priority</em> </td><td>The I/O priority of the request. </td></tr>
340
<a class="anchor" name="9838bea653f37c9ff298e16a96ce11dd"></a><!-- doxytag: member="Gio::FileIOStream::query_info_finish" ref="9838bea653f37c9ff298e16a96ce11dd" args="(const Glib::RefPtr< AsyncResult > &result)" -->
341
<div class="memitem">
342
<div class="memproto">
343
<table class="memname">
345
<td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1FileInfo.html">FileInfo</a>> Gio::FileIOStream::query_info_finish </td>
347
<td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1AsyncResult.html">AsyncResult</a>>& </td>
348
<td class="paramname"> <em>result</em> </td>
349
<td> ) </td>
357
Finalizes the asynchronous query started by g_file_io_stream_query_info_async().
359
<dl compact><dt><b>Parameters:</b></dt><dd>
360
<table border="0" cellspacing="2" cellpadding="0">
361
<tr><td valign="top"></td><td valign="top"><em>result</em> </td><td>A <a class="el" href="classGio_1_1AsyncResult.html" title="Provides a base class for implementing asynchronous function results.">AsyncResult</a>. </td></tr>
364
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a> for the finished query.</dd></dl>
368
<a class="anchor" name="98607843697e850776bd6736a93df4d5"></a><!-- doxytag: member="Gio::FileIOStream::get_etag" ref="98607843697e850776bd6736a93df4d5" args="() const " -->
369
<div class="memitem">
370
<div class="memproto">
371
<table class="memname">
373
<td class="memname"><a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#a48">std::string</a> Gio::FileIOStream::get_etag </td>
375
<td class="paramname"> </td>
376
<td> ) </td>
384
Gets the entity tag for the file when it has been written.
386
This must be called after the stream has been written and closed, as the etag can change while writing. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The entity tag for the stream.</dd></dl>
390
<hr><h2>Friends And Related Function Documentation</h2>
391
<a class="anchor" name="44679bcc0dadcf0eb3bf2691e51e7e98"></a><!-- doxytag: member="Gio::FileIOStream::wrap" ref="44679bcc0dadcf0eb3bf2691e51e7e98" args="(GFileIOStream *object, bool take_copy=false)" -->
392
<div class="memitem">
393
<div class="memproto">
394
<table class="memname">
396
<td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGio_1_1FileIOStream.html">Gio::FileIOStream</a>> wrap </td>
398
<td class="paramtype">GFileIOStream * </td>
399
<td class="paramname"> <em>object</em>, </td>
402
<td class="paramkey"></td>
404
<td class="paramtype">bool </td>
405
<td class="paramname"> <em>take_copy</em> = <code>false</code></td><td> </td>
410
<td></td><td></td><td><code> [related]</code></td>
417
A <a class="el" href="namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.
419
<dl compact><dt><b>Parameters:</b></dt><dd>
420
<table border="0" cellspacing="2" cellpadding="0">
421
<tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance. </td></tr>
422
<tr><td valign="top"></td><td valign="top"><em>take_copy</em> </td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
425
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>
429
<hr>The documentation for this class was generated from the following file:<ul>
430
<li><a class="el" href="fileiostream_8h.html">fileiostream.h</a></ul>
432
</div> <!-- end main content -->
435
Generated for glibmm 2.4 by <a href="http://www.doxygen.org/index.html">
436
Doxygen</a> 1.5.6 © 1997-2001</small></address>