Sophie

Sophie

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

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::const_volatile_mem_functor1&lt; T_return, T_obj, T_arg1 &gt; Class 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="classsigc_1_1const__volatile__mem__functor1.html">const_volatile_mem_functor1</a>
  </div>
</div>
<div class="contents">
<h1>sigc::const_volatile_mem_functor1&lt; T_return, T_obj, T_arg1 &gt; Class Template Reference<br/>
<small>
[<a class="el" href="group__mem__fun.html">mem_fun()</a>]</small>
</h1><!-- doxytag: class="sigc::const_volatile_mem_functor1" --><!-- doxytag: inherits="sigc::functor_base" -->
<p><a class="el" href="classsigc_1_1const__volatile__mem__functor1.html" title="const_volatile_mem_functor1 wraps const volatile methods with 1 argument(s).">const_volatile_mem_functor1</a> wraps const volatile methods with 1 argument(s). <a href="#_details">More...</a></p>

<p><code>#include &lt;sigc++/functors/mem_fun.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for sigc::const_volatile_mem_functor1&lt; T_return, T_obj, T_arg1 &gt;:</div>
<div class="dynsection">
<div class="center"><img src="classsigc_1_1const__volatile__mem__functor1__inherit__graph.png" border="0" usemap="#sigc_1_1const__volatile__mem__functor1_3_01T__return_00_01T__obj_00_01T__arg1_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="sigc_1_1const__volatile__mem__functor1_3_01T__return_00_01T__obj_00_01T__arg1_01_4_inherit__map" id="sigc_1_1const__volatile__mem__functor1_3_01T__return_00_01T__obj_00_01T__arg1_01_4_inherit__map">
<area shape="rect" href="classsigc_1_1bound__const__volatile__mem__functor1.html" title="bound_const_volatile_mem_functor1 encapsulates a const volatile method with 1 arguments..." alt="" coords="5,161,469,188"/><area shape="rect" href="structsigc_1_1functor__base.html" title="A hint to the compiler." alt="" coords="169,7,305,33"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classsigc_1_1const__volatile__mem__functor1-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="a566191052777f69d1e6de30a2bce0637"></a><!-- doxytag: member="sigc::const_volatile_mem_functor1::function_type" ref="a566191052777f69d1e6de30a2bce0637" args=")(T_arg1) const volatile" -->
typedef T_return(T_obj::*&#160;</td><td class="memItemRight" valign="bottom"><b>function_type</b> )(T_arg1) const volatile</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adeaf82cc2aff607efe2a51945d6b8565"></a><!-- doxytag: member="sigc::const_volatile_mem_functor1::result_type" ref="adeaf82cc2aff607efe2a51945d6b8565" args="" -->
typedef T_return&#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="a25a541c4bef874a6b2d177a3be7ab988"></a><!-- doxytag: member="sigc::const_volatile_mem_functor1::const_volatile_mem_functor1" ref="a25a541c4bef874a6b2d177a3be7ab988" args="()" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1const__volatile__mem__functor1.html#a25a541c4bef874a6b2d177a3be7ab988">const_volatile_mem_functor1</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs an invalid functor. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1const__volatile__mem__functor1.html#aa8cb4ad934ac610ffe3425cbe799ba8d">const_volatile_mem_functor1</a> (function_type _A_func)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <a class="el" href="classsigc_1_1const__volatile__mem__functor1.html" title="const_volatile_mem_functor1 wraps const volatile methods with 1 argument(s).">const_volatile_mem_functor1</a> object that wraps the passed method. <a href="#aa8cb4ad934ac610ffe3425cbe799ba8d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T_return&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1const__volatile__mem__functor1.html#a87ba42e130f905664e2e432e309f9012">operator()</a> (const T_obj* _A_obj, typename type_trait&lt; T_arg1 &gt;::take _A_a1) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute the wrapped method operating on the passed instance. <a href="#a87ba42e130f905664e2e432e309f9012"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">T_return&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1const__volatile__mem__functor1.html#a21e2b07a9c4fcfc55ef07631577d7a00">operator()</a> (const T_obj&amp; _A_obj, typename type_trait&lt; T_arg1 &gt;::take _A_a1) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute the wrapped method operating on the passed instance. <a href="#a21e2b07a9c4fcfc55ef07631577d7a00"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9da27522999030f09c718dbe164f1f6"></a><!-- doxytag: member="sigc::const_volatile_mem_functor1::func_ptr_" ref="af9da27522999030f09c718dbe164f1f6" args="" -->
function_type&#160;</td><td class="memItemRight" valign="bottom"><b>func_ptr_</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<h3>template &lt;class T_return, class T_obj, class T_arg1&gt;<br/>
 class sigc::const_volatile_mem_functor1&lt; T_return, T_obj, T_arg1 &gt;</h3>

<p><a class="el" href="classsigc_1_1const__volatile__mem__functor1.html" title="const_volatile_mem_functor1 wraps const volatile methods with 1 argument(s).">const_volatile_mem_functor1</a> wraps const volatile methods with 1 argument(s). </p>
<p>Use the convenience function <a class="el" href="group__mem__fun.html#ga7d9ea809173f48bf5c76cf1989591602" 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__functor1.html" title="const_volatile_mem_functor1 wraps const volatile methods with 1 argument(s).">const_volatile_mem_functor1</a>.</p>
<p>The following template arguments are used:</p>
<ul>
<li><em>T_arg1</em> Argument type used in the definition of <a class="el" href="classsigc_1_1const__volatile__mem__functor1.html#a87ba42e130f905664e2e432e309f9012" title="Execute the wrapped method operating on the passed instance.">operator()()</a>.</li>
<li><em>T_return</em> The return type of <a class="el" href="classsigc_1_1const__volatile__mem__functor1.html#a87ba42e130f905664e2e432e309f9012" title="Execute the wrapped method operating on the passed instance.">operator()()</a>.</li>
<li><em>T_obj</em> The object type. </li>
</ul>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa8cb4ad934ac610ffe3425cbe799ba8d"></a><!-- doxytag: member="sigc::const_volatile_mem_functor1::const_volatile_mem_functor1" ref="aa8cb4ad934ac610ffe3425cbe799ba8d" args="(function_type _A_func)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class T_return , class T_obj , class T_arg1 &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsigc_1_1const__volatile__mem__functor1.html">sigc::const_volatile_mem_functor1</a>&lt; T_return, T_obj, T_arg1 &gt;::<a class="el" href="classsigc_1_1const__volatile__mem__functor1.html">const_volatile_mem_functor1</a> </td>
          <td>(</td>
          <td class="paramtype">function_type&#160;</td>
          <td class="paramname"> <em>_A_func</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="classsigc_1_1const__volatile__mem__functor1.html" title="const_volatile_mem_functor1 wraps const volatile methods with 1 argument(s).">const_volatile_mem_functor1</a> object that wraps the passed method. </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_func</em>&#160;</td><td>Pointer to method will be invoked from <a class="el" href="classsigc_1_1const__volatile__mem__functor1.html#a87ba42e130f905664e2e432e309f9012" 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="a21e2b07a9c4fcfc55ef07631577d7a00"></a><!-- doxytag: member="sigc::const_volatile_mem_functor1::operator()" ref="a21e2b07a9c4fcfc55ef07631577d7a00" args="(const T_obj &amp;_A_obj, typename type_trait&lt; T_arg1 &gt;::take _A_a1) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class T_return , class T_obj , class T_arg1 &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T_return <a class="el" href="classsigc_1_1const__volatile__mem__functor1.html">sigc::const_volatile_mem_functor1</a>&lt; T_return, T_obj, T_arg1 &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">const T_obj &amp;&#160;</td>
          <td class="paramname"> <em>_A_obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">typename type_trait&lt; T_arg1 &gt;::take&#160;</td>
          <td class="paramname"> <em>_A_a1</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Execute the wrapped method operating on the passed instance. </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_obj</em>&#160;</td><td>Reference to instance the method should operate on. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_A_a1</em>&#160;</td><td>Argument to be passed on to the method. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The return value of the method invocation. </dd></dl>

</div>
</div>
<a class="anchor" id="a87ba42e130f905664e2e432e309f9012"></a><!-- doxytag: member="sigc::const_volatile_mem_functor1::operator()" ref="a87ba42e130f905664e2e432e309f9012" args="(const T_obj *_A_obj, typename type_trait&lt; T_arg1 &gt;::take _A_a1) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class T_return , class T_obj , class T_arg1 &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T_return <a class="el" href="classsigc_1_1const__volatile__mem__functor1.html">sigc::const_volatile_mem_functor1</a>&lt; T_return, T_obj, T_arg1 &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">const T_obj *&#160;</td>
          <td class="paramname"> <em>_A_obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">typename type_trait&lt; T_arg1 &gt;::take&#160;</td>
          <td class="paramname"> <em>_A_a1</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Execute the wrapped method operating on the passed instance. </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_obj</em>&#160;</td><td>Pointer to instance the method should operate on. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_A_a1</em>&#160;</td><td>Argument to be passed on to the method. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The return value of the method invocation. </dd></dl>

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