<!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"/> <title>libsigc++: sigc::const_volatile_mem_functor0< T_return, T_obj > Class Template 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" /> </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++  <span id="projectnumber">2.2.11</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main 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 id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class 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="classsigc_1_1const__volatile__mem__functor0.html">const_volatile_mem_functor0</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> </div> <div class="headertitle"> <div class="title">sigc::const_volatile_mem_functor0< T_return, T_obj > Class Template Reference<div class="ingroups"><a class="el" href="group__mem__fun.html">mem_fun()</a></div></div> </div> </div><!--header--> <div class="contents"> <p><a class="el" href="classsigc_1_1const__volatile__mem__functor0.html" title="const_volatile_mem_functor0 wraps const volatile methods with 0 argument(s).">const_volatile_mem_functor0</a> wraps const volatile methods with 0 argument(s). <a href="classsigc_1_1const__volatile__mem__functor0.html#details">More...</a></p> <p><code>#include <sigc++/functors/mem_fun.h></code></p> <div class="dynheader"> Inheritance diagram for sigc::const_volatile_mem_functor0< T_return, T_obj >:</div> <div class="dyncontent"> <div class="center"><img src="classsigc_1_1const__volatile__mem__functor0__inherit__graph.png" border="0" usemap="#sigc_1_1const__volatile__mem__functor0_3_01T__return_00_01T__obj_01_4_inherit__map" alt="Inheritance graph"/></div> <map name="sigc_1_1const__volatile__mem__functor0_3_01T__return_00_01T__obj_01_4_inherit__map" id="sigc_1_1const__volatile__mem__functor0_3_01T__return_00_01T__obj_01_4_inherit__map"> <area shape="rect" id="node5" href="classsigc_1_1bound__const__volatile__mem__functor0.html" title="bound_const_volatile_mem_functor0 encapsulates a const volatile method with 0 arguments and an object..." alt="" coords="5,184,200,240"/><area shape="rect" id="node2" href="structsigc_1_1functor__base.html" title="A hint to the compiler." alt="" coords="33,5,172,32"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classsigc_1_1const__volatile__mem__functor0-members.html">List of all members.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="pub-types"></a> Public Types</h2></td></tr> <tr class="memitem:a5700c960bfc136fc856e3cc3173b2a27"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5700c960bfc136fc856e3cc3173b2a27"></a> typedef T_return(T_obj::* </td><td class="memItemRight" valign="bottom"><b>function_type</b> )() const volatile</td></tr> <tr class="memitem:ab8e419ef5ad21d6230a306cd7d910df9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab8e419ef5ad21d6230a306cd7d910df9"></a> typedef T_return </td><td class="memItemRight" valign="bottom"><b>result_type</b></td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a8eec4c4ff04b8d5ef7c184e853ea0486"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8eec4c4ff04b8d5ef7c184e853ea0486"></a>  </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1const__volatile__mem__functor0.html#a8eec4c4ff04b8d5ef7c184e853ea0486">const_volatile_mem_functor0</a> ()</td></tr> <tr class="memdesc:a8eec4c4ff04b8d5ef7c184e853ea0486"><td class="mdescLeft"> </td><td class="mdescRight">Constructs an invalid functor. <br/></td></tr> <tr class="memitem:ab20dd00a6c8908a8ebd7846985d71856"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1const__volatile__mem__functor0.html#ab20dd00a6c8908a8ebd7846985d71856">const_volatile_mem_functor0</a> (function_type _A_func)</td></tr> <tr class="memdesc:ab20dd00a6c8908a8ebd7846985d71856"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classsigc_1_1const__volatile__mem__functor0.html" title="const_volatile_mem_functor0 wraps const volatile methods with 0 argument(s).">const_volatile_mem_functor0</a> object that wraps the passed method. <a href="#ab20dd00a6c8908a8ebd7846985d71856"></a><br/></td></tr> <tr class="memitem:a99a36e65fb849aa0a5ea277c9fc3c218"><td class="memItemLeft" align="right" valign="top">T_return </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1const__volatile__mem__functor0.html#a99a36e65fb849aa0a5ea277c9fc3c218">operator()</a> (const T_obj* _A_obj) const </td></tr> <tr class="memdesc:a99a36e65fb849aa0a5ea277c9fc3c218"><td class="mdescLeft"> </td><td class="mdescRight">Execute the wrapped method operating on the passed instance. <a href="#a99a36e65fb849aa0a5ea277c9fc3c218"></a><br/></td></tr> <tr class="memitem:aa496344eafe6ace812186d0b5806762b"><td class="memItemLeft" align="right" valign="top">T_return </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1const__volatile__mem__functor0.html#aa496344eafe6ace812186d0b5806762b">operator()</a> (const T_obj& _A_obj) const </td></tr> <tr class="memdesc:aa496344eafe6ace812186d0b5806762b"><td class="mdescLeft"> </td><td class="mdescRight">Execute the wrapped method operating on the passed instance. <a href="#aa496344eafe6ace812186d0b5806762b"></a><br/></td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr class="memitem:ae0f88c6683fb175845f5f804c2c04ec8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae0f88c6683fb175845f5f804c2c04ec8"></a> function_type </td><td class="memItemRight" valign="bottom"><b>func_ptr_</b></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><h3>template<class T_return, class T_obj><br/> class sigc::const_volatile_mem_functor0< T_return, T_obj ></h3> <p><a class="el" href="classsigc_1_1const__volatile__mem__functor0.html" title="const_volatile_mem_functor0 wraps const volatile methods with 0 argument(s).">const_volatile_mem_functor0</a> wraps const volatile methods with 0 argument(s). </p> <p>Use the convenience function <a class="el" href="group__mem__fun.html#ga52244864d2f65f072678b682bfc9913f" 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__volatile__mem__functor0.html" title="const_volatile_mem_functor0 wraps const volatile methods with 0 argument(s).">const_volatile_mem_functor0</a>.</p> <p>The following template arguments are used:</p> <ul> <li><em>T_return</em> The return type of <a class="el" href="classsigc_1_1const__volatile__mem__functor0.html#a99a36e65fb849aa0a5ea277c9fc3c218" title="Execute the wrapped method operating on the passed instance.">operator()()</a>.</li> <li><em>T_obj</em> The object type. </li> </ul> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="ab20dd00a6c8908a8ebd7846985d71856"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class T_return , class T_obj > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classsigc_1_1const__volatile__mem__functor0.html">sigc::const_volatile_mem_functor0</a>< T_return, T_obj >::<a class="el" href="classsigc_1_1const__volatile__mem__functor0.html">const_volatile_mem_functor0</a> </td> <td>(</td> <td class="paramtype">function_type </td> <td class="paramname"><em>_A_func</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Constructs a <a class="el" href="classsigc_1_1const__volatile__mem__functor0.html" title="const_volatile_mem_functor0 wraps const volatile methods with 0 argument(s).">const_volatile_mem_functor0</a> object that wraps the passed method. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">_A_func</td><td>Pointer to method will be invoked from <a class="el" href="classsigc_1_1const__volatile__mem__functor0.html#a99a36e65fb849aa0a5ea277c9fc3c218" title="Execute the wrapped method operating on the passed instance.">operator()()</a>. </td></tr> </table> </dd> </dl> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a99a36e65fb849aa0a5ea277c9fc3c218"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class T_return , class T_obj > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">T_return <a class="el" href="classsigc_1_1const__volatile__mem__functor0.html">sigc::const_volatile_mem_functor0</a>< T_return, T_obj >::operator() </td> <td>(</td> <td class="paramtype">const T_obj * </td> <td class="paramname"><em>_A_obj</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Execute the wrapped method operating on the passed instance. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">_A_obj</td><td>Pointer to instance the method should operate on. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>The return value of the method invocation. </dd></dl> </div> </div> <a class="anchor" id="aa496344eafe6ace812186d0b5806762b"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class T_return , class T_obj > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">T_return <a class="el" href="classsigc_1_1const__volatile__mem__functor0.html">sigc::const_volatile_mem_functor0</a>< T_return, T_obj >::operator() </td> <td>(</td> <td class="paramtype">const T_obj & </td> <td class="paramname"><em>_A_obj</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Execute the wrapped method operating on the passed instance. </p> <dl class="params"><dt>Parameters:</dt><dd> <table class="params"> <tr><td class="paramname">_A_obj</td><td>Reference to instance the method should operate on. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns:</dt><dd>The return value of the method invocation. </dd></dl> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.1 </small></address> </body> </html>