Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > 390179a5542846a6a3e37ceb6aaeb544 > files > 46

atkmm-doc-2.22.5-1.mga1.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>atkmm: Atk::StreamableContent 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.7.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespaceAtk.html">Atk</a> </li>
      <li><a class="el" href="classAtk_1_1StreamableContent.html">StreamableContent</a> </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#related">Related Functions</a> </div>
  <div class="headertitle">
<h1>Atk::StreamableContent Class Reference</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="Atk::StreamableContent" --><!-- doxytag: inherits="Glib::Interface" -->
<p>The ATK interface which provides access to streamable content. <a href="#_details">More...</a></p>

<p><code>#include &lt;atkmm/streamablecontent.h&gt;</code></p>
<!-- startSectionHeader --><div class="dynheader">
Inheritance diagram for Atk::StreamableContent:<!-- endSectionHeader --></div>
<!-- startSectionSummary --><!-- endSectionSummary --><!-- startSectionContent --><div class="dyncontent">
<div class="center"><img src="classAtk_1_1StreamableContent__inherit__graph.png" border="0" usemap="#Atk_1_1StreamableContent_inherit__map" alt="Inheritance graph"/></div>
<map name="Atk_1_1StreamableContent_inherit__map" id="Atk_1_1StreamableContent_inherit__map">
<area shape="rect" id="node2" href="../../../glibmm-2.4/reference/html/classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="39,160,148,189"/><area shape="rect" id="node4" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="31,83,156,112"/><area shape="rect" id="node6" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="36,5,151,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center><!-- endSectionContent --></div>

<p><a href="classAtk_1_1StreamableContent-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e69107bc513a7f3288658d289789eca"></a><!-- doxytag: member="Atk::StreamableContent::gobj" ref="a7e69107bc513a7f3288658d289789eca" args="()" -->
AtkStreamableContent*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1StreamableContent.html#a7e69107bc513a7f3288658d289789eca">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a87b142d8ca1459f685558a9b191ac3be"></a><!-- doxytag: member="Atk::StreamableContent::gobj" ref="a87b142d8ca1459f685558a9b191ac3be" args="() const " -->
const AtkStreamableContent*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1StreamableContent.html#a87b142d8ca1459f685558a9b191ac3be">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1StreamableContent.html#a0cf791acf27c270ca1b991094c0d1335">get_n_mime_types</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the number of mime types supported by this object. <a href="#a0cf791acf27c270ca1b991094c0d1335"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1StreamableContent.html#acb78af36cb7bfd33e767c28da201f267">get_mime_type</a> (int i) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the character string of the specified mime type. <a href="#acb78af36cb7bfd33e767c28da201f267"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1IOChannel.html">Glib::IOChannel</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1StreamableContent.html#a1f601a66e5ab239bb01461ba761af26a">get_stream</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; mime_type)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the content in the specified mime type. <a href="#a1f601a66e5ab239bb01461ba761af26a"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/>
&lt; <a class="el" href="classAtk_1_1StreamableContent.html">Atk::StreamableContent</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAtk_1_1StreamableContent.html#a5e67601b46782d97f4ebf5ed8da1a065">wrap</a> (AtkStreamableContent* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a5e67601b46782d97f4ebf5ed8da1a065"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>The ATK interface which provides access to streamable content. </p>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="acb78af36cb7bfd33e767c28da201f267"></a><!-- doxytag: member="Atk::StreamableContent::get_mime_type" ref="acb78af36cb7bfd33e767c28da201f267" args="(int i) 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> Atk::StreamableContent::get_mime_type </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"> <em>i</em>&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the character string of the specified mime type. </p>
<p>The first mime type is at position 0, the second at position 1, and so on. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td>A <code>int</code> representing the position of the mime type starting from 0. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A gchar* representing the specified mime type; the caller should not free the character string. </dd></dl>

</div>
</div>
<a class="anchor" id="a0cf791acf27c270ca1b991094c0d1335"></a><!-- doxytag: member="Atk::StreamableContent::get_n_mime_types" ref="a0cf791acf27c270ca1b991094c0d1335" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Atk::StreamableContent::get_n_mime_types </td>
          <td>(</td>
          <td class="paramname">&#160;)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the number of mime types supported by this object. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <code>int</code> which is the number of mime types supported by the object. </dd></dl>

</div>
</div>
<a class="anchor" id="a1f601a66e5ab239bb01461ba761af26a"></a><!-- doxytag: member="Atk::StreamableContent::get_stream" ref="a1f601a66e5ab239bb01461ba761af26a" args="(const Glib::ustring &amp;mime_type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1IOChannel.html">Glib::IOChannel</a>&gt; Atk::StreamableContent::get_stream </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>mime_type</em>&#160;)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the content in the specified mime type. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mime_type</td><td>A gchar* representing the mime type. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A IOChannel which contains the content in the specified mime type. </dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a5e67601b46782d97f4ebf5ed8da1a065"></a><!-- doxytag: member="Atk::StreamableContent::wrap" ref="a5e67601b46782d97f4ebf5ed8da1a065" args="(AtkStreamableContent *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classAtk_1_1StreamableContent.html">Atk::StreamableContent</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">AtkStreamableContent *&#160;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
    <tr><td class="paramname">take_copy</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>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Wed Mar 30 2011 09:27:41 for atkmm by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address>
</body>
</html>