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/] [gp_hash_assoc_cntnr.html] - Blame information for rev 20

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 20 jlechner
 
2
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3
 
4
 
5
<html>
6
<head>
7
<title>gp_hash_assoc_cntnr Interface
8
</title>
9
 
10
</head>
11
 
12
<body>
13
<h1>
14
<tt>gp_hash_assoc_cntnr
15
</tt>
16
 
17
 Interface
18
 
19
 
20
</h1>
21
 
22
<p>A general-probing hash-based associative container.
23
</p>
24
 
25
<ol>
26
<li>
27
<a href = "../../../../include/ext/pb_assoc/assoc_cntnr.hpp"><tt>assoc_cntnr.hpp</tt>
28
</a>
29
 
30
</li>
31
 
32
<li>
33
<a href = "#link1">Template parameters.
34
</a>
35
 
36
</li>
37
 
38
<li>
39
<a href = "#link2">Base classes.
40
</a>
41
 
42
</li>
43
 
44
<li>
45
Public Types and Constants:
46
 
47
 
48
<ol>
49
<li>
50
<a href = "#link3">Policy definitions.
51
</a>
52
 
53
</li>
54
 
55
</ol>
56
 
57
</li>
58
 
59
<li>
60
Public Methods:
61
 
62
 
63
<ol>
64
<li>
65
<a href = "#link4">Constructors, destructor, and related.
66
</a>
67
 
68
</li>
69
 
70
<li>
71
<a href = "#link5">Policy access methods.
72
</a>
73
 
74
</li>
75
 
76
</ol>
77
 
78
</li>
79
 
80
</ol>
81
 
82
 
83
<h2>
84
<a name = "link1">Template parameters.
85
</a>
86
 
87
</h2>
88
 
89
<table WIDTH = "100%" BORDER = "1">
90
<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>
91
 
92
 
93
<tr>
94
<td>
95
<pre><a name = "Key3735928856">Key</a></pre>
96
 
97
 
98
</td>
99
 
100
<td>
101
<p>Key type.</p>
102
 
103
 
104
</td>
105
 
106
<td>
107
-
108
 
109
 
110
</td>
111
 
112
</tr>
113
 
114
<tr>
115
<td>
116
<pre><a name = "Data3735928937">Data</a></pre>
117
 
118
 
119
</td>
120
 
121
<td>
122
<p>Data type.</p>
123
 
124
 
125
</td>
126
 
127
<td>
128
-
129
 
130
 
131
</td>
132
 
133
</tr>
134
 
135
<tr>
136
<td>
137
<pre><a name = "Hash_Fn3735929222">Hash_Fn</a></pre>
138
 
139
 
140
</td>
141
 
142
<td>
143
<p>Hash functor.</p>
144
 
145
 
146
</td>
147
 
148
<td>
149
<pre>__gnu_cxx::hash&lt;<a href = "#Key3735928856">Key</a>&gt;</pre>if using gcc;<pre>stdext::hash_value&lt;<a href = "#Key3735928856">Key</a>&gt;</pre>if using Visual C++ .net
150
 
151
 
152
</td>
153
 
154
</tr>
155
 
156
<tr>
157
<td>
158
<pre><a name = "Eq_Fn3735929016">Eq_Fn</a></pre>
159
 
160
 
161
</td>
162
 
163
<td>
164
<p>Equivalence functor.</p>
165
 
166
 
167
</td>
168
 
169
<td>
170
<pre>std::equal_to&lt;<a href = "#Key3735928856">Key</a>&gt;</pre>
171
 
172
 
173
</td>
174
 
175
</tr>
176
 
177
<tr>
178
<td>
179
<pre><a name = "Comb_Probe_Fn3735929818">Comb_Probe_Fn</a></pre>
180
 
181
 
182
</td>
183
 
184
<td>
185
<p>Combining probe functor.</p>
186
 
187
 
188
<p>If <a href = "#Hash_Fn3735929222">Hash_Fn</a> is <a href = "null_hash_fn.html"><tt>null_hash_fn</tt></a>, and <a href = "#Probe_Fn3735929338">Probe_Fn</a> is <a href = "comb_probe_fn.html"><tt>comb_probe_fn</tt></a>, then this is the <a href = "concepts.html#concepts_hash_fns">ranged_hash function</a> functor; otherwise, this is the <a href = "concepts.html#concepts_hash_fns">range_hashing function</a> functor;</p>
189
 
190
 
191
</td>
192
 
193
<td>
194
<pre><a href = "direct_mask_range_hashing.html">direct_mask_range_hashing</a>&lt;
195
  <a href = "#Allocator3735929488">Allocator</a>&gt;</pre>
196
 
197
 
198
</td>
199
 
200
</tr>
201
 
202
<tr>
203
<td>
204
<pre><a name = "Probe_Fn3735929338">Probe_Fn</a></pre>
205
 
206
 
207
</td>
208
 
209
<td>
210
<p>Probe functor.</p>
211
 
212
 
213
</td>
214
 
215
<td>
216
If <tt><a href = "#comb_hash_fn3735929798">comb_hash_fn</a></tt> is <tt><a href = "direct_mask_range_hashing.html">direct_mask_range_hashing&lt;&gt;</a></tt>, then <pre><a href = "linear_probe_fn.html">linear_probe_fn</a>&lt;
217
  <b>typename</b> <a href = "#comb_hash_fn3735929798">comb_hash_fn</a>::size_type&gt;</pre>otherwise, <pre><a href = "quadratic_probe_fn.html">quadratic_probe_fn</a>&lt;
218
  <b>typename</b> <a href = "#comb_hash_fn3735929798">comb_hash_fn</a>::size_type&gt;</pre>
219
 
220
 
221
</td>
222
 
223
</tr>
224
 
225
<tr>
226
<td>
227
<pre><a name = "Resize_Policy3735929904">Resize_Policy</a></pre>
228
 
229
 
230
</td>
231
 
232
<td>
233
<p>Resize policy.</p>
234
 
235
 
236
</td>
237
 
238
<td>
239
If <tt><a href = "#comb_hash_fn3735929798">comb_hash_fn</a></tt> is <tt><a href = "direct_mask_range_hashing.html">direct_mask_range_hashing&lt;&gt;</a></tt>, then <pre><a href = "hash_standard_resize_policy.html">hash_standard_resize_policy</a>&lt;
240
  <a href = "hash_exponential_size_policy.html">hash_exponential_size_policy</a>&lt;
241
    <b>typename</b> <a href = "#comb_hash_fn3735929798">comb_hash_fn</a>::size_type&gt;,
242
  <a href = "hash_load_check_resize_trigger.html">hash_load_check_resize_trigger</a>&lt;
243
    <b>typename</b> <a href = "#comb_hash_fn3735929798">comb_hash_fn</a>::size_type&gt;,
244
  <b>false</b>,
245
  <b>typename</b> <a href = "#comb_hash_fn3735929798">comb_hash_fn</a>::size_type&gt;</pre>otherwise, <pre><a href = "hash_standard_resize_policy.html">hash_standard_resize_policy</a>&lt;
246
  <a href = "hash_exponential_size_policy.html"><tt>hash_prime_size_policy</tt></a>&lt;
247
    <b>typename</b> <a href = "#comb_hash_fn3735929798">comb_hash_fn</a>::size_type&gt;,
248
  <a href = "hash_load_check_resize_trigger.html"><tt>hash_load_check_resize_trigger</tt></a>&lt;
249
    <b>typename</b> <a href = "#comb_hash_fn3735929798">comb_hash_fn</a>::size_type&gt;,
250
  <b>false</b>,
251
  <b>typename</b> <a href = "#comb_hash_fn3735929798">comb_hash_fn</a>::size_type&gt;</pre>
252
 
253
 
254
</td>
255
 
256
</tr>
257
 
258
<tr>
259
<td>
260
<pre><a name = "Store_Hash3735929567">Store_Hash</a></pre>
261
 
262
 
263
</td>
264
 
265
<td>
266
<p>Indicates whether the hash value will be stored along with each key.</p>
267
 
268
 
269
<p>If <tt><a href = "#hash_fn3735929286">hash_fn</a></tt> is <tt><a href = "null_hash_fn.html">null_hash_fn</a></tt>, then the container will not compile if this value is <tt><b>true</b></tt></p>
270
 
271
 
272
</td>
273
 
274
<td>
275
<pre><tt><b>false</b></tt></pre>
276
 
277
 
278
</td>
279
 
280
</tr>
281
 
282
<tr>
283
<td>
284
<pre><a name = "Allocator3735929488">Allocator</a></pre>
285
 
286
 
287
</td>
288
 
289
<td>
290
<p>Allocator type.</p>
291
 
292
 
293
</td>
294
 
295
<td>
296
<pre>std::allocator&lt;<b>char</b>&gt;</pre>
297
 
298
 
299
</td>
300
 
301
</tr>
302
 
303
</table>
304
 
305
<h2>
306
<a name = "link2">Base classes.
307
</a>
308
 
309
</h2>
310
 
311
<table WIDTH = "100%" BORDER = "1">
312
<TR><TD Width = "80%" ALIGN = "left"><b>Class</b></TD><TD Width = "20%" ALIGN = "left"><b>Derivation Type</b></TD></TR>
313
 
314
 
315
<tr>
316
<td>
317
<pre><a href = "#Comb_Probe_Fn3735929818">Comb_Probe_Fn</a></pre>
318
 
319
 
320
</td>
321
 
322
<td>
323
<p>public</p>
324
 
325
 
326
</td>
327
 
328
</tr>
329
 
330
<tr>
331
<td>
332
<pre><a href = "#Probe_Fn3735929338">Probe_Fn</a></pre>
333
 
334
 
335
</td>
336
 
337
<td>
338
<p>public</p>
339
 
340
 
341
</td>
342
 
343
</tr>
344
 
345
<tr>
346
<td>
347
<pre><a href = "basic_hash_assoc_cntnr.html"<tt>basic_hash_assoc_cntnr</tt></a></pre>
348
 
349
 
350
</td>
351
 
352
<td>
353
<p>public</p>
354
 
355
 
356
</td>
357
 
358
</tr>
359
 
360
</table>
361
 
362
<h2>
363
<a name = "link3">Policy definitions.
364
</a>
365
 
366
</h2>
367
 
368
<table WIDTH = "100%" BORDER = "1">
369
<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>
370
 
371
 
372
<tr>
373
<td>
374
<pre><a name = "comb_probe_fn3735929914">comb_probe_fn</a></pre>
375
 
376
 
377
</td>
378
 
379
<td>
380
<pre><a href = "#Comb_Probe_Fn3735929818">Comb_Probe_Fn</a></pre>
381
 
382
 
383
</td>
384
 
385
<td>
386
<p>Combining probe functor type.</p>
387
 
388
 
389
</td>
390
 
391
</tr>
392
 
393
<tr>
394
<td>
395
<pre><a name = "probe_fn3735929402">probe_fn</a></pre>
396
 
397
 
398
</td>
399
 
400
<td>
401
<pre><a href = "#Probe_Fn3735929338">Probe_Fn</a></pre>
402
 
403
 
404
</td>
405
 
406
<td>
407
<p>Probe functor type.</p>
408
 
409
 
410
</td>
411
 
412
</tr>
413
 
414
</table>
415
 
416
<h2>
417
<a name = "link4">Constructors, destructor, and related.
418
</a>
419
 
420
</h2>
421
 
422
<table WIDTH = "100%" BORDER = "1">
423
<TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
424
 
425
 
426
<tr>
427
<td>
428
<pre>  gp_hash_assoc_cntnr
429
  ()</pre>
430
 
431
 
432
</td>
433
 
434
<td>
435
<p>Default constructor.</p>
436
 
437
 
438
</td>
439
 
440
</tr>
441
 
442
<tr>
443
<td>
444
<pre>  gp_hash_assoc_cntnr
445
  (<b>const</b> <a href = "#Hash_Fn3735929222">Hash_Fn</a> &amp;r_hash_fn)</pre>
446
 
447
 
448
</td>
449
 
450
<td>
451
<p>Constructor taking some policy objects. <font color = "#666666"><tt>r_hash_fn</tt></font> will be copied by the <a href = "#Hash_Fn3735929222"><tt>Hash_Fn</tt></a> object of the container object.</p>
452
 
453
 
454
</td>
455
 
456
</tr>
457
 
458
<tr>
459
<td>
460
<pre>  gp_hash_assoc_cntnr
461
  (<b>const</b> <a href = "#Hash_Fn3735929222">Hash_Fn</a> &amp;r_hash_fn,
462
    <b>const</b> <a href = "#Eq_Fn3735929016">Eq_Fn</a> &amp;r_eq_fn)</pre>
463
 
464
 
465
</td>
466
 
467
<td>
468
<p>Constructor taking some policy objects. <font color = "#666666"><tt>r_hash_fn</tt></font> will be copied by the <a href = "#Hash_Fn3735929222"><tt>Hash_Fn</tt></a> object of the container object, and <font color = "#666666"><tt>r_eq_fn</tt></font> will be copied by the <a href = "#Eq_Fn3735929016"><tt>Eq_Fn</tt></a> object of the container object.</p>
469
 
470
 
471
</td>
472
 
473
</tr>
474
 
475
<tr>
476
<td>
477
<pre>  gp_hash_assoc_cntnr
478
  (<b>const</b> <a href = "#Hash_Fn3735929222">Hash_Fn</a> &amp;r_hash_fn,
479
    <b>const</b> <a href = "#Eq_Fn3735929016">Eq_Fn</a> &amp;r_eq_fn,
480
    <b>const</b> <a href = "#Comb_Probe_Fn3735929818">Comb_Probe_Fn</a> &amp;r_comb_probe_fn)</pre>
481
 
482
 
483
</td>
484
 
485
<td>
486
<p>Constructor taking some policy objects. <font color = "#666666"><tt>r_hash_fn</tt></font> will be copied by the <a href = "#Hash_Fn3735929222"><tt>Hash_Fn</tt></a> object of the container object, <font color = "#666666"><tt>r_eq_fn</tt></font> will be copied by the <a href = "#Eq_Fn3735929016"><tt>Eq_Fn</tt></a> object of the container object, and <font color = "#666666"><tt>r_comb_probe_fn</tt></font> will be copied by the <a href = "#Comb_Probe_Fn3735929818"><tt>Comb_Probe_Fn</tt></a> object of the container object.</p>
487
 
488
 
489
</td>
490
 
491
</tr>
492
 
493
<tr>
494
<td>
495
<pre>  gp_hash_assoc_cntnr
496
  (<b>const</b> <a href = "#Hash_Fn3735929222">Hash_Fn</a> &amp;r_hash_fn,
497
    <b>const</b> <a href = "#Eq_Fn3735929016">Eq_Fn</a> &amp;r_eq_fn,
498
    <b>const</b> <a href = "#Comb_Probe_Fn3735929818">Comb_Probe_Fn</a> &amp;r_comb_probe_fn,
499
    <b>const</b> <a href = "#Probe_Fn3735929338">Probe_Fn</a> &amp;r_probe_fn)</pre>
500
 
501
 
502
</td>
503
 
504
<td>
505
<p>Constructor taking some policy objects. <font color = "#666666"><tt>r_hash_fn</tt></font> will be copied by the <a href = "#Hash_Fn3735929222"><tt>Hash_Fn</tt></a> object of the container object, <font color = "#666666"><tt>r_eq_fn</tt></font> will be copied by the <a href = "#Eq_Fn3735929016"><tt>Eq_Fn</tt></a> object of the container object, <font color = "#666666"><tt>r_comb_probe_fn</tt></font> will be copied by the <a href = "#Comb_Probe_Fn3735929818"><tt>Comb_Probe_Fn</tt></a> object of the container object, and <font color = "#666666"><tt>r_probe_fn</tt></font> will be copied by the <a href = "#Probe_Fn3735929338"><tt>Probe_Fn</tt></a> object of the container object.</p>
506
 
507
 
508
</td>
509
 
510
</tr>
511
 
512
<tr>
513
<td>
514
<pre>  gp_hash_assoc_cntnr
515
  (<b>const</b> <a href = "#Hash_Fn3735929222">Hash_Fn</a> &amp;r_hash_fn,
516
    <b>const</b> <a href = "#Eq_Fn3735929016">Eq_Fn</a> &amp;r_eq_fn,
517
    <b>const</b> <a href = "#Comb_Probe_Fn3735929818">Comb_Probe_Fn</a> &amp;r_comb_probe_fn,
518
    <b>const</b> <a href = "#Probe_Fn3735929338">Probe_Fn</a> &amp;r_probe_fn,
519
    <b>const</b> <a href = "#Resize_Policy3735929904">Resize_Policy</a> &amp;r_resize_policy)</pre>
520
 
521
 
522
</td>
523
 
524
<td>
525
<p>Constructor taking some policy objects. <font color = "#666666"><tt>r_hash_fn</tt></font> will be copied by the <a href = "#Hash_Fn3735929222"><tt>Hash_Fn</tt></a> object of the container object, <font color = "#666666"><tt>r_eq_fn</tt></font> will be copied by the <a href = "#Eq_Fn3735929016"><tt>Eq_Fn</tt></a> object of the container object, <font color = "#666666"><tt>r_comb_probe_fn</tt></font> will be copied by the <a href = "#Comb_Probe_Fn3735929818"><tt>Comb_Probe_Fn</tt></a> object of the container object, <font color = "#666666"><tt>r_probe_fn</tt></font> will be copied by the <a href = "#Probe_Fn3735929338"><tt>Probe_Fn</tt></a> object of the container object, and <font color = "#666666"><tt>r_resize_policy</tt></font> will be copied by the <a href = "#Resize_Policy3735929904"><tt>Resize_Policy</tt></a> object of the container object.</p>
526
 
527
 
528
</td>
529
 
530
</tr>
531
 
532
<tr>
533
<td>
534
<pre><b>template</b>&lt;
535
    <b>class</b> It&gt;
536
  gp_hash_assoc_cntnr
537
  (It first_it,
538
    It last_it)</pre>
539
 
540
 
541
</td>
542
 
543
<td>
544
<p>Constructor taking iterators to a range of value_types. The value_types between <font color = "#666666"><tt>first_it</tt></font> and <font color = "#666666"><tt>last_it</tt></font> will be inserted into the container object.</p>
545
 
546
 
547
</td>
548
 
549
</tr>
550
 
551
<tr>
552
<td>
553
<pre><b>template</b>&lt;
554
    <b>class</b> It&gt;
555
  gp_hash_assoc_cntnr
556
  (It first_it,
557
    It last_it,
558
    <b>const</b> <a href = "#Hash_Fn3735929222">Hash_Fn</a> &amp;r_hash_fn)</pre>
559
 
560
 
561
</td>
562
 
563
<td>
564
<p>Constructor taking iterators to a range of value_types and some policy objects. The value_types between <font color = "#666666"><tt>first_it</tt></font> and <font color = "#666666"><tt>last_it</tt></font> will be inserted into the container object. <font color = "#666666"><tt>r_hash_fn</tt></font> will be copied by the <a href = "#Hash_Fn3735929222"><tt>Hash_Fn</tt></a> object of the container object.</p>
565
 
566
 
567
</td>
568
 
569
</tr>
570
 
571
<tr>
572
<td>
573
<pre><b>template</b>&lt;
574
    <b>class</b> It&gt;
575
  gp_hash_assoc_cntnr
576
  (It first_it,
577
    It last_it,
578
    <b>const</b> <a href = "#Hash_Fn3735929222">Hash_Fn</a> &amp;r_hash_fn,
579
    <b>const</b> <a href = "#Eq_Fn3735929016">Eq_Fn</a> &amp;r_eq_fn)</pre>
580
 
581
 
582
</td>
583
 
584
<td>
585
<p>Constructor taking iterators to a range of value_types and some policy objects. The value_types between <font color = "#666666"><tt>first_it</tt></font> and <font color = "#666666"><tt>last_it</tt></font> will be inserted into the container object. <font color = "#666666"><tt>r_hash_fn</tt></font> will be copied by the <a href = "#Hash_Fn3735929222"><tt>Hash_Fn</tt></a> object of the container object, and <font color = "#666666"><tt>r_eq_fn</tt></font> will be copied by the <a href = "#Eq_Fn3735929016"><tt>Eq_Fn</tt></a> object of the container object.</p>
586
 
587
 
588
</td>
589
 
590
</tr>
591
 
592
<tr>
593
<td>
594
<pre><b>template</b>&lt;
595
    <b>class</b> It&gt;
596
  gp_hash_assoc_cntnr
597
  (It first_it,
598
    It last_it,
599
    <b>const</b> <a href = "#Hash_Fn3735929222">Hash_Fn</a> &amp;r_hash_fn,
600
    <b>const</b> <a href = "#Eq_Fn3735929016">Eq_Fn</a> &amp;r_eq_fn,
601
    <b>const</b> <a href = "#Comb_Probe_Fn3735929818">Comb_Probe_Fn</a> &amp;r_comb_probe_fn)</pre>
602
 
603
 
604
</td>
605
 
606
<td>
607
<p>Constructor taking iterators to a range of value_types and some policy objects. The value_types between <font color = "#666666"><tt>first_it</tt></font> and <font color = "#666666"><tt>last_it</tt></font> will be inserted into the container object. <font color = "#666666"><tt>r_hash_fn</tt></font> will be copied by the <a href = "#Hash_Fn3735929222"><tt>Hash_Fn</tt></a> object of the container object, <font color = "#666666"><tt>r_eq_fn</tt></font> will be copied by the <a href = "#Eq_Fn3735929016"><tt>Eq_Fn</tt></a> object of the container object, and <font color = "#666666"><tt>r_comb_probe_fn</tt></font> will be copied by the <a href = "#Comb_Probe_Fn3735929818"><tt>Comb_Probe_Fn</tt></a> object of the container object.</p>
608
 
609
 
610
</td>
611
 
612
</tr>
613
 
614
<tr>
615
<td>
616
<pre><b>template</b>&lt;
617
    <b>class</b> It&gt;
618
  gp_hash_assoc_cntnr
619
  (It first_it,
620
    It last_it,
621
    <b>const</b> <a href = "#Hash_Fn3735929222">Hash_Fn</a> &amp;r_hash_fn,
622
    <b>const</b> <a href = "#Eq_Fn3735929016">Eq_Fn</a> &amp;r_eq_fn,
623
    <b>const</b> <a href = "#Comb_Probe_Fn3735929818">Comb_Probe_Fn</a> &amp;r_comb_probe_fn,
624
    <b>const</b> <a href = "#Probe_Fn3735929338">Probe_Fn</a> &amp;r_probe_fn)</pre>
625
 
626
 
627
</td>
628
 
629
<td>
630
<p>Constructor taking iterators to a range of value_types and some policy objects. The value_types between <font color = "#666666"><tt>first_it</tt></font> and <font color = "#666666"><tt>last_it</tt></font> will be inserted into the container object. <font color = "#666666"><tt>r_hash_fn</tt></font> will be copied by the <a href = "#Hash_Fn3735929222"><tt>Hash_Fn</tt></a> object of the container object, <font color = "#666666"><tt>r_eq_fn</tt></font> will be copied by the <a href = "#Eq_Fn3735929016"><tt>Eq_Fn</tt></a> object of the container object, <font color = "#666666"><tt>r_comb_probe_fn</tt></font> will be copied by the <a href = "#Comb_Probe_Fn3735929818"><tt>Comb_Probe_Fn</tt></a> object of the container object, and <font color = "#666666"><tt>r_probe_fn</tt></font> will be copied by the <a href = "#Probe_Fn3735929338"><tt>Probe_Fn</tt></a> object of the container object.</p>
631
 
632
 
633
</td>
634
 
635
</tr>
636
 
637
<tr>
638
<td>
639
<pre><b>template</b>&lt;
640
    <b>class</b> It&gt;
641
  gp_hash_assoc_cntnr
642
  (It first_it,
643
    It last_it,
644
    <b>const</b> <a href = "#Hash_Fn3735929222">Hash_Fn</a> &amp;r_hash_fn,
645
    <b>const</b> <a href = "#Eq_Fn3735929016">Eq_Fn</a> &amp;r_eq_fn,
646
    <b>const</b> <a href = "#Comb_Probe_Fn3735929818">Comb_Probe_Fn</a> &amp;r_comb_probe_fn,
647
    <b>const</b> <a href = "#Probe_Fn3735929338">Probe_Fn</a> &amp;r_probe_fn,
648
    <b>const</b> <a href = "#Resize_Policy3735929904">Resize_Policy</a> &amp;r_resize_policy)</pre>
649
 
650
 
651
</td>
652
 
653
<td>
654
<p>Constructor taking iterators to a range of value_types and some policy objects. The value_types between <font color = "#666666"><tt>first_it</tt></font> and <font color = "#666666"><tt>last_it</tt></font> will be inserted into the container object. <font color = "#666666"><tt>r_hash_fn</tt></font> will be copied by the <a href = "#Hash_Fn3735929222"><tt>Hash_Fn</tt></a> object of the container object, <font color = "#666666"><tt>r_eq_fn</tt></font> will be copied by the <a href = "#Eq_Fn3735929016"><tt>Eq_Fn</tt></a> object of the container object, <font color = "#666666"><tt>r_comb_probe_fn</tt></font> will be copied by the <a href = "#Comb_Probe_Fn3735929818"><tt>Comb_Probe_Fn</tt></a> object of the container object, <font color = "#666666"><tt>r_probe_fn</tt></font> will be copied by the <a href = "#Probe_Fn3735929338"><tt>Probe_Fn</tt></a> object of the container object, and <font color = "#666666"><tt>r_resize_policy</tt></font> will be copied by the <a href = "#Resize_Policy3735929904"><tt>Resize_Policy</tt></a> object of the container object.</p>
655
 
656
 
657
</td>
658
 
659
</tr>
660
 
661
<tr>
662
<td>
663
<pre>  gp_hash_assoc_cntnr
664
  (<b>const</b> <font color = "olive">gp_hash_assoc_cntnr</font> &amp;r_other)</pre>
665
 
666
 
667
</td>
668
 
669
<td>
670
<p>Copy constructor.</p>
671
 
672
 
673
</td>
674
 
675
</tr>
676
 
677
<tr>
678
<td>
679
<pre><b>virtual</b>
680
  ~gp_hash_assoc_cntnr
681
  ()</pre>
682
 
683
 
684
</td>
685
 
686
<td>
687
<p>Destructor.</p>
688
 
689
 
690
</td>
691
 
692
</tr>
693
 
694
<tr>
695
<td>
696
<pre><font color = "olive">gp_hash_assoc_cntnr</font> &amp;
697
  <b>operator</b>=
698
  (<b>const</b> <font color = "olive">gp_hash_assoc_cntnr</font> &amp;r_other)</pre>
699
 
700
 
701
</td>
702
 
703
<td>
704
<p>Assignment operator.</p>
705
 
706
 
707
</td>
708
 
709
</tr>
710
 
711
<tr>
712
<td>
713
<pre><b>void</b>
714
  swap
715
  (<font color = "olive">gp_hash_assoc_cntnr</font> &amp;r_other)</pre>
716
 
717
 
718
</td>
719
 
720
<td>
721
<p>Swaps content.</p>
722
 
723
 
724
</td>
725
 
726
</tr>
727
 
728
</table>
729
 
730
<h2>
731
<a name = "link5">Policy access methods.
732
</a>
733
 
734
</h2>
735
 
736
<table WIDTH = "100%" BORDER = "1">
737
<TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
738
 
739
 
740
<tr>
741
<td>
742
<pre><a href = "#comb_probe_fn3735929914">comb_probe_fn</a> &amp;
743
  get_comb_probe_fn
744
  ()</pre>
745
 
746
 
747
</td>
748
 
749
<td>
750
<p>Access to the <a href = "#comb_probe_fn3735929914"><tt>comb_probe_fn</tt></a> object.</p>
751
 
752
 
753
</td>
754
 
755
</tr>
756
 
757
<tr>
758
<td>
759
<pre><b>const</b> <a href = "#comb_probe_fn3735929914">comb_probe_fn</a> &amp;
760
  get_comb_probe_fn
761
  () <b>const</b></pre>
762
 
763
 
764
</td>
765
 
766
<td>
767
<p>Const access to the <a href = "#comb_probe_fn3735929914"><tt>comb_probe_fn</tt></a> object.</p>
768
 
769
 
770
</td>
771
 
772
</tr>
773
 
774
<tr>
775
<td>
776
<pre><a href = "#probe_fn3735929402">probe_fn</a> &amp;
777
  get_probe_fn
778
  ()</pre>
779
 
780
 
781
</td>
782
 
783
<td>
784
<p>Access to the <a href = "#probe_fn3735929402"><tt>probe_fn</tt></a> object.</p>
785
 
786
 
787
</td>
788
 
789
</tr>
790
 
791
<tr>
792
<td>
793
<pre><b>const</b> <a href = "#probe_fn3735929402">probe_fn</a> &amp;
794
  get_probe_fn
795
  () <b>const</b></pre>
796
 
797
 
798
</td>
799
 
800
<td>
801
<p>Const access to the <a href = "#probe_fn3735929402"><tt>probe_fn</tt></a> object.</p>
802
 
803
 
804
</td>
805
 
806
</tr>
807
 
808
</table>
809
 
810
 
811
 
812
</body>
813
 
814
</html>
815
 
816
 

powered by: WebSVN 2.1.0

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