Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > bd29e346140bd3fbcbf1674e576e565a > files > 17

libsigc++2.0-doc-2.2.7-1mdv2010.1.x86_64.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>libsigc++: sigc::bound_argument&lt; reference_wrapper&lt; T_wrapped &gt; &gt; Class Template 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.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&#160;Page</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&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</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"><a class="el" href="namespacesigc.html">sigc</a>::<a class="el" href="classsigc_1_1bound__argument_3_01reference__wrapper_3_01T__wrapped_01_4_01_4.html">bound_argument&lt; reference_wrapper&lt; T_wrapped &gt; &gt;</a>
  </div>
</div>
<div class="contents">
<h1>sigc::bound_argument&lt; reference_wrapper&lt; T_wrapped &gt; &gt; Class Template Reference</h1><!-- doxytag: class="sigc::bound_argument&lt; reference_wrapper&lt; T_wrapped &gt; &gt;" -->
<p><a class="el" href="classsigc_1_1bound__argument.html" title="A bound_argument&lt;Foo&gt; object stores a bound (for instance, with sigc::bind()...">bound_argument</a> object for a bound argument that is passed by <a class="el" href="group__bind.html#ga2148290d2cf9c1961ec157a085badd5a" title="Creates an adaptor of type sigc::bind_functor which binds the passed argument to...">bind()</a> or returned by <a class="el" href="group__bind.html#ga8a001b0bb588d2ac1af712781b89dc8a" title="Creates an adaptor of type sigc::bind_return_functor which fixes the return value...">bind_return()</a> by reference, specialized for reference_wrapper&lt;&gt; types. <a href="#_details">More...</a></p>

<p><code>#include &lt;sigc++/adaptors/bound_argument.h&gt;</code></p>

<p><a href="classsigc_1_1bound__argument_3_01reference__wrapper_3_01T__wrapped_01_4_01_4-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1bound__argument_3_01reference__wrapper_3_01T__wrapped_01_4_01_4.html#a46f705d774a2436055785b7a55830349">bound_argument</a> (const <a class="el" href="structsigc_1_1reference__wrapper.html">reference_wrapper</a>&lt; T_wrapped &gt;&amp; _A_argument)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <a href="#a46f705d774a2436055785b7a55830349"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classsigc_1_1limit__reference.html">limit_reference</a><br class="typebreak"/>
&lt; T_wrapped &gt;&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1bound__argument_3_01reference__wrapper_3_01T__wrapped_01_4_01_4.html#a20a829c033c5b6dda01b7d27d5505988">visit</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the entity to visit in <a class="el" href="group__sigcfunctors.html#gadab29aed05524743da16319da4430541" title="This function performs a functor on each of the targets of a functor.">visit_each()</a>. <a href="#a20a829c033c5b6dda01b7d27d5505988"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T_wrapped&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1bound__argument_3_01reference__wrapper_3_01T__wrapped_01_4_01_4.html#adbeb73917559e0764bf367dfc6c4141d">invoke</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieve the entity to pass to the bound functor or return. <a href="#adbeb73917559e0764bf367dfc6c4141d"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<h3>template &lt;class T_wrapped&gt;<br/>
 class sigc::bound_argument&lt; reference_wrapper&lt; T_wrapped &gt; &gt;</h3>

<p><a class="el" href="classsigc_1_1bound__argument.html" title="A bound_argument&lt;Foo&gt; object stores a bound (for instance, with sigc::bind()...">bound_argument</a> object for a bound argument that is passed by <a class="el" href="group__bind.html#ga2148290d2cf9c1961ec157a085badd5a" title="Creates an adaptor of type sigc::bind_functor which binds the passed argument to...">bind()</a> or returned by <a class="el" href="group__bind.html#ga8a001b0bb588d2ac1af712781b89dc8a" title="Creates an adaptor of type sigc::bind_return_functor which fixes the return value...">bind_return()</a> by reference, specialized for reference_wrapper&lt;&gt; types. </p>
<p><em>T_wrapped</em> The type of the bound argument. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a46f705d774a2436055785b7a55830349"></a><!-- doxytag: member="sigc::bound_argument&lt; reference_wrapper&lt; T_wrapped &gt; &gt;::bound_argument" ref="a46f705d774a2436055785b7a55830349" args="(const reference_wrapper&lt; T_wrapped &gt; &amp;_A_argument)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class T_wrapped &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsigc_1_1bound__argument.html">sigc::bound_argument</a>&lt; <a class="el" href="structsigc_1_1reference__wrapper.html">reference_wrapper</a>&lt; T_wrapped &gt; &gt;::<a class="el" href="classsigc_1_1bound__argument.html">bound_argument</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structsigc_1_1reference__wrapper.html">reference_wrapper</a>&lt; T_wrapped &gt;&amp;&#160;</td>
          <td class="paramname"> <em>_A_argument</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>_A_argument</em>&#160;</td><td>The argument to bind. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="adbeb73917559e0764bf367dfc6c4141d"></a><!-- doxytag: member="sigc::bound_argument&lt; reference_wrapper&lt; T_wrapped &gt; &gt;::invoke" ref="adbeb73917559e0764bf367dfc6c4141d" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class T_wrapped &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T_wrapped&amp; <a class="el" href="classsigc_1_1bound__argument.html">sigc::bound_argument</a>&lt; <a class="el" href="structsigc_1_1reference__wrapper.html">reference_wrapper</a>&lt; T_wrapped &gt; &gt;::invoke </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the entity to pass to the bound functor or return. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The bound argument. </dd></dl>

</div>
</div>
<a class="anchor" id="a20a829c033c5b6dda01b7d27d5505988"></a><!-- doxytag: member="sigc::bound_argument&lt; reference_wrapper&lt; T_wrapped &gt; &gt;::visit" ref="a20a829c033c5b6dda01b7d27d5505988" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class T_wrapped &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classsigc_1_1limit__reference.html">limit_reference</a>&lt;T_wrapped&gt;&amp; <a class="el" href="classsigc_1_1bound__argument.html">sigc::bound_argument</a>&lt; <a class="el" href="structsigc_1_1reference__wrapper.html">reference_wrapper</a>&lt; T_wrapped &gt; &gt;::visit </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the entity to visit in <a class="el" href="group__sigcfunctors.html#gadab29aed05524743da16319da4430541" title="This function performs a functor on each of the targets of a functor.">visit_each()</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The limited_reference to the bound argument. </dd></dl>

</div>
</div>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 21:44:43 2010 for libsigc++ by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>