1
2<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3
4
5<html>
6<head>
7<title>direct_mod_range_hashing Interface
8</title>
9
10</head>
11
12<body>
13<h1>
14<tt>direct_mod_range_hashing
15</tt>
16
17 Interface
18
19
20</h1>
21
22<p>A mod range-hashing class (uses the modulo function).
23</p>
24
25<ol>
26<li>
27<a href = "../../../../include/ext/pb_assoc/hash_policy.hpp"><tt>hash_policy.hpp</tt>
28</a>
29
30</li>
31
32<li>
33<a href = "#link1">Template parameters.
34</a>
35
36</li>
37
38<li>
39Public Types and Constants:
40
41
42<ol>
43<li>
44<a href = "#link2">General definitions.
45</a>
46
47</li>
48
49</ol>
50
51</li>
52
53<li>
54Public Methods:
55
56
57<ol>
58<li>
59<a href = "#link3">Constructors, destructor, and related.
60</a>
61
62</li>
63
64</ol>
65
66</li>
67
68<li>
69Protected Methods:
70
71
72<ol>
73<li>
74<a href = "#link4">Notification methods.
75</a>
76
77</li>
78
79<li>
80<a href = "#link5">Operators.
81</a>
82
83</li>
84
85</ol>
86
87</li>
88
89</ol>
90
91
92<h2>
93<a name = "link1">Template parameters.
94</a>
95
96</h2>
97
98<table WIDTH = "100%" BORDER = "1">
99<TR><TD Width = "20%" ALIGN = "left"><b>Parameter</b></TD><TD Width = "50%" ALIGN = "left"><b>Description</b></TD><TD Width = "30%" ALIGN = "left"><b>Default Value</b></TD></TR>
100
101
102<tr>
103<td>
104<pre><a name = "Size_Type3735929483">Size_Type</a></pre>
105
106
107</td>
108
109<td>
110<p>Size type.</p>
111
112
113</td>
114
115<td>
116size_t
117
118
119</td>
120
121</tr>
122
123</table>
124
125<h2>
126<a name = "link2">General definitions.
127</a>
128
129</h2>
130
131<table WIDTH = "100%" BORDER = "1">
132<TR><TD Width = "30%" ALIGN = "left"><b>Type</b></TD><TD Width = "55%" ALIGN = "left"><b>Definition</b></TD><TD Width = "15%" ALIGN = "left"><b>Description</b></TD></TR>
133
134
135<tr>
136<td>
137<pre><a name = "size_type3735929547">size_type</a></pre>
138
139
140</td>
141
142<td>
143<pre><a href = "#Size_Type3735929483">Size_Type</a></pre>
144
145
146</td>
147
148<td>
149<p>Size type.</p>
150
151
152</td>
153
154</tr>
155
156</table>
157
158<h2>
159<a name = "link3">Constructors, destructor, and related.
160</a>
161
162</h2>
163
164<table WIDTH = "100%" BORDER = "1">
165<TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
166
167
168<tr>
169<td>
170<pre><b>void</b>
171  swap
172  (<font color = "olive">direct_mod_range_hashing</font> &amp;r_other)</pre>
173
174
175</td>
176
177<td>
178<p>Swaps content.</p>
179
180
181</td>
182
183</tr>
184
185</table>
186
187<h2>
188<a name = "link4">Notification methods.
189</a>
190
191</h2>
192
193<h2>
194<a name = "link5">Operators.
195</a>
196
197</h2>
198
199<table WIDTH = "100%" BORDER = "1">
200<TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
201
202
203<tr>
204<td>
205<pre><b>inline</b> <a href = "#size_type3735929547">size_type</a>
206  <b>operator</b>()
207  (<a href = "#size_type3735929547">size_type</a> hash) <b>const</b></pre>
208
209
210</td>
211
212<td>
213<p>Transforms the hash value <font color = "#666666"><tt>hash</tt></font> into a ranged-hash value (using a modulo operation).</p>
214
215
216</td>
217
218</tr>
219
220</table>
221
222
223
224</body>
225
226</html>
227
228
229