Sophie

Sophie

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

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::bind_functor&lt;-1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt; Struct 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="structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01T5d526f12c92849dac4a70f282eec9dc2.html">bind_functor&lt;-1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;</a>
  </div>
</div>
<div class="contents">
<h1>sigc::bind_functor&lt;-1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt; Struct Template Reference<br/>
<small>
[<a class="el" href="group__bind.html">bind(), bind_return()</a>]</small>
</h1><!-- doxytag: class="sigc::bind_functor&lt;-1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;" --><!-- doxytag: inherits="sigc::adapts" -->
<p>Adaptor that binds 6 argument(s) to the wrapped functor. <a href="#_details">More...</a></p>

<p><code>#include &lt;sigc++/adaptors/bind.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for sigc::bind_functor&lt;-1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;:</div>
<div class="dynsection">
<div class="center"><img src="structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01T0960d75154b94d71b8dc83e697de0977.png" border="0" usemap="#sigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01T__type4_00_01T__type5_00_01T__type6_00_01nil_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="sigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01T__type4_00_01T__type5_00_01T__type6_00_01nil_01_4_inherit__map" id="sigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01T__type4_00_01T__type5_00_01T__type6_00_01nil_01_4_inherit__map">
<area shape="rect" href="structsigc_1_1adapts.html" title="Base type for adaptors." alt="" coords="216,161,403,188"/><area shape="rect" href="structsigc_1_1adaptor__base.html" title="A hint to the compiler." alt="" coords="239,84,380,111"/><area shape="rect" href="structsigc_1_1functor__base.html" title="A hint to the compiler." alt="" coords="241,7,377,33"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01T0834e37f8bd5c0361c59dcde65b688ff.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a00c38c0ae66f54f5a40d7b4949477e20"></a><!-- doxytag: member="sigc::bind_functor&lt;&#45;1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;::adaptor_type" ref="a00c38c0ae66f54f5a40d7b4949477e20" args="" -->
typedef <a class="el" href="structsigc_1_1adapts.html">adapts</a>&lt; T_functor &gt;<br class="typebreak"/>
::adaptor_type&#160;</td><td class="memItemRight" valign="bottom"><b>adaptor_type</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1888cca0a439d2c7f669e22b6692c871"></a><!-- doxytag: member="sigc::bind_functor&lt;&#45;1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;::result_type" ref="a1888cca0a439d2c7f669e22b6692c871" args="" -->
typedef adaptor_type::result_type&#160;</td><td class="memItemRight" valign="bottom"><b>result_type</b></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">result_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01T5d526f12c92849dac4a70f282eec9dc2.html#a55a0f25bd2d5c88b503cfc0f1b58f996">operator()</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Invokes the wrapped functor passing on the bound argument only. <a href="#a55a0f25bd2d5c88b503cfc0f1b58f996"></a><br/></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;class T_arg1 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structsigc_1_1deduce__result__type.html">deduce_result_type</a>&lt; T_arg1 &gt;::type&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01T5d526f12c92849dac4a70f282eec9dc2.html#ae1239679cdd4f1192dbd5e5342d87999">operator()</a> (T_arg1 _A_arg1)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Invokes the wrapped functor passing on the arguments. <a href="#ae1239679cdd4f1192dbd5e5342d87999"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01T5d526f12c92849dac4a70f282eec9dc2.html#a31b84f13abd13a0050040acef0d09468">bind_functor</a> (typename type_trait&lt; T_functor &gt;::take _A_func, typename type_trait&lt; T_type1 &gt;::take _A_bound1, typename type_trait&lt; T_type2 &gt;::take _A_bound2, typename type_trait&lt; T_type3 &gt;::take _A_bound3, typename type_trait&lt; T_type4 &gt;::take _A_bound4, typename type_trait&lt; T_type5 &gt;::take _A_bound5, typename type_trait&lt; T_type6 &gt;::take _A_bound6)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a bind_functor object that binds an argument to the passed functor. <a href="#a31b84f13abd13a0050040acef0d09468"></a><br/></td></tr>
<tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac6c7e858ee6cb6e27139a51a9a226cb0"></a><!-- doxytag: member="sigc::bind_functor&lt;&#45;1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;::bound1_" ref="ac6c7e858ee6cb6e27139a51a9a226cb0" args="" -->
<a class="el" href="classsigc_1_1bound__argument.html">bound_argument</a>&lt; T_type1 &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01T5d526f12c92849dac4a70f282eec9dc2.html#ac6c7e858ee6cb6e27139a51a9a226cb0">bound1_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The argument bound to the functor. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa02ff31f6ce95605e87140b540ad0af3"></a><!-- doxytag: member="sigc::bind_functor&lt;&#45;1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;::bound2_" ref="aa02ff31f6ce95605e87140b540ad0af3" args="" -->
<a class="el" href="classsigc_1_1bound__argument.html">bound_argument</a>&lt; T_type2 &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>bound2_</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10fcf127ff05fc9d8a510944f9813847"></a><!-- doxytag: member="sigc::bind_functor&lt;&#45;1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;::bound3_" ref="a10fcf127ff05fc9d8a510944f9813847" args="" -->
<a class="el" href="classsigc_1_1bound__argument.html">bound_argument</a>&lt; T_type3 &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>bound3_</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeda77a97a8c8724a74009ac8dbbc1945"></a><!-- doxytag: member="sigc::bind_functor&lt;&#45;1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;::bound4_" ref="aeda77a97a8c8724a74009ac8dbbc1945" args="" -->
<a class="el" href="classsigc_1_1bound__argument.html">bound_argument</a>&lt; T_type4 &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>bound4_</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae88acda8d7cee9a80ba0b62d892e1a6a"></a><!-- doxytag: member="sigc::bind_functor&lt;&#45;1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;::bound5_" ref="ae88acda8d7cee9a80ba0b62d892e1a6a" args="" -->
<a class="el" href="classsigc_1_1bound__argument.html">bound_argument</a>&lt; T_type5 &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>bound5_</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2a45387b53dfd93676b99add1f7f64b5"></a><!-- doxytag: member="sigc::bind_functor&lt;&#45;1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;::bound6_" ref="a2a45387b53dfd93676b99add1f7f64b5" args="" -->
<a class="el" href="classsigc_1_1bound__argument.html">bound_argument</a>&lt; T_type6 &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>bound6_</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<h3>template &lt;class T_functor, class T_type1, class T_type2, class T_type3, class T_type4, class T_type5, class T_type6&gt;<br/>
 struct sigc::bind_functor&lt;-1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;</h3>

<p>Adaptor that binds 6 argument(s) to the wrapped functor. </p>
<p>This template specialization fixes the last 6 argument(s) of the wrapped functor. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a31b84f13abd13a0050040acef0d09468"></a><!-- doxytag: member="sigc::bind_functor&lt;&#45;1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;::bind_functor" ref="a31b84f13abd13a0050040acef0d09468" args="(typename type_trait&lt; T_functor &gt;::take _A_func, typename type_trait&lt; T_type1 &gt;::take _A_bound1, typename type_trait&lt; T_type2 &gt;::take _A_bound2, typename type_trait&lt; T_type3 &gt;::take _A_bound3, typename type_trait&lt; T_type4 &gt;::take _A_bound4, typename type_trait&lt; T_type5 &gt;::take _A_bound5, typename type_trait&lt; T_type6 &gt;::take _A_bound6)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class T_functor , class T_type1 , class T_type2 , class T_type3 , class T_type4 , class T_type5 , class T_type6 &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">sigc::bind_functor&lt;-1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;::bind_functor </td>
          <td>(</td>
          <td class="paramtype">typename type_trait&lt; T_functor &gt;::take&#160;</td>
          <td class="paramname"> <em>_A_func</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">typename type_trait&lt; T_type1 &gt;::take&#160;</td>
          <td class="paramname"> <em>_A_bound1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">typename type_trait&lt; T_type2 &gt;::take&#160;</td>
          <td class="paramname"> <em>_A_bound2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">typename type_trait&lt; T_type3 &gt;::take&#160;</td>
          <td class="paramname"> <em>_A_bound3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">typename type_trait&lt; T_type4 &gt;::take&#160;</td>
          <td class="paramname"> <em>_A_bound4</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">typename type_trait&lt; T_type5 &gt;::take&#160;</td>
          <td class="paramname"> <em>_A_bound5</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">typename type_trait&lt; T_type6 &gt;::take&#160;</td>
          <td class="paramname"> <em>_A_bound6</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a bind_functor object that binds an argument to the passed functor. </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_functor</em>&#160;</td><td>Functor to invoke from <a class="el" href="structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01T5d526f12c92849dac4a70f282eec9dc2.html#a55a0f25bd2d5c88b503cfc0f1b58f996" title="Invokes the wrapped functor passing on the bound argument only.">operator()()</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_A_bound</em>&#160;</td><td>Argument to bind to the functor. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae1239679cdd4f1192dbd5e5342d87999"></a><!-- doxytag: member="sigc::bind_functor&lt;&#45;1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;::operator()" ref="ae1239679cdd4f1192dbd5e5342d87999" args="(T_arg1 _A_arg1)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class T_functor , class T_type1 , class T_type2 , class T_type3 , class T_type4 , class T_type5 , class T_type6 &gt; </div>
<div class="memtemplate">
template &lt;class T_arg1 &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structsigc_1_1deduce__result__type.html">deduce_result_type</a>&lt;T_arg1&gt;::type sigc::bind_functor&lt;-1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">T_arg1&#160;</td>
          <td class="paramname"> <em>_A_arg1</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Invokes the wrapped functor passing on the arguments. </p>
<p>The last 6 argument(s) are fixed. </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_arg1</em>&#160;</td><td>Argument to be passed on to the functor. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The return value of the functor invocation. </dd></dl>

</div>
</div>
<a class="anchor" id="a55a0f25bd2d5c88b503cfc0f1b58f996"></a><!-- doxytag: member="sigc::bind_functor&lt;&#45;1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;::operator()" ref="a55a0f25bd2d5c88b503cfc0f1b58f996" args="()" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class T_functor , class T_type1 , class T_type2 , class T_type3 , class T_type4 , class T_type5 , class T_type6 &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">result_type sigc::bind_functor&lt;-1, T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, nil &gt;::operator() </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Invokes the wrapped functor passing on the bound argument only. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The return value of the functor invocation. </dd></dl>

</div>
</div>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 21:44:56 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>