2 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
7 <title>sample_probe_fn Interface
22 <p>A sample probe policy.
25 <p>This class serves to show the interface a probe functor needs to support.
30 <a href =
"../doc/sample_probe_fn.hpp"><tt>sample_probe_fn.hpp
</tt>
41 <a href =
"#link1">Constructors, destructor, and related.
56 <a href =
"#link2">Offset methods.
69 <a name =
"link1">Constructors, destructor, and related.
74 <table WIDTH =
"100%" BORDER =
"1">
75 <TR><TD Width =
"45%" ALIGN =
"left"><b>Method
</b></TD><TD Width =
"55%" ALIGN =
"left"><b>Description
</b></TD></TR>
87 <p>Default constructor.
</p>
90 <p>Must be default constructible.
</p>
100 (
<b>const
</b> sample_probe_fn
&r_other)
</pre>
106 <p>Copy constructor.
</p>
109 <p>Must be copy constructible.
</p>
118 <pre><b>inline
</b> <b>void
</b>
120 (sample_probe_fn
&r_other)
</pre>
126 <p>Swaps content.
</p>
129 <p>Must be swappable (if there is such a word).
</p>
139 <a name =
"link2">Offset methods.
144 <table WIDTH =
"100%" BORDER =
"1">
145 <TR><TD Width =
"45%" ALIGN =
"left"><b>Method
</b></TD><TD Width =
"55%" ALIGN =
"left"><b>Description
</b></TD></TR>
150 <pre><b>inline
</b> size_type
152 (const_key_reference r_key,
153 size_type i)
<b>const
</b></pre>
159 <p>Returns the
<font color =
"#666666"><tt>i
</tt></font>-th offset from the hash value of some key
<font color =
"#666666"><tt>r_key
</tt></font>.
</p>
162 <p><p><tt>size_type
</tt> is the size type on which the functor operates.
</p></p>