OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [libstdc++-v3/] [docs/] [html/] [ext/] [pb_assoc/] [sample_range_hashing.html] - Rev 20

Compare with Previous | Blame | View Log

 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 
 
<html>
<head>
<title>sample_range_hashing Interface
</title>
 
</head>
 
<body>
<h1>
<tt>sample_range_hashing
</tt>
 
 Interface
 
 
</h1>
 
<p>A sample range-hashing functor.
</p>
 
<p>This class serves to show the interface a range-hashing functor needs to support.
</p>
 
<ol>
<li>
<a href = "../pb_assoc/sample_range_hashing.hpp"><tt>sample_range_hashing.hpp</tt>
</a>
 
</li>
 
<li>
Public Methods:
 
 
<ol>
<li>
<a href = "#link1">Constructors, destructor, and related.
</a>
 
</li>
 
</ol>
 
</li>
 
<li>
Protected Methods:
 
 
<ol>
<li>
<a href = "#link2">Notification methods.
</a>
 
</li>
 
<li>
<a href = "#link3">Operators.
</a>
 
</li>
 
</ol>
 
</li>
 
</ol>
 
 
<h2>
<a name = "link1">Constructors, destructor, and related.
</a>
 
</h2>
 
<table WIDTH = "100%" BORDER = "1">
<TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
 
 
<tr>
<td>
<pre>  sample_range_hashing
  ()</pre>
 
 
</td>
 
<td>
<p>Default constructor.</p>
 
 
<p>Must be default constructible.</p>
 
 
</td>
 
</tr>
 
<tr>
<td>
<pre>  sample_range_hashing
  (<b>const</b> sample_range_hashing &amp;r_other)</pre>
 
 
</td>
 
<td>
<p>Copy constructor.</p>
 
 
<p>Must be copy constructible.</p>
 
 
</td>
 
</tr>
 
<tr>
<td>
<pre><b>inline</b> <b>void</b>
  swap
  (sample_range_hashing &amp;r_other)</pre>
 
 
</td>
 
<td>
<p>Swaps content.</p>
 
 
<p>Must be swappable (if there is such a word).</p>
 
 
</td>
 
</tr>
 
</table>
 
<h2>
<a name = "link2">Notification methods.
</a>
 
</h2>
 
<table WIDTH = "100%" BORDER = "1">
<TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
 
 
<tr>
<td>
<pre><b>void</b>
  notify_resized
  (size_type size)</pre>
 
 
</td>
 
<td>
<p>Notifies the policy object that the container's size has changed to <font color = "#666666"><tt>size</tt></font>.</p>
 
 
<p><p><tt>size_type</tt> is the size type on which the functor operates.</p></p>
 
 
</td>
 
</tr>
 
</table>
 
<h2>
<a name = "link3">Operators.
</a>
 
</h2>
 
<table WIDTH = "100%" BORDER = "1">
<TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
 
 
<tr>
<td>
<pre>*  comment = "@@sample_range_hashing_size_type_comment"&gt;
**/
<b>inline</b> size_type
  <b>operator</b>()
  (size_type hash) <b>const</b></pre>
 
 
</td>
 
<td>
<p>Transforms the hash value <font color = "#666666"><tt>hash</tt></font> into a ranged-hash value.</p>
 
 
</td>
 
</tr>
 
</table>
 
 
 
</body>
 
</html>
 
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.