File: structsigc_1_1adaptor__base.html

package info (click to toggle)
libsigc%2B%2B-2.0 2.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 18,864 kB
  • ctags: 5,252
  • sloc: sh: 4,213; cpp: 3,952; xml: 313; perl: 236; makefile: 168; ansic: 44
file content (83 lines) | stat: -rw-r--r-- 8,837 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>libsigc++: sigc::adaptor_base Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-extra.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">libsigc++
   &#160;<span id="projectnumber">2.10.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
  <div id="navrow1" 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 id="navrow2" class="tabs2">
    <ul class="tablist">
      <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="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacesigc.html">sigc</a></li><li class="navelem"><a class="el" href="structsigc_1_1adaptor__base.html">adaptor_base</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">sigc::adaptor_base Struct Reference<div class="ingroups"><a class="el" href="group__adaptors.html">Adaptors</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>A hint to the compiler.  
 <a href="structsigc_1_1adaptor__base.html#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="dyncontent">
<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" id="node3" href="structsigc_1_1adapts.html" title="sigc::adapts\&lt; T_setter \&gt;" alt="" coords="386,85,567,111"/><area shape="rect" id="node6" href="structsigc_1_1adaptor__functor.html" title="Converts an arbitrary functor into an adaptor type. " alt="" coords="398,297,555,339"/><area shape="rect" id="node7" href="structsigc_1_1adapts.html" title="Base type for adaptors. " alt="" coords="383,490,571,517"/><area shape="rect" id="node2" href="structsigc_1_1functor__base.html" title="A hint to the compiler. " alt="" coords="5,305,144,331"/><area shape="rect" id="node4" href="structsigc_1_1compose1__functor.html" title="Adaptor that combines two functors. " alt="" coords="630,5,805,47"/><area shape="rect" id="node5" href="structsigc_1_1compose2__functor.html" title="Adaptor that combines three functors. " alt="" coords="630,70,805,126"/><area shape="rect" id="node8" 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="628,150,807,206"/><area shape="rect" id="node9" 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="630,230,805,286"/><area shape="rect" id="node10" href="structsigc_1_1bind__return__functor.html" title="Adaptor that fixes the return value of the wrapped functor. " alt="" coords="627,309,807,351"/><area shape="rect" id="node11" href="structsigc_1_1exception__catch__functor.html" title="sigc::exception_catch\l_functor\&lt; T_functor \&gt;" alt="" coords="636,375,799,416"/><area shape="rect" id="node12" href="structsigc_1_1exception__catch__functor_3_01T__functor_00_01T__catcher_00_01void_01_4.html" title="sigc::exception_catch\l_functor\&lt; T_functor,\l T_catcher, void \&gt;" alt="" coords="638,439,797,495"/><area shape="rect" id="node13" 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="650,519,785,560"/><area shape="rect" id="node14" 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="650,584,785,625"/><area shape="rect" id="node15" href="structsigc_1_1retype__functor.html" title="Adaptor that performs C&#45;style casts on the parameters passed on to the functor. " alt="" coords="643,649,791,691"/><area shape="rect" id="node16" href="structsigc_1_1retype__return__functor.html" title="Adaptor that performs a C&#45;style cast on the return value of a functor. " alt="" coords="636,715,799,756"/><area shape="rect" id="node17" href="structsigc_1_1retype__return__functor_3_01void_00_01T__functor_01_4.html" title="Adaptor that performs a C&#45;style cast on the return value of a functor. " alt="" coords="619,780,816,821"/><area shape="rect" id="node18" href="classsigc_1_1track__obj__functor1.html" title="track_obj_functor1 wraps a functor and stores a reference to a trackable object. " alt="" coords="631,845,804,887"/><area shape="rect" id="node19" href="classsigc_1_1track__obj__functor2.html" title="track_obj_functor2 wraps a functor and stores 2 references to trackable objects. " alt="" coords="864,681,1037,723"/><area shape="rect" id="node20" href="classsigc_1_1track__obj__functor3.html" title="track_obj_functor3 wraps a functor and stores 3 references to trackable objects. " alt="" coords="864,747,1037,788"/><area shape="rect" id="node21" href="classsigc_1_1track__obj__functor4.html" title="track_obj_functor4 wraps a functor and stores 4 references to trackable objects. " alt="" coords="864,812,1037,853"/><area shape="rect" id="node22" href="classsigc_1_1track__obj__functor5.html" title="track_obj_functor5 wraps a functor and stores 5 references to trackable objects. " alt="" coords="864,877,1037,919"/><area shape="rect" id="node23" href="classsigc_1_1track__obj__functor6.html" title="track_obj_functor6 wraps a functor and stores 6 references to trackable objects. " alt="" coords="864,943,1037,984"/><area shape="rect" id="node24" href="classsigc_1_1track__obj__functor7.html" title="track_obj_functor7 wraps a functor and stores 7 references to trackable objects. " alt="" coords="864,1008,1037,1049"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><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></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Sep 20 2016 12:13:57 for libsigc++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>