Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bad97183153701b09df5fae1052b1c30 > files > 598

crystalspace-doc-1.2.1-5mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Crystal Space 1.2.1: csHashComputerIntegral&lt; T &gt; Class Template Reference (Crystal Space 1.2.1 Public API Reference)</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="head">
 <tr height="59">
  <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td>
  <td class="head"><h2>Public API Reference</h2></td>
 </tr>
 <tr height="11">
  <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td>
 </tr>
</table>
<div class="content">
<!-- Generated by Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;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="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul>
</div>
<h1>csHashComputerIntegral&lt; T &gt; Class Template Reference<br>
<small>
[<a class="el" href="group__util__containers.html">Containers</a>]</small>
</h1><!-- doxytag: class="csHashComputerIntegral" -->Template for hash value computing, suitable for integral types and types that can be casted to such.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="hash_8h-source.html">csutil/hash.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for csHashComputerIntegral&lt; T &gt;:</div>
<div class="dynsection">
<p><center><img src="classcsHashComputerIntegral__inherit__graph.png" border="0" usemap="#csHashComputerIntegral_3_01T_01_4__inherit__map" alt="Inheritance graph"></center>
<map name="csHashComputerIntegral_3_01T_01_4__inherit__map">
<area shape="rect" href="classcsHashComputer_3_01longlong_01_4.html" title="csHashComputer\&lt; longlong \&gt;" alt="" coords="5,84,221,111"><area shape="rect" href="classcsHashComputer_3_01ulonglong_01_4.html" title="csHashComputer\&lt; ulonglong \&gt;" alt="" coords="245,84,469,111"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classcsHashComputerIntegral-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcsHashComputerIntegral.html#35cb1f6cc37aea67763556e66549362a">ComputeHash</a> (const T &amp;key)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute a hash value for <em>key</em>.  <a href="#35cb1f6cc37aea67763556e66549362a"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class T&gt;<br>
 class csHashComputerIntegral&lt; T &gt;</h3>

Template for hash value computing, suitable for integral types and types that can be casted to such. 
<p>Definition at line <a class="el" href="hash_8h-source.html#l00071">71</a> of file <a class="el" href="hash_8h-source.html">hash.h</a>.</p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="35cb1f6cc37aea67763556e66549362a"></a><!-- doxytag: member="csHashComputerIntegral::ComputeHash" ref="35cb1f6cc37aea67763556e66549362a" args="(const T &amp;key)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="group__util.html#g91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> <a class="el" href="classcsHashComputerIntegral.html">csHashComputerIntegral</a>&lt; T &gt;::ComputeHash           </td>
          <td>(</td>
          <td class="paramtype">const T &amp;&nbsp;</td>
          <td class="paramname"> <em>key</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Compute a hash value for <em>key</em>. 
<p>

<p>Definition at line <a class="el" href="hash_8h-source.html#l00075">75</a> of file <a class="el" href="hash_8h-source.html">hash.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>csutil/<a class="el" href="hash_8h-source.html">hash.h</a></ul>
<hr size="1"><address><small>Generated for Crystal Space 1.2.1 by 
<a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 
</small></address> </div></body> </html>