Sophie

Sophie

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

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::bound_const_volatile_mem_functor2&lt; T_return, T_obj, T_arg1, T_arg2 &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_1bound__const__volatile__mem__functor2.html">bound_const_volatile_mem_functor2</a>
  </div>
</div>
<div class="contents">
<h1>sigc::bound_const_volatile_mem_functor2&lt; T_return, T_obj, T_arg1, T_arg2 &gt; Class Template Reference<br/>
<small>
[<a class="el" href="group__mem__fun.html">mem_fun()</a>]</small>
</h1><!-- doxytag: class="sigc::bound_const_volatile_mem_functor2" --><!-- doxytag: inherits="sigc::const_volatile_mem_functor2" -->
<p><a class="el" href="classsigc_1_1bound__const__volatile__mem__functor2.html" title="bound_const_volatile_mem_functor2 encapsulates a const volatile method with 2 arguments...">bound_const_volatile_mem_functor2</a> encapsulates a const volatile method with 2 arguments and an object instance. <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::bound_const_volatile_mem_functor2&lt; T_return, T_obj, T_arg1, T_arg2 &gt;:</div>
<div class="dynsection">
<div class="center"><img src="classsigc_1_1bound__const__volatile__mem__functor2__inherit__graph.png" border="0" usemap="#sigc_1_1bound__const__volatile__mem__functor2_3_01T__return_00_01T__obj_00_01T__arg1_00_01T__arg2_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="sigc_1_1bound__const__volatile__mem__functor2_3_01T__return_00_01T__obj_00_01T__arg1_00_01T__arg2_01_4_inherit__map" id="sigc_1_1bound__const__volatile__mem__functor2_3_01T__return_00_01T__obj_00_01T__arg1_00_01T__arg2_01_4_inherit__map">
<area shape="rect" href="classsigc_1_1const__volatile__mem__functor2.html" title="const_volatile_mem_functor2 wraps const volatile methods with 2 argument(s)." alt="" coords="29,84,496,111"/><area shape="rect" href="structsigc_1_1functor__base.html" title="A hint to the compiler." alt="" coords="195,7,331,33"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classsigc_1_1bound__const__volatile__mem__functor2-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="a26e4bc5d2c64c1029b760fe7994fee3f"></a><!-- doxytag: member="sigc::bound_const_volatile_mem_functor2::function_type" ref="a26e4bc5d2c64c1029b760fe7994fee3f" args="" -->
typedef base_type_::function_type&#160;</td><td class="memItemRight" valign="bottom"><b>function_type</b></td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1bound__const__volatile__mem__functor2.html#a1b629cd2ff30fcaeb035136e190c3f4d">bound_const_volatile_mem_functor2</a> (const T_obj* _A_obj, function_type _A_func)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <a class="el" href="classsigc_1_1bound__const__volatile__mem__functor2.html" title="bound_const_volatile_mem_functor2 encapsulates a const volatile method with 2 arguments...">bound_const_volatile_mem_functor2</a> object that wraps the passed method. <a href="#a1b629cd2ff30fcaeb035136e190c3f4d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1bound__const__volatile__mem__functor2.html#a6a7a540b5e6a5e7d322a448904bc8881">bound_const_volatile_mem_functor2</a> (const T_obj&amp; _A_obj, function_type _A_func)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <a class="el" href="classsigc_1_1bound__const__volatile__mem__functor2.html" title="bound_const_volatile_mem_functor2 encapsulates a const volatile method with 2 arguments...">bound_const_volatile_mem_functor2</a> object that wraps the passed method. <a href="#a6a7a540b5e6a5e7d322a448904bc8881"></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_1bound__const__volatile__mem__functor2.html#ae28dac1656f7ad45057b8ad3dd5882f9">operator()</a> (typename type_trait&lt; T_arg1 &gt;::take _A_a1, typename type_trait&lt; T_arg2 &gt;::take _A_a2) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute the wrapped method operating on the stored instance. <a href="#ae28dac1656f7ad45057b8ad3dd5882f9"></a><br/></td></tr>
<tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a28eef54f97c2468f3385358b75d6cb70"></a><!-- doxytag: member="sigc::bound_const_volatile_mem_functor2::obj_" ref="a28eef54f97c2468f3385358b75d6cb70" args="" -->
<a class="el" href="classsigc_1_1const__volatile__limit__reference.html">const_volatile_limit_reference</a><br class="typebreak"/>
&lt; T_obj &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>obj_</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, class T_arg2&gt;<br/>
 class sigc::bound_const_volatile_mem_functor2&lt; T_return, T_obj, T_arg1, T_arg2 &gt;</h3>

<p><a class="el" href="classsigc_1_1bound__const__volatile__mem__functor2.html" title="bound_const_volatile_mem_functor2 encapsulates a const volatile method with 2 arguments...">bound_const_volatile_mem_functor2</a> encapsulates a const volatile method with 2 arguments and an object instance. </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_1bound__const__volatile__mem__functor2.html" title="bound_const_volatile_mem_functor2 encapsulates a const volatile method with 2 arguments...">bound_const_volatile_mem_functor2</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_1bound__const__volatile__mem__functor2.html#ae28dac1656f7ad45057b8ad3dd5882f9" title="Execute the wrapped method operating on the stored instance.">operator()()</a>.</li>
<li><em>T_arg2</em> Argument type used in the definition of <a class="el" href="classsigc_1_1bound__const__volatile__mem__functor2.html#ae28dac1656f7ad45057b8ad3dd5882f9" title="Execute the wrapped method operating on the stored instance.">operator()()</a>.</li>
<li><em>T_return</em> The return type of <a class="el" href="classsigc_1_1bound__const__volatile__mem__functor2.html#ae28dac1656f7ad45057b8ad3dd5882f9" title="Execute the wrapped method operating on the stored 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="a1b629cd2ff30fcaeb035136e190c3f4d"></a><!-- doxytag: member="sigc::bound_const_volatile_mem_functor2::bound_const_volatile_mem_functor2" ref="a1b629cd2ff30fcaeb035136e190c3f4d" args="(const T_obj *_A_obj, function_type _A_func)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class T_return , class T_obj , class T_arg1 , class T_arg2 &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsigc_1_1bound__const__volatile__mem__functor2.html">sigc::bound_const_volatile_mem_functor2</a>&lt; T_return, T_obj, T_arg1, T_arg2 &gt;::<a class="el" href="classsigc_1_1bound__const__volatile__mem__functor2.html">bound_const_volatile_mem_functor2</a> </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">function_type&#160;</td>
          <td class="paramname"> <em>_A_func</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a <a class="el" href="classsigc_1_1bound__const__volatile__mem__functor2.html" title="bound_const_volatile_mem_functor2 encapsulates a const volatile method with 2 arguments...">bound_const_volatile_mem_functor2</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_obj</em>&#160;</td><td>Pointer to instance the method will operate on. </td></tr>
    <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_1bound__const__volatile__mem__functor2.html#ae28dac1656f7ad45057b8ad3dd5882f9" title="Execute the wrapped method operating on the stored instance.">operator()()</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6a7a540b5e6a5e7d322a448904bc8881"></a><!-- doxytag: member="sigc::bound_const_volatile_mem_functor2::bound_const_volatile_mem_functor2" ref="a6a7a540b5e6a5e7d322a448904bc8881" args="(const T_obj &amp;_A_obj, function_type _A_func)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class T_return , class T_obj , class T_arg1 , class T_arg2 &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsigc_1_1bound__const__volatile__mem__functor2.html">sigc::bound_const_volatile_mem_functor2</a>&lt; T_return, T_obj, T_arg1, T_arg2 &gt;::<a class="el" href="classsigc_1_1bound__const__volatile__mem__functor2.html">bound_const_volatile_mem_functor2</a> </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">function_type&#160;</td>
          <td class="paramname"> <em>_A_func</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructs a <a class="el" href="classsigc_1_1bound__const__volatile__mem__functor2.html" title="bound_const_volatile_mem_functor2 encapsulates a const volatile method with 2 arguments...">bound_const_volatile_mem_functor2</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_obj</em>&#160;</td><td>Reference to instance the method will operate on. </td></tr>
    <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_1bound__const__volatile__mem__functor2.html#ae28dac1656f7ad45057b8ad3dd5882f9" title="Execute the wrapped method operating on the stored instance.">operator()()</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae28dac1656f7ad45057b8ad3dd5882f9"></a><!-- doxytag: member="sigc::bound_const_volatile_mem_functor2::operator()" ref="ae28dac1656f7ad45057b8ad3dd5882f9" args="(typename type_trait&lt; T_arg1 &gt;::take _A_a1, typename type_trait&lt; T_arg2 &gt;::take _A_a2) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class T_return , class T_obj , class T_arg1 , class T_arg2 &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T_return <a class="el" href="classsigc_1_1bound__const__volatile__mem__functor2.html">sigc::bound_const_volatile_mem_functor2</a>&lt; T_return, T_obj, T_arg1, T_arg2 &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">typename type_trait&lt; T_arg1 &gt;::take&#160;</td>
          <td class="paramname"> <em>_A_a1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">typename type_trait&lt; T_arg2 &gt;::take&#160;</td>
          <td class="paramname"> <em>_A_a2</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 stored 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_a1</em>&#160;</td><td>Argument to be passed on to the method. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>_A_a2</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:52 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>