Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > e8cbfa9673da18966abee0a6d7051b87 > files > 70

glibmm2.4-doc-2.16.1-1mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>glibmm 2.4: Gio::FileInputStream Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
    <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
</tr>
</table>
<center>
  <a class="qindex" href="../../../../gtkmm-2.4/docs/index.html">Main Page</a> &nbsp;
  <a href="../../../../gtkmm-2.4/docs/reference/html/group__Widgets.html">Widgets</a> &nbsp;
  <a class="qindex" href="namespaces.html">glibmm Namespaces</a> &nbsp;
  <a href="../../../../gtkmm-2.4/docs/tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>

<!-- begin main content -->
<div id="content">
<!-- Generated by Doxygen 1.5.3 -->
<div class="nav">
<a class="el" href="namespaceGio.html">Gio</a>::<a class="el" href="classGio_1_1FileInputStream.html">FileInputStream</a></div>
<h1>Gio::FileInputStream Class Reference<br>
<small>
[<a class="el" href="group__Streams.html">Stream Classes</a>]</small>
</h1><!-- doxytag: class="Gio::FileInputStream" --><!-- doxytag: inherits="Gio::InputStream,Gio::Seekable" --><a class="el" href="classGio_1_1FileInputStream.html" title="FileInputStream provides input streams that take their content from a file.">FileInputStream</a> provides input streams that take their content from a file.  
<a href="#_details">More...</a>
<p>
<div class="dynheader">
Inheritance diagram for Gio::FileInputStream:</div>
<div class="dynsection">
<p><center><img src="classGio_1_1FileInputStream__inherit__graph.png" border="0" usemap="#Gio_1_1FileInputStream__inherit__map" alt="Inheritance graph"></center>
<map name="Gio_1_1FileInputStream__inherit__map">
<area shape="rect" href="classGio_1_1InputStream.html" title="Base class for implementing streaming input." alt="" coords="5,239,139,265"><area shape="rect" href="classGlib_1_1Object.html" title="Glib::Object" alt="" coords="29,161,123,188"><area shape="rect" href="classGlib_1_1ObjectBase.html" title="Glib::ObjectBase is a common base class for Objects and Interfaces." alt="" coords="76,84,201,111"><area shape="rect" href="classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="156,161,268,188"><area shape="rect" href="classsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="83,7,195,33"><area shape="rect" href="classGio_1_1Seekable.html" title="Stream seeking interface." alt="" coords="163,239,272,265"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classGio_1_1FileInputStream-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">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInputStream.html#8039942e23f7821a67f7d1003b486b73">~FileInputStream</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">GFileInputStream*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInputStream.html#5411e06810e06ad339d7a21257772219">gobj</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#5411e06810e06ad339d7a21257772219"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const GFileInputStream*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInputStream.html#b1afea7b758100ca02a6aa5b89d57662">gobj</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#b1afea7b758100ca02a6aa5b89d57662"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">GFileInputStream*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInputStream.html#a35ad981b6f18b1e5ece395970c5991b">gobj_copy</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</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="#a35ad981b6f18b1e5ece395970c5991b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1FileInfo.html">FileInfo</a>&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInputStream.html#e9cf87761484839f4ea53bc33064f189">query_info</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1Cancellable.html">Cancellable</a>&gt;&amp; 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/classstd_1_1basic__string.html">std::string</a>&amp; attributes=&quot;*&quot;)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Queries a file input stream the given <em>attributes</em>.  <a href="#e9cf87761484839f4ea53bc33064f189"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1FileInfo.html">FileInfo</a>&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInputStream.html#6ff4fe91f63b1eb38cca93591ba1f263">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/classstd_1_1basic__string.html">std::string</a>&amp; attributes=&quot;*&quot;)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Queries a file input stream the given <em>attributes</em>.  <a href="#6ff4fe91f63b1eb38cca93591ba1f263"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInputStream.html#50c9554cfa15b88a1d30c7719569cc5f">query_info_async</a> (const <a class="el" href="namespaceGio.html#ecaa02709f9ab83fa2b36d2571665cbe">SlotAsyncReady</a>&amp; slot, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1Cancellable.html">Cancellable</a>&gt;&amp; 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/classstd_1_1basic__string.html">std::string</a>&amp; attributes=&quot;*&quot;, int io_priority=Glib::PRIORITY_DEFAULT)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Queries the stream information asynchronously.  <a href="#50c9554cfa15b88a1d30c7719569cc5f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInputStream.html#21f82f427ab1e958308889b78308dcdf">query_info_async</a> (const <a class="el" href="namespaceGio.html#ecaa02709f9ab83fa2b36d2571665cbe">SlotAsyncReady</a>&amp; 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/classstd_1_1basic__string.html">std::string</a>&amp; attributes=&quot;*&quot;, int io_priority=Glib::PRIORITY_DEFAULT)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Queries the stream information asynchronously.  <a href="#21f82f427ab1e958308889b78308dcdf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1FileInfo.html">FileInfo</a>&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInputStream.html#1c8e42e09d92c59b05d122eead3e3161">query_info_finish</a> (const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1AsyncResult.html">AsyncResult</a>&gt;&amp; result)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Finishes an asynchronous info query operation.  <a href="#1c8e42e09d92c59b05d122eead3e3161"></a><br></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="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br>
&lt;<a class="el" href="classGio_1_1FileInputStream.html">Gio::FileInputStream</a>&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1FileInputStream.html#a3ca60bf8d52cd8c7d2688e58d634a36">wrap</a> (GFileInputStream* object, bool take_copy=false)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object.  <a href="#a3ca60bf8d52cd8c7d2688e58d634a36"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classGio_1_1FileInputStream.html" title="FileInputStream provides input streams that take their content from a file.">FileInputStream</a> provides input streams that take their content from a file. 
<p>
<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.<p>
<dl compact><dt><b><a class="el" href="newin2p16s.html#_newin2p16s000028">Since glibmm 2.16:</a></b></dt><dd></dd></dl>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="8039942e23f7821a67f7d1003b486b73"></a><!-- doxytag: member="Gio::FileInputStream::~FileInputStream" ref="8039942e23f7821a67f7d1003b486b73" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gio::FileInputStream::~FileInputStream           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="5411e06810e06ad339d7a21257772219"></a><!-- doxytag: member="Gio::FileInputStream::gobj" ref="5411e06810e06ad339d7a21257772219" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GFileInputStream* Gio::FileInputStream::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C GObject. 
<p>

<p>Reimplemented from <a class="el" href="classGio_1_1InputStream.html#2ed1120b3d03a12086e7f0ed3946aba1">Gio::InputStream</a>.</p>

</div>
</div><p>
<a class="anchor" name="b1afea7b758100ca02a6aa5b89d57662"></a><!-- doxytag: member="Gio::FileInputStream::gobj" ref="b1afea7b758100ca02a6aa5b89d57662" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GFileInputStream* Gio::FileInputStream::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C GObject. 
<p>

<p>Reimplemented from <a class="el" href="classGio_1_1InputStream.html#1b0ef82ab81b3ded607584c7029fe1e9">Gio::InputStream</a>.</p>

</div>
</div><p>
<a class="anchor" name="a35ad981b6f18b1e5ece395970c5991b"></a><!-- doxytag: member="Gio::FileInputStream::gobj_copy" ref="a35ad981b6f18b1e5ece395970c5991b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GFileInputStream* Gio::FileInputStream::gobj_copy           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. 
<p>

<p>Reimplemented from <a class="el" href="classGio_1_1InputStream.html#28a9394b07e9183c0c79798ea344c65c">Gio::InputStream</a>.</p>

</div>
</div><p>
<a class="anchor" name="e9cf87761484839f4ea53bc33064f189"></a><!-- doxytag: member="Gio::FileInputStream::query_info" ref="e9cf87761484839f4ea53bc33064f189" args="(const Glib::RefPtr&lt; Cancellable &gt; &amp;cancellable, const std::string &amp;attributes=&quot;*&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1FileInfo.html">FileInfo</a>&gt; Gio::FileInputStream::query_info           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1Cancellable.html">Cancellable</a>&gt;&amp;&nbsp;</td>
          <td class="paramname"> <em>cancellable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <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/classstd_1_1basic__string.html">std::string</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>attributes</em> = <code>&quot;*&quot;</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Queries a file input stream the given <em>attributes</em>. 
<p>
This function blocks while querying the stream. For the asynchronous (non-blocking) version of this function, see <a class="el" href="classGio_1_1FileInputStream.html#50c9554cfa15b88a1d30c7719569cc5f" 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>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>attributes</em>&nbsp;</td><td>A file attribute query string. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cancellable</em>&nbsp;</td><td>A <a class="el" href="classGio_1_1Cancellable.html" title="Allows actions to be cancelled.">Cancellable</a> object. </td></tr>
  </table>
</dl>
<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>

</div>
</div><p>
<a class="anchor" name="6ff4fe91f63b1eb38cca93591ba1f263"></a><!-- doxytag: member="Gio::FileInputStream::query_info" ref="6ff4fe91f63b1eb38cca93591ba1f263" args="(const std::string &amp;attributes=&quot;*&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1FileInfo.html">FileInfo</a>&gt; Gio::FileInputStream::query_info           </td>
          <td>(</td>
          <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/classstd_1_1basic__string.html">std::string</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>attributes</em> = <code>&quot;*&quot;</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Queries a file input stream the given <em>attributes</em>. 
<p>
This function blocks while querying the stream. For the asynchronous (non-blocking) version of this function, see <a class="el" href="classGio_1_1FileInputStream.html#50c9554cfa15b88a1d30c7719569cc5f" 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>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>attributes</em>&nbsp;</td><td>A file attribute query string. </td></tr>
  </table>
</dl>
<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>

</div>
</div><p>
<a class="anchor" name="50c9554cfa15b88a1d30c7719569cc5f"></a><!-- doxytag: member="Gio::FileInputStream::query_info_async" ref="50c9554cfa15b88a1d30c7719569cc5f" args="(const SlotAsyncReady &amp;slot, const Glib::RefPtr&lt; Cancellable &gt; &amp;cancellable, const std::string &amp;attributes=&quot;*&quot;, int io_priority=Glib::PRIORITY_DEFAULT)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::FileInputStream::query_info_async           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceGio.html#ecaa02709f9ab83fa2b36d2571665cbe">SlotAsyncReady</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1Cancellable.html">Cancellable</a>&gt;&amp;&nbsp;</td>
          <td class="paramname"> <em>cancellable</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <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/classstd_1_1basic__string.html">std::string</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>attributes</em> = <code>&quot;*&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>io_priority</em> = <code>Glib::PRIORITY_DEFAULT</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Queries the stream information asynchronously. 
<p>
For the synchronous version of this function, see <a class="el" href="classGio_1_1FileInputStream.html#e9cf87761484839f4ea53bc33064f189" title="Queries a file input stream the given attributes.">query_info()</a>.<p>
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>
When the operation is finished, <em>slot</em> will be called. You can then call <a class="el" href="classGio_1_1FileInputStream.html#1c8e42e09d92c59b05d122eead3e3161" title="Finishes an asynchronous info query operation.">query_info_finish()</a> to get the result of the operation.<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>slot</em>&nbsp;</td><td>A callback slot which will be called when the request is satisfied. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cancellable</em>&nbsp;</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>
    <tr><td valign="top"></td><td valign="top"><em>attributes</em>&nbsp;</td><td>A file attribute query string. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>io_priority</em>&nbsp;</td><td>The I/O priority of the request. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="21f82f427ab1e958308889b78308dcdf"></a><!-- doxytag: member="Gio::FileInputStream::query_info_async" ref="21f82f427ab1e958308889b78308dcdf" args="(const SlotAsyncReady &amp;slot, const std::string &amp;attributes=&quot;*&quot;, int io_priority=Glib::PRIORITY_DEFAULT)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gio::FileInputStream::query_info_async           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceGio.html#ecaa02709f9ab83fa2b36d2571665cbe">SlotAsyncReady</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <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/classstd_1_1basic__string.html">std::string</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>attributes</em> = <code>&quot;*&quot;</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>io_priority</em> = <code>Glib::PRIORITY_DEFAULT</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Queries the stream information asynchronously. 
<p>
For the synchronous version of this function, see <a class="el" href="classGio_1_1FileInputStream.html#e9cf87761484839f4ea53bc33064f189" title="Queries a file input stream the given attributes.">query_info()</a>.<p>
When the operation is finished, <em>slot</em> will be called. You can then call <a class="el" href="classGio_1_1FileInputStream.html#1c8e42e09d92c59b05d122eead3e3161" title="Finishes an asynchronous info query operation.">query_info_finish()</a> to get the result of the operation.<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>slot</em>&nbsp;</td><td>A callback slot which will be called when the request is satisfied. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>attributes</em>&nbsp;</td><td>A file attribute query string. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>io_priority</em>&nbsp;</td><td>The I/O priority of the request. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="1c8e42e09d92c59b05d122eead3e3161"></a><!-- doxytag: member="Gio::FileInputStream::query_info_finish" ref="1c8e42e09d92c59b05d122eead3e3161" args="(const Glib::RefPtr&lt; AsyncResult &gt; &amp;result)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1FileInfo.html">FileInfo</a>&gt; Gio::FileInputStream::query_info_finish           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1AsyncResult.html">AsyncResult</a>&gt;&amp;&nbsp;</td>
          <td class="paramname"> <em>result</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Finishes an asynchronous info query operation. 
<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>result</em>&nbsp;</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>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><a class="el" href="classGio_1_1FileInfo.html" title="FileInfo implements methods for getting information that all files should contain...">FileInfo</a>. </dd></dl>

</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="a3ca60bf8d52cd8c7d2688e58d634a36"></a><!-- doxytag: member="Gio::FileInputStream::wrap" ref="a3ca60bf8d52cd8c7d2688e58d634a36" args="(GFileInputStream *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGio_1_1FileInputStream.html">Gio::FileInputStream</a>&gt; wrap           </td>
          <td>(</td>
          <td class="paramtype">GFileInputStream *&nbsp;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A <a class="el" href="namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. 
<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>&nbsp;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&nbsp;</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>
  </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>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="fileinputstream_8h.html">fileinputstream.h</a></ul>
</div> <!-- end main content -->

<hr><address><small>
Generated for glibmm 2.4 by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.5.3 &copy;&nbsp;1997-2001</small></address>
</body>
</html>