Sophie

Sophie

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

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::retype_functor&lt; T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, T_type7 &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_1retype__functor.html">retype_functor</a>
  </div>
</div>
<div class="contents">
<h1>sigc::retype_functor&lt; T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, T_type7 &gt; Struct Template Reference<br/>
<small>
[<a class="el" href="group__retype.html">retype(), retype_return()</a>]</small>
</h1><!-- doxytag: class="sigc::retype_functor" --><!-- doxytag: inherits="sigc::adapts" -->
<p>Adaptor that performs C-style casts on the parameters passed on to the functor. <a href="#_details">More...</a></p>

<p><code>#include &lt;sigc++/adaptors/retype.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for sigc::retype_functor&lt; T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, T_type7 &gt;:</div>
<div class="dynsection">
<div class="center"><img src="structsigc_1_1retype__functor__inherit__graph.png" border="0" usemap="#sigc_1_1retype__functor_3_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01T__type4_00_01T__type5_00_01T__type6_00_01T__type7_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="sigc_1_1retype__functor_3_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01T__type4_00_01T__type5_00_01T__type6_00_01T__type7_01_4_inherit__map" id="sigc_1_1retype__functor_3_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01T__type4_00_01T__type5_00_01T__type6_00_01T__type7_01_4_inherit__map">
<area shape="rect" href="structsigc_1_1adapts.html" title="Base type for adaptors." alt="" coords="233,161,420,188"/><area shape="rect" href="structsigc_1_1adaptor__base.html" title="A hint to the compiler." alt="" coords="256,84,397,111"/><area shape="rect" href="structsigc_1_1functor__base.html" title="A hint to the compiler." alt="" coords="259,7,395,33"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="structsigc_1_1retype__functor-members.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="ace4a0fc864a6417a7cb36adf011177e0"></a><!-- doxytag: member="sigc::retype_functor::adaptor_type" ref="ace4a0fc864a6417a7cb36adf011177e0" 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="a1a594553d0312ca12e1009d179af0dbe"></a><!-- doxytag: member="sigc::retype_functor::result_type" ref="a1a594553d0312ca12e1009d179af0dbe" args="" -->
typedef <a class="el" href="structsigc_1_1adapts.html">adapts</a>&lt; T_functor &gt;<br class="typebreak"/>
::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"><a class="anchor" id="a841d7fd2ae795ca4decccca8342e231c"></a><!-- doxytag: member="sigc::retype_functor::operator()" ref="a841d7fd2ae795ca4decccca8342e231c" args="()" -->
result_type&#160;</td><td class="memItemRight" valign="bottom"><b>operator()</b> ()</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="a0015c24c480eb1bd46ecaf03b1ea7302"></a><!-- doxytag: member="sigc::retype_functor::operator()" ref="a0015c24c480eb1bd46ecaf03b1ea7302" args="(T_arg1 _A_a1)" -->
template &lt;class T_arg1 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">deduce_result_type&lt; T_arg1 &gt;::type&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator()</b> (T_arg1 _A_a1)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="a2308990230a70bb1cee5c9051cd08689"></a><!-- doxytag: member="sigc::retype_functor::operator()" ref="a2308990230a70bb1cee5c9051cd08689" args="(T_arg1 _A_a1, T_arg2 _A_a2)" -->
template &lt;class T_arg1 , class T_arg2 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">deduce_result_type&lt; T_arg1, <br class="typebreak"/>
T_arg2 &gt;::type&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator()</b> (T_arg1 _A_a1, T_arg2 _A_a2)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ab500e2089b4ecf013ae2b48c2e0d3414"></a><!-- doxytag: member="sigc::retype_functor::operator()" ref="ab500e2089b4ecf013ae2b48c2e0d3414" args="(T_arg1 _A_a1, T_arg2 _A_a2, T_arg3 _A_a3)" -->
template &lt;class T_arg1 , class T_arg2 , class T_arg3 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">deduce_result_type&lt; T_arg1, <br class="typebreak"/>
T_arg2, T_arg3 &gt;::type&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator()</b> (T_arg1 _A_a1, T_arg2 _A_a2, T_arg3 _A_a3)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="a27ae600cd1c9a098a9e4636009aae22e"></a><!-- doxytag: member="sigc::retype_functor::operator()" ref="a27ae600cd1c9a098a9e4636009aae22e" args="(T_arg1 _A_a1, T_arg2 _A_a2, T_arg3 _A_a3, T_arg4 _A_a4)" -->
template &lt;class T_arg1 , class T_arg2 , class T_arg3 , class T_arg4 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">deduce_result_type&lt; T_arg1, <br class="typebreak"/>
T_arg2, T_arg3, T_arg4 &gt;::type&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator()</b> (T_arg1 _A_a1, T_arg2 _A_a2, T_arg3 _A_a3, T_arg4 _A_a4)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="a9bbb0bac030419608fb94aa184416c4a"></a><!-- doxytag: member="sigc::retype_functor::operator()" ref="a9bbb0bac030419608fb94aa184416c4a" args="(T_arg1 _A_a1, T_arg2 _A_a2, T_arg3 _A_a3, T_arg4 _A_a4, T_arg5 _A_a5)" -->
template &lt;class T_arg1 , class T_arg2 , class T_arg3 , class T_arg4 , class T_arg5 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">deduce_result_type&lt; T_arg1, <br class="typebreak"/>
T_arg2, T_arg3, T_arg4, T_arg5 &gt;<br class="typebreak"/>
::type&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator()</b> (T_arg1 _A_a1, T_arg2 _A_a2, T_arg3 _A_a3, T_arg4 _A_a4, T_arg5 _A_a5)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ac0e80e26af30f9bbea34670941694058"></a><!-- doxytag: member="sigc::retype_functor::operator()" ref="ac0e80e26af30f9bbea34670941694058" args="(T_arg1 _A_a1, T_arg2 _A_a2, T_arg3 _A_a3, T_arg4 _A_a4, T_arg5 _A_a5, T_arg6 _A_a6)" -->
template &lt;class T_arg1 , class T_arg2 , class T_arg3 , class T_arg4 , class T_arg5 , class T_arg6 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">deduce_result_type&lt; T_arg1, <br class="typebreak"/>
T_arg2, T_arg3, T_arg4, T_arg5, <br class="typebreak"/>
T_arg6 &gt;::type&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator()</b> (T_arg1 _A_a1, T_arg2 _A_a2, T_arg3 _A_a3, T_arg4 _A_a4, T_arg5 _A_a5, T_arg6 _A_a6)</td></tr>
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="a00bc24da6e62725cfce912b8ebf1e406"></a><!-- doxytag: member="sigc::retype_functor::operator()" ref="a00bc24da6e62725cfce912b8ebf1e406" args="(T_arg1 _A_a1, T_arg2 _A_a2, T_arg3 _A_a3, T_arg4 _A_a4, T_arg5 _A_a5, T_arg6 _A_a6, T_arg7 _A_a7)" -->
template &lt;class T_arg1 , class T_arg2 , class T_arg3 , class T_arg4 , class T_arg5 , class T_arg6 , class T_arg7 &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">deduce_result_type&lt; T_arg1, <br class="typebreak"/>
T_arg2, T_arg3, T_arg4, T_arg5, <br class="typebreak"/>
T_arg6, T_arg7 &gt;::type&#160;</td><td class="memTemplItemRight" valign="bottom"><b>operator()</b> (T_arg1 _A_a1, T_arg2 _A_a2, T_arg3 _A_a3, T_arg4 _A_a4, T_arg5 _A_a5, T_arg6 _A_a6, T_arg7 _A_a7)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structsigc_1_1retype__functor.html#a4dda9669c6c476d8825b5477159f4edb">retype_functor</a> (typename type_trait&lt; T_functor &gt;::take _A_functor)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <a class="el" href="structsigc_1_1retype__functor.html" title="Adaptor that performs C-style casts on the parameters passed on to the functor.">retype_functor</a> object that performs C-style casts on the parameters passed on to the functor. <a href="#a4dda9669c6c476d8825b5477159f4edb"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<h3>template &lt;class T_functor, class T_type1 = nil, class T_type2 = nil, class T_type3 = nil, class T_type4 = nil, class T_type5 = nil, class T_type6 = nil, class T_type7 = nil&gt;<br/>
 struct sigc::retype_functor&lt; T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, T_type7 &gt;</h3>

<p>Adaptor that performs C-style casts on the parameters passed on to the functor. </p>
<p>Use the convenience function <a class="el" href="group__retype.html#gafd118b8e28ec60f260d8182c0552f9b2" title="Creates an adaptor of type sigc::retype_functor which performs C-style casts on the...">sigc::retype()</a> to create an instance of <a class="el" href="structsigc_1_1retype__functor.html" title="Adaptor that performs C-style casts on the parameters passed on to the functor.">retype_functor</a>.</p>
<p>The following template arguments are used:</p>
<ul>
<li><em>T_functor</em> Type of the functor to wrap.</li>
<li><em>T_type1</em> Type of <em>T_functor's</em> 1th argument.</li>
<li><em>T_type2</em> Type of <em>T_functor's</em> 2th argument.</li>
<li><em>T_type3</em> Type of <em>T_functor's</em> 3th argument.</li>
<li><em>T_type4</em> Type of <em>T_functor's</em> 4th argument.</li>
<li><em>T_type5</em> Type of <em>T_functor's</em> 5th argument.</li>
<li><em>T_type6</em> Type of <em>T_functor's</em> 6th argument.</li>
<li><em>T_type7</em> Type of <em>T_functor's</em> 7th argument. </li>
</ul>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a4dda9669c6c476d8825b5477159f4edb"></a><!-- doxytag: member="sigc::retype_functor::retype_functor" ref="a4dda9669c6c476d8825b5477159f4edb" args="(typename type_trait&lt; T_functor &gt;::take _A_functor)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class T_functor , class T_type1 = nil, class T_type2 = nil, class T_type3 = nil, class T_type4 = nil, class T_type5 = nil, class T_type6 = nil, class T_type7 = nil&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structsigc_1_1retype__functor.html">sigc::retype_functor</a>&lt; T_functor, T_type1, T_type2, T_type3, T_type4, T_type5, T_type6, T_type7 &gt;::<a class="el" href="structsigc_1_1retype__functor.html">retype_functor</a> </td>
          <td>(</td>
          <td class="paramtype">typename type_trait&lt; T_functor &gt;::take&#160;</td>
          <td class="paramname"> <em>_A_functor</em></td>
          <td>&#160;)&#160;</td>
          <td><code> [inline, explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a <a class="el" href="structsigc_1_1retype__functor.html" title="Adaptor that performs C-style casts on the parameters passed on to the functor.">retype_functor</a> object that performs C-style casts on the parameters passed on to the 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 operator()(). </td></tr>
  </table>
  </dd>
</dl>

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