1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
6 <meta name="generator" content="Doxygen 1.8.9.1"/>
7 <title>libsigc++: sigc::const_mem_functor0< T_return, T_obj > Class Template Reference</title>
8 <link href="tabs.css" rel="stylesheet" type="text/css"/>
9 <script type="text/javascript" src="jquery.js"></script>
10 <script type="text/javascript" src="dynsections.js"></script>
11 <link href="doxygen.css" rel="stylesheet" type="text/css" />
12 <link href="doxygen-extra.css" rel="stylesheet" type="text/css"/>
15 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
17 <table cellspacing="0" cellpadding="0">
19 <tr style="height: 56px;">
20 <td style="padding-left: 0.5em;">
21 <div id="projectname">libsigc++
22  <span id="projectnumber">2.6.1</span>
29 <!-- end header part -->
30 <!-- Generated by Doxygen 1.8.9.1 -->
31 <div id="navrow1" class="tabs">
33 <li><a href="index.html"><span>Main Page</span></a></li>
34 <li><a href="pages.html"><span>Related Pages</span></a></li>
35 <li><a href="modules.html"><span>Modules</span></a></li>
36 <li><a href="namespaces.html"><span>Namespaces</span></a></li>
37 <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
40 <div id="navrow2" class="tabs2">
42 <li><a href="annotated.html"><span>Class List</span></a></li>
43 <li><a href="classes.html"><span>Class Index</span></a></li>
44 <li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
45 <li><a href="functions.html"><span>Class Members</span></a></li>
48 <div id="nav-path" class="navpath">
50 <li class="navelem"><a class="el" href="namespacesigc.html">sigc</a></li><li class="navelem"><a class="el" href="classsigc_1_1const__mem__functor0.html">const_mem_functor0</a></li> </ul>
55 <a href="#pub-types">Public Types</a> |
56 <a href="#pub-methods">Public Member Functions</a> |
57 <a href="#pro-attribs">Protected Attributes</a> |
58 <a href="classsigc_1_1const__mem__functor0-members.html">List of all members</a> </div>
59 <div class="headertitle">
60 <div class="title">sigc::const_mem_functor0< T_return, T_obj > Class Template Reference<div class="ingroups"><a class="el" href="group__sigcfunctors.html">Functors</a> » <a class="el" href="group__mem__fun.html">mem_fun()</a></div></div> </div>
62 <div class="contents">
64 <p><a class="el" href="classsigc_1_1const__mem__functor0.html" title="const_mem_functor0 wraps const methods with 0 argument(s). ">const_mem_functor0</a> wraps const methods with 0 argument(s).
65 <a href="classsigc_1_1const__mem__functor0.html#details">More...</a></p>
67 <p><code>#include <sigc++/functors/mem_fun.h></code></p>
68 <div class="dynheader">
69 Inheritance diagram for sigc::const_mem_functor0< T_return, T_obj >:</div>
70 <div class="dyncontent">
71 <div class="center"><img src="classsigc_1_1const__mem__functor0__inherit__graph.png" border="0" usemap="#sigc_1_1const__mem__functor0_3_01T__return_00_01T__obj_01_4_inherit__map" alt="Inheritance graph"/></div>
72 <map name="sigc_1_1const__mem__functor0_3_01T__return_00_01T__obj_01_4_inherit__map" id="sigc_1_1const__mem__functor0_3_01T__return_00_01T__obj_01_4_inherit__map">
73 <area shape="rect" id="node3" href="classsigc_1_1bound__const__mem__functor0.html" title="bound_const_mem_functor0 encapsulates a const method with 0 arguments and an object instance..." alt="" coords="11,169,190,225"/><area shape="rect" id="node2" href="structsigc_1_1functor__base.html" title="A hint to the compiler. " alt="" coords="31,5,170,32"/></map>
74 <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
75 <table class="memberdecls">
76 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
77 Public Types</h2></td></tr>
78 <tr class="memitem:ae6407fcbb13872122e704dadf4a98546"><td class="memItemLeft" align="right" valign="top">typedef T_return(T_obj::* </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1const__mem__functor0.html#ae6407fcbb13872122e704dadf4a98546">function_type</a>) () const </td></tr>
79 <tr class="separator:ae6407fcbb13872122e704dadf4a98546"><td class="memSeparator" colspan="2"> </td></tr>
80 <tr class="memitem:a553cd4d85524b5deea445b67773527bf"><td class="memItemLeft" align="right" valign="top">typedef T_return </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1const__mem__functor0.html#a553cd4d85524b5deea445b67773527bf">result_type</a></td></tr>
81 <tr class="separator:a553cd4d85524b5deea445b67773527bf"><td class="memSeparator" colspan="2"> </td></tr>
82 </table><table class="memberdecls">
83 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
84 Public Member Functions</h2></td></tr>
85 <tr class="memitem:a49bba4c8045b8b6933b8f5a854ac98d6"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1const__mem__functor0.html#a49bba4c8045b8b6933b8f5a854ac98d6">const_mem_functor0</a> ()</td></tr>
86 <tr class="memdesc:a49bba4c8045b8b6933b8f5a854ac98d6"><td class="mdescLeft"> </td><td class="mdescRight">Constructs an invalid functor. <a href="#a49bba4c8045b8b6933b8f5a854ac98d6">More...</a><br /></td></tr>
87 <tr class="separator:a49bba4c8045b8b6933b8f5a854ac98d6"><td class="memSeparator" colspan="2"> </td></tr>
88 <tr class="memitem:a27895e58972642453f7b853f25a66f42"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1const__mem__functor0.html#a27895e58972642453f7b853f25a66f42">const_mem_functor0</a> (<a class="el" href="classsigc_1_1const__mem__functor0.html#ae6407fcbb13872122e704dadf4a98546">function_type</a> _A_func)</td></tr>
89 <tr class="memdesc:a27895e58972642453f7b853f25a66f42"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classsigc_1_1const__mem__functor0.html" title="const_mem_functor0 wraps const methods with 0 argument(s). ">const_mem_functor0</a> object that wraps the passed method. <a href="#a27895e58972642453f7b853f25a66f42">More...</a><br /></td></tr>
90 <tr class="separator:a27895e58972642453f7b853f25a66f42"><td class="memSeparator" colspan="2"> </td></tr>
91 <tr class="memitem:a261a8a2fc4fca25717ee0d50a0a718c2"><td class="memItemLeft" align="right" valign="top">T_return </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1const__mem__functor0.html#a261a8a2fc4fca25717ee0d50a0a718c2">operator()</a> (const T_obj* _A_obj) const </td></tr>
92 <tr class="memdesc:a261a8a2fc4fca25717ee0d50a0a718c2"><td class="mdescLeft"> </td><td class="mdescRight">Execute the wrapped method operating on the passed instance. <a href="#a261a8a2fc4fca25717ee0d50a0a718c2">More...</a><br /></td></tr>
93 <tr class="separator:a261a8a2fc4fca25717ee0d50a0a718c2"><td class="memSeparator" colspan="2"> </td></tr>
94 <tr class="memitem:ab282ef8746fa5de89ddbb91907d0e131"><td class="memItemLeft" align="right" valign="top">T_return </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1const__mem__functor0.html#ab282ef8746fa5de89ddbb91907d0e131">operator()</a> (const T_obj& _A_obj) const </td></tr>
95 <tr class="memdesc:ab282ef8746fa5de89ddbb91907d0e131"><td class="mdescLeft"> </td><td class="mdescRight">Execute the wrapped method operating on the passed instance. <a href="#ab282ef8746fa5de89ddbb91907d0e131">More...</a><br /></td></tr>
96 <tr class="separator:ab282ef8746fa5de89ddbb91907d0e131"><td class="memSeparator" colspan="2"> </td></tr>
97 </table><table class="memberdecls">
98 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
99 Protected Attributes</h2></td></tr>
100 <tr class="memitem:a215359b20450c2afe93496826ac45c1d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsigc_1_1const__mem__functor0.html#ae6407fcbb13872122e704dadf4a98546">function_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1const__mem__functor0.html#a215359b20450c2afe93496826ac45c1d">func_ptr_</a></td></tr>
101 <tr class="separator:a215359b20450c2afe93496826ac45c1d"><td class="memSeparator" colspan="2"> </td></tr>
103 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
104 <div class="textblock"><h3>template<class T_return, class T_obj><br />
105 class sigc::const_mem_functor0< T_return, T_obj ></h3>
107 <p><a class="el" href="classsigc_1_1const__mem__functor0.html" title="const_mem_functor0 wraps const methods with 0 argument(s). ">const_mem_functor0</a> wraps const methods with 0 argument(s). </p>
108 <p>Use the convenience function <a class="el" href="group__mem__fun.html#gadf6b6d22c503b439019f0a2e77352419" title="Creates a functor of type sigc::mem_functor0 which wraps a method. ">mem_fun()</a> to create an instance of <a class="el" href="classsigc_1_1const__mem__functor0.html" title="const_mem_functor0 wraps const methods with 0 argument(s). ">const_mem_functor0</a>.</p>
109 <p>The following template arguments are used:</p><ul>
110 <li><em>T_return</em> The return type of <a class="el" href="classsigc_1_1const__mem__functor0.html#a261a8a2fc4fca25717ee0d50a0a718c2" title="Execute the wrapped method operating on the passed instance. ">operator()()</a>.</li>
111 <li><em>T_obj</em> The object type. </li>
113 </div><h2 class="groupheader">Member Typedef Documentation</h2>
114 <a class="anchor" id="ae6407fcbb13872122e704dadf4a98546"></a>
115 <div class="memitem">
116 <div class="memproto">
117 <div class="memtemplate">
118 template <class T_return , class T_obj > </div>
119 <table class="memname">
121 <td class="memname">typedef T_return(T_obj::* <a class="el" href="classsigc_1_1const__mem__functor0.html">sigc::const_mem_functor0</a>< T_return, T_obj >::function_type) () const </td>
124 </div><div class="memdoc">
128 <a class="anchor" id="a553cd4d85524b5deea445b67773527bf"></a>
129 <div class="memitem">
130 <div class="memproto">
131 <div class="memtemplate">
132 template <class T_return , class T_obj > </div>
133 <table class="memname">
135 <td class="memname">typedef T_return <a class="el" href="classsigc_1_1const__mem__functor0.html">sigc::const_mem_functor0</a>< T_return, T_obj >::<a class="el" href="classsigc_1_1const__mem__functor0.html#a553cd4d85524b5deea445b67773527bf">result_type</a></td>
138 </div><div class="memdoc">
142 <h2 class="groupheader">Constructor & Destructor Documentation</h2>
143 <a class="anchor" id="a49bba4c8045b8b6933b8f5a854ac98d6"></a>
144 <div class="memitem">
145 <div class="memproto">
146 <div class="memtemplate">
147 template <class T_return , class T_obj > </div>
148 <table class="mlabels">
150 <td class="mlabels-left">
151 <table class="memname">
153 <td class="memname"><a class="el" href="classsigc_1_1const__mem__functor0.html">sigc::const_mem_functor0</a>< T_return, T_obj >::<a class="el" href="classsigc_1_1const__mem__functor0.html">const_mem_functor0</a> </td>
155 <td class="paramname"></td><td>)</td>
160 <td class="mlabels-right">
161 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
164 </div><div class="memdoc">
166 <p>Constructs an invalid functor. </p>
170 <a class="anchor" id="a27895e58972642453f7b853f25a66f42"></a>
171 <div class="memitem">
172 <div class="memproto">
173 <div class="memtemplate">
174 template <class T_return , class T_obj > </div>
175 <table class="mlabels">
177 <td class="mlabels-left">
178 <table class="memname">
180 <td class="memname"><a class="el" href="classsigc_1_1const__mem__functor0.html">sigc::const_mem_functor0</a>< T_return, T_obj >::<a class="el" href="classsigc_1_1const__mem__functor0.html">const_mem_functor0</a> </td>
182 <td class="paramtype"><a class="el" href="classsigc_1_1const__mem__functor0.html#ae6407fcbb13872122e704dadf4a98546">function_type</a> </td>
183 <td class="paramname"><em>_A_func</em></td><td>)</td>
188 <td class="mlabels-right">
189 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td>
192 </div><div class="memdoc">
194 <p>Constructs a <a class="el" href="classsigc_1_1const__mem__functor0.html" title="const_mem_functor0 wraps const methods with 0 argument(s). ">const_mem_functor0</a> object that wraps the passed method. </p>
195 <dl class="params"><dt>Parameters</dt><dd>
196 <table class="params">
197 <tr><td class="paramname">_A_func</td><td>Pointer to method will be invoked from <a class="el" href="classsigc_1_1const__mem__functor0.html#a261a8a2fc4fca25717ee0d50a0a718c2" title="Execute the wrapped method operating on the passed instance. ">operator()()</a>. </td></tr>
204 <h2 class="groupheader">Member Function Documentation</h2>
205 <a class="anchor" id="a261a8a2fc4fca25717ee0d50a0a718c2"></a>
206 <div class="memitem">
207 <div class="memproto">
208 <div class="memtemplate">
209 template <class T_return , class T_obj > </div>
210 <table class="mlabels">
212 <td class="mlabels-left">
213 <table class="memname">
215 <td class="memname">T_return <a class="el" href="classsigc_1_1const__mem__functor0.html">sigc::const_mem_functor0</a>< T_return, T_obj >::operator() </td>
217 <td class="paramtype">const T_obj * </td>
218 <td class="paramname"><em>_A_obj</em></td><td>)</td>
223 <td class="mlabels-right">
224 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
227 </div><div class="memdoc">
229 <p>Execute the wrapped method operating on the passed instance. </p>
230 <dl class="params"><dt>Parameters</dt><dd>
231 <table class="params">
232 <tr><td class="paramname">_A_obj</td><td>Pointer to instance the method should operate on. </td></tr>
236 <dl class="section return"><dt>Returns</dt><dd>The return value of the method invocation. </dd></dl>
240 <a class="anchor" id="ab282ef8746fa5de89ddbb91907d0e131"></a>
241 <div class="memitem">
242 <div class="memproto">
243 <div class="memtemplate">
244 template <class T_return , class T_obj > </div>
245 <table class="mlabels">
247 <td class="mlabels-left">
248 <table class="memname">
250 <td class="memname">T_return <a class="el" href="classsigc_1_1const__mem__functor0.html">sigc::const_mem_functor0</a>< T_return, T_obj >::operator() </td>
252 <td class="paramtype">const T_obj & </td>
253 <td class="paramname"><em>_A_obj</em></td><td>)</td>
258 <td class="mlabels-right">
259 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
262 </div><div class="memdoc">
264 <p>Execute the wrapped method operating on the passed instance. </p>
265 <dl class="params"><dt>Parameters</dt><dd>
266 <table class="params">
267 <tr><td class="paramname">_A_obj</td><td>Reference to instance the method should operate on. </td></tr>
271 <dl class="section return"><dt>Returns</dt><dd>The return value of the method invocation. </dd></dl>
275 <h2 class="groupheader">Member Data Documentation</h2>
276 <a class="anchor" id="a215359b20450c2afe93496826ac45c1d"></a>
277 <div class="memitem">
278 <div class="memproto">
279 <div class="memtemplate">
280 template <class T_return , class T_obj > </div>
281 <table class="mlabels">
283 <td class="mlabels-left">
284 <table class="memname">
286 <td class="memname"><a class="el" href="classsigc_1_1const__mem__functor0.html#ae6407fcbb13872122e704dadf4a98546">function_type</a> <a class="el" href="classsigc_1_1const__mem__functor0.html">sigc::const_mem_functor0</a>< T_return, T_obj >::func_ptr_</td>
290 <td class="mlabels-right">
291 <span class="mlabels"><span class="mlabel">protected</span></span> </td>
294 </div><div class="memdoc">
298 </div><!-- contents -->
299 <!-- start footer part -->
300 <hr class="footer"/><address class="footer"><small>
301 Generated on Sat Sep 26 2015 20:14:39 for libsigc++ by  <a href="http://www.doxygen.org/index.html">
302 <img class="footer" src="doxygen.png" alt="doxygen"/>