1 2<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3 4 5<html> 6<head> 7<title>direct_mask_range_hashing Interface 8</title> 9 10</head> 11 12<body> 13<h1> 14<tt>direct_mask_range_hashing 15</tt> 16 17 Interface 18 19 20</h1> 21 22<p>A mask range-hashing class (uses a bit-mask). 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_mask_range_hashing</font> &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<table WIDTH = "100%" BORDER = "1"> 194<TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR> 195 196 197<tr> 198<td> 199<pre><b>void</b> 200 notify_resized 201 (<a href = "#size_type3735929547">size_type</a> size)</pre> 202 203 204</td> 205 206<td> 207<p>Notifies the policy object that the container's size has changed to <font color = "#666666"><tt>size</tt></font>.</p> 208 209 210</td> 211 212</tr> 213 214</table> 215 216<h2> 217<a name = "link5">Operators. 218</a> 219 220</h2> 221 222<table WIDTH = "100%" BORDER = "1"> 223<TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR> 224 225 226<tr> 227<td> 228<pre><b>inline</b> <a href = "#size_type3735929547">size_type</a> 229 <b>operator</b>() 230 (<a href = "#size_type3735929547">size_type</a> hash) <b>const</b></pre> 231 232 233</td> 234 235<td> 236<p>Transforms the hash value <font color = "#666666"><tt>hash</tt></font> into a ranged-hash value (using a bit-mask).</p> 237 238 239</td> 240 241</tr> 242 243</table> 244 245 246 247</body> 248 249</html> 250 251 252