Sophie

Sophie

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

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::adaptor_base Struct 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_1adaptor__base.html">adaptor_base</a>
  </div>
</div>
<div class="contents">
<h1>sigc::adaptor_base Struct Reference<br/>
<small>
[<a class="el" href="group__adaptors.html">Adaptors</a>]</small>
</h1><!-- doxytag: class="sigc::adaptor_base" --><!-- doxytag: inherits="sigc::functor_base" -->
<p>A hint to the compiler. <a href="#_details">More...</a></p>

<p><code>#include &lt;sigc++/adaptors/deduce_result_type.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for sigc::adaptor_base:</div>
<div class="dynsection">
<div class="center"><img src="structsigc_1_1adaptor__base__inherit__graph.png" border="0" usemap="#sigc_1_1adaptor__base_inherit__map" alt="Inheritance graph"/></div>
<map name="sigc_1_1adaptor__base_inherit__map" id="sigc_1_1adaptor__base_inherit__map">
<area shape="rect" href="structsigc_1_1adapts.html" title="sigc::adapts\&lt; T_setter \&gt;" alt="" coords="417,56,596,83"/><area shape="rect" href="structsigc_1_1adaptor__functor.html" title="Converts an arbitrary functor into an adaptor type." alt="" coords="384,664,629,691"/><area shape="rect" href="structsigc_1_1adapts.html" title="Base type for adaptors." alt="" coords="413,715,600,741"/><area shape="rect" href="structsigc_1_1lambda__base.html" title="A hint to the compiler." alt="" coords="437,765,576,792"/><area shape="rect" href="structsigc_1_1functor__base.html" title="A hint to the compiler." alt="" coords="7,689,143,716"/><area shape="rect" href="structsigc_1_1compose1__functor.html" title="Adaptor that combines two functors." alt="" coords="843,5,1157,32"/><area shape="rect" href="structsigc_1_1compose2__functor.html" title="Adaptor that combines three functors." alt="" coords="804,56,1196,83"/><area shape="rect" href="structsigc_1_1bind__functor_3_010_00_01T__functor_00_01T__bound_00_01nil_00_01nil_00_01nil_00_01nil_00_01nil_00_01nil_01_4.html" title="Adaptor that binds an argument to the wrapped functor." alt="" coords="784,107,1216,133"/><area shape="rect" href="structsigc_1_1bind__functor_3_011_00_01T__functor_00_01T__bound_00_01nil_00_01nil_00_01nil_00_01nil_00_01nil_00_01nil_01_4.html" title="Adaptor that binds an argument to the wrapped functor." alt="" coords="784,157,1216,184"/><area shape="rect" href="structsigc_1_1bind__functor_3_012_00_01T__functor_00_01T__bound_00_01nil_00_01nil_00_01nil_00_01nil_00_01nil_00_01nil_01_4.html" title="Adaptor that binds an argument to the wrapped functor." alt="" coords="784,208,1216,235"/><area shape="rect" href="structsigc_1_1bind__functor_3_013_00_01T__functor_00_01T__bound_00_01nil_00_01nil_00_01nil_00_01nil_00_01nil_00_01nil_01_4.html" title="Adaptor that binds an argument to the wrapped functor." alt="" coords="784,259,1216,285"/><area shape="rect" href="structsigc_1_1bind__functor_3_014_00_01T__functor_00_01T__bound_00_01nil_00_01nil_00_01nil_00_01nil_00_01nil_00_01nil_01_4.html" title="Adaptor that binds an argument to the wrapped functor." alt="" coords="784,309,1216,336"/><area shape="rect" href="structsigc_1_1bind__functor_3_015_00_01T__functor_00_01T__bound_00_01nil_00_01nil_00_01nil_00_01nil_00_01nil_00_01nil_01_4.html" title="Adaptor that binds an argument to the wrapped functor." alt="" coords="784,360,1216,387"/><area shape="rect" href="structsigc_1_1bind__functor_3_016_00_01T__functor_00_01T__bound_00_01nil_00_01nil_00_01nil_00_01nil_00_01nil_00_01nil_01_4.html" title="Adaptor that binds an argument to the wrapped functor." alt="" coords="784,411,1216,437"/><area shape="rect" href="structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01nil_00_01nil_00_01nil_00_01nil_00_01nil_00_01nil_01_4.html" title="Adaptor that binds 1 argument(s) to the wrapped functor." alt="" coords="785,461,1215,488"/><area shape="rect" href="structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01T__type2_00_01nil_00_01nil_00_01nil_00_01nil_00_01nil_01_4.html" title="Adaptor that binds 2 argument(s) to the wrapped functor." alt="" coords="768,512,1232,539"/><area shape="rect" href="structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01n6d14effad731c8dfead9984e87967108.html" title="Adaptor that binds 3 argument(s) to the wrapped functor." alt="" coords="749,563,1251,589"/><area shape="rect" href="structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01T8abd615cc403946700f41917bb90042c.html" title="Adaptor that binds 4 argument(s) to the wrapped functor." alt="" coords="732,613,1268,640"/><area shape="rect" href="structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01Tf230465d8da8d21a2da815d7eb05b413.html" title="Adaptor that binds 5 argument(s) to the wrapped functor." alt="" coords="713,664,1287,691"/><area shape="rect" href="structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01T5d526f12c92849dac4a70f282eec9dc2.html" title="Adaptor that binds 6 argument(s) to the wrapped functor." alt="" coords="696,715,1304,741"/><area shape="rect" href="structsigc_1_1bind__functor_3-1_00_01T__functor_00_01T__type1_00_01T__type2_00_01T__type3_00_01T1564029be5092b4f54029884f8072971.html" title="Adaptor that binds 7 argument(s) to the wrapped functor." alt="" coords="677,765,1323,792"/><area shape="rect" href="structsigc_1_1bind__return__functor.html" title="Adaptor that fixes the return value of the wrapped functor." alt="" coords="867,816,1133,843"/><area shape="rect" href="structsigc_1_1hide__functor_3_010_00_01T__functor_01_4.html" title="Adaptor that adds a dummy parameter to the wrapped functor." alt="" coords="881,867,1119,893"/><area shape="rect" href="structsigc_1_1hide__functor_3_011_00_01T__functor_01_4.html" title="Adaptor that adds a dummy parameter to the wrapped functor." alt="" coords="881,917,1119,944"/><area shape="rect" href="structsigc_1_1hide__functor_3_012_00_01T__functor_01_4.html" title="Adaptor that adds a dummy parameter to the wrapped functor." alt="" coords="881,968,1119,995"/><area shape="rect" href="structsigc_1_1hide__functor_3_013_00_01T__functor_01_4.html" title="Adaptor that adds a dummy parameter to the wrapped functor." alt="" coords="881,1019,1119,1045"/><area shape="rect" href="structsigc_1_1hide__functor_3_014_00_01T__functor_01_4.html" title="Adaptor that adds a dummy parameter to the wrapped functor." alt="" coords="881,1069,1119,1096"/><area shape="rect" href="structsigc_1_1hide__functor_3_015_00_01T__functor_01_4.html" title="Adaptor that adds a dummy parameter to the wrapped functor." alt="" coords="881,1120,1119,1147"/><area shape="rect" href="structsigc_1_1hide__functor_3_016_00_01T__functor_01_4.html" title="Adaptor that adds a dummy parameter to the wrapped functor." alt="" coords="881,1171,1119,1197"/><area shape="rect" href="structsigc_1_1hide__functor_3-1_00_01T__functor_01_4.html" title="Adaptor that adds a dummy parameter to the wrapped functor." alt="" coords="880,1221,1120,1248"/><area shape="rect" href="structsigc_1_1retype__functor.html" title="Adaptor that performs C&#45;style casts on the parameters passed on to the functor." alt="" coords="883,1272,1117,1299"/><area shape="rect" href="structsigc_1_1retype__return__functor.html" title="Adaptor that perform a C&#45;style cast on the return value of a functor." alt="" coords="859,1323,1141,1349"/><area shape="rect" href="structsigc_1_1retype__return__functor_3_01void_00_01T__functor_01_4.html" title="Adaptor that perform a C&#45;style cast on the return value of a functor." alt="" coords="843,1373,1157,1400"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table border="0" cellpadding="0" cellspacing="0">
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A hint to the compiler. </p>
<p>Functors which have all methods based on templates should publicly inherit from this hint and define a nested template class <code><a class="el" href="structsigc_1_1deduce__result__type.html" title="Deduce the return type of a functor.">deduce_result_type</a></code> that can be used to deduce the methods' return types.</p>
<p><a class="el" href="structsigc_1_1adaptor__base.html" title="A hint to the compiler.">adaptor_base</a> inherits from the <a class="el" href="structsigc_1_1functor__base.html" title="A hint to the compiler.">functor_base</a> hint so derived types should also have a result_type defined.</p>
<p>Adaptors don't inherit from this type directly. They use use <a class="el" href="structsigc_1_1adapts.html" title="Base type for adaptors.">sigc::adapts</a> as a base type instead. sigc::adaptors wraps arbitrary functor types as well as function pointers and class methods. </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 21:44:53 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>