Sophie

Sophie

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

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_mem_functor0&lt; T_return, T_obj &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__mem__functor0.html">bound_mem_functor0</a>
  </div>
</div>
<div class="contents">
<h1>sigc::bound_mem_functor0&lt; T_return, T_obj &gt; Class Template Reference<br/>
<small>
[<a class="el" href="group__mem__fun.html">mem_fun()</a>]</small>
</h1><!-- doxytag: class="sigc::bound_mem_functor0" --><!-- doxytag: inherits="sigc::mem_functor0" -->
<p><a class="el" href="classsigc_1_1bound__mem__functor0.html" title="bound_mem_functor0 encapsulates a method with 0 arguments and an object instance...">bound_mem_functor0</a> encapsulates a method with 0 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_mem_functor0&lt; T_return, T_obj &gt;:</div>
<div class="dynsection">
<div class="center"><img src="classsigc_1_1bound__mem__functor0__inherit__graph.png" border="0" usemap="#sigc_1_1bound__mem__functor0_3_01T__return_00_01T__obj_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="sigc_1_1bound__mem__functor0_3_01T__return_00_01T__obj_01_4_inherit__map" id="sigc_1_1bound__mem__functor0_3_01T__return_00_01T__obj_01_4_inherit__map">
<area shape="rect" href="classsigc_1_1mem__functor0.html" title="mem_functor0 wraps methods with 0 argument(s)." alt="" coords="29,84,301,111"/><area shape="rect" href="structsigc_1_1functor__base.html" title="A hint to the compiler." alt="" coords="97,7,233,33"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classsigc_1_1bound__mem__functor0-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="a36b5479bfc091c063d44b11ad024393a"></a><!-- doxytag: member="sigc::bound_mem_functor0::function_type" ref="a36b5479bfc091c063d44b11ad024393a" 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__mem__functor0.html#a7de90a27f55055cae43df1425cc78415">bound_mem_functor0</a> (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__mem__functor0.html" title="bound_mem_functor0 encapsulates a method with 0 arguments and an object instance...">bound_mem_functor0</a> object that wraps the passed method. <a href="#a7de90a27f55055cae43df1425cc78415"></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__mem__functor0.html#a137ab7d3b66b421f664e154e3d01e66c">bound_mem_functor0</a> (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__mem__functor0.html" title="bound_mem_functor0 encapsulates a method with 0 arguments and an object instance...">bound_mem_functor0</a> object that wraps the passed method. <a href="#a137ab7d3b66b421f664e154e3d01e66c"></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__mem__functor0.html#a6b5411811e8e74ead796ac5aad1ce42e">operator()</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Execute the wrapped method operating on the stored instance. <a href="#a6b5411811e8e74ead796ac5aad1ce42e"></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="ae64f4c6596667228376947a38c4a8bb7"></a><!-- doxytag: member="sigc::bound_mem_functor0::obj_" ref="ae64f4c6596667228376947a38c4a8bb7" args="" -->
<a class="el" href="classsigc_1_1limit__reference.html">limit_reference</a>&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&gt;<br/>
 class sigc::bound_mem_functor0&lt; T_return, T_obj &gt;</h3>

<p><a class="el" href="classsigc_1_1bound__mem__functor0.html" title="bound_mem_functor0 encapsulates a method with 0 arguments and an object instance...">bound_mem_functor0</a> encapsulates a method with 0 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__mem__functor0.html" title="bound_mem_functor0 encapsulates a method with 0 arguments and an object instance...">bound_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_1bound__mem__functor0.html#a6b5411811e8e74ead796ac5aad1ce42e" 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="a7de90a27f55055cae43df1425cc78415"></a><!-- doxytag: member="sigc::bound_mem_functor0::bound_mem_functor0" ref="a7de90a27f55055cae43df1425cc78415" args="(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 &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsigc_1_1bound__mem__functor0.html">sigc::bound_mem_functor0</a>&lt; T_return, T_obj &gt;::<a class="el" href="classsigc_1_1bound__mem__functor0.html">bound_mem_functor0</a> </td>
          <td>(</td>
          <td class="paramtype">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__mem__functor0.html" title="bound_mem_functor0 encapsulates a method with 0 arguments and an object instance...">bound_mem_functor0</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__mem__functor0.html#a6b5411811e8e74ead796ac5aad1ce42e" title="Execute the wrapped method operating on the stored instance.">operator()()</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a137ab7d3b66b421f664e154e3d01e66c"></a><!-- doxytag: member="sigc::bound_mem_functor0::bound_mem_functor0" ref="a137ab7d3b66b421f664e154e3d01e66c" args="(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 &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classsigc_1_1bound__mem__functor0.html">sigc::bound_mem_functor0</a>&lt; T_return, T_obj &gt;::<a class="el" href="classsigc_1_1bound__mem__functor0.html">bound_mem_functor0</a> </td>
          <td>(</td>
          <td class="paramtype">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__mem__functor0.html" title="bound_mem_functor0 encapsulates a method with 0 arguments and an object instance...">bound_mem_functor0</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__mem__functor0.html#a6b5411811e8e74ead796ac5aad1ce42e" 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="a6b5411811e8e74ead796ac5aad1ce42e"></a><!-- doxytag: member="sigc::bound_mem_functor0::operator()" ref="a6b5411811e8e74ead796ac5aad1ce42e" args="() const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class T_return , class T_obj &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T_return <a class="el" href="classsigc_1_1bound__mem__functor0.html">sigc::bound_mem_functor0</a>&lt; T_return, T_obj &gt;::operator() </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&#160;)&#160;</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 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>