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/] [basic_assoc_cntnr_no_data.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>basic_assoc_cntnr Interface
8
</title>
9
 
10
</head>
11
 
12
<body>
13
<h1>
14
<tt>basic_assoc_cntnr
15
</tt>
16
 
17
 Interface
18
 
19
 
20
</h1>
21
 
22
<p>A basic associative container specialized for the &quot;set&quot; case.
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
Public Types and Constants:
40
 
41
 
42
<ol>
43
<li>
44
<a href = "#link2">General container definitions.
45
</a>
46
 
47
</li>
48
 
49
<li>
50
<a href = "#link3">Categories.
51
</a>
52
 
53
</li>
54
 
55
<li>
56
<a href = "#link4">Policy definitions.
57
</a>
58
 
59
</li>
60
 
61
<li>
62
<a href = "#link5">Key-type definitions.
63
</a>
64
 
65
</li>
66
 
67
<li>
68
<a href = "#link6">Value-type definitions.
69
</a>
70
 
71
</li>
72
 
73
<li>
74
<a href = "#link7">Iterator definitions.
75
</a>
76
 
77
</li>
78
 
79
</ol>
80
 
81
</li>
82
 
83
<li>
84
Public Methods:
85
 
86
 
87
<ol>
88
<li>
89
<a href = "#link8">Constructors, destructor, and related.
90
</a>
91
 
92
</li>
93
 
94
<li>
95
<a href = "#link9">Information methods.
96
</a>
97
 
98
</li>
99
 
100
<li>
101
<a href = "#link10">Insert methods.
102
</a>
103
 
104
</li>
105
 
106
<li>
107
<a href = "#link11">Find methods.
108
</a>
109
 
110
</li>
111
 
112
<li>
113
<a href = "#link12">Erase methods.
114
</a>
115
 
116
</li>
117
 
118
<li>
119
<a href = "#link13">Iteration methods.
120
</a>
121
 
122
</li>
123
 
124
</ol>
125
 
126
</li>
127
 
128
</ol>
129
 
130
 
131
<h2>
132
<a name = "link1">Template parameters.
133
</a>
134
 
135
</h2>
136
 
137
<table WIDTH = "100%" BORDER = "1">
138
<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>
139
 
140
 
141
<tr>
142
<td>
143
<pre><a name = "Key3735928856">Key</a></pre>
144
 
145
 
146
</td>
147
 
148
<td>
149
<p>Key type.</p>
150
 
151
 
152
</td>
153
 
154
<td>
155
-
156
 
157
 
158
</td>
159
 
160
</tr>
161
 
162
<tr>
163
<td>
164
<pre><a name = "DS_Tag3735929089">DS_Tag</a></pre>
165
 
166
 
167
</td>
168
 
169
<td>
170
<p>Data structure tag.</p>
171
 
172
 
173
</td>
174
 
175
<td>
176
-
177
 
178
 
179
</td>
180
 
181
</tr>
182
 
183
<tr>
184
<td>
185
<pre><a name = "Policy_Tl3735929470">Policy_Tl</a></pre>
186
 
187
 
188
</td>
189
 
190
<td>
191
<p>Policy typelist.</p>
192
 
193
 
194
</td>
195
 
196
<td>
197
-
198
 
199
 
200
</td>
201
 
202
</tr>
203
 
204
<tr>
205
<td>
206
<pre><a name = "Allocator3735929488">Allocator</a></pre>
207
 
208
 
209
</td>
210
 
211
<td>
212
<p>Allocator type.</p>
213
 
214
 
215
</td>
216
 
217
<td>
218
-
219
 
220
 
221
</td>
222
 
223
</tr>
224
 
225
</table>
226
 
227
<h2>
228
<a name = "link2">General container definitions.
229
</a>
230
 
231
</h2>
232
 
233
<table WIDTH = "100%" BORDER = "1">
234
<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>
235
 
236
 
237
<tr>
238
<td>
239
<pre><a name = "size_type3735929547">size_type</a></pre>
240
 
241
 
242
</td>
243
 
244
<td>
245
<pre><b>typename</b> <a href = "#Allocator3735929488">Allocator</a>::size_type</pre>
246
 
247
 
248
</td>
249
 
250
<td>
251
<p>Size type.</p>
252
 
253
 
254
</td>
255
 
256
</tr>
257
 
258
<tr>
259
<td>
260
<pre><a name = "difference_type3735930139">difference_type</a></pre>
261
 
262
 
263
</td>
264
 
265
<td>
266
<pre><b>typename</b> <a href = "#Allocator3735929488">Allocator</a>::difference_type</pre>
267
 
268
 
269
</td>
270
 
271
<td>
272
<p>Difference type.</p>
273
 
274
 
275
</td>
276
 
277
</tr>
278
 
279
</table>
280
 
281
<h2>
282
<a name = "link3">Categories.
283
</a>
284
 
285
</h2>
286
 
287
<table WIDTH = "100%" BORDER = "1">
288
<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>
289
 
290
 
291
<tr>
292
<td>
293
<pre><a name = "ds_category3735929731">ds_category</a></pre>
294
 
295
 
296
</td>
297
 
298
<td>
299
<pre><a href = "#DS_Tag3735929089">DS_Tag</a></pre>
300
 
301
 
302
</td>
303
 
304
<td>
305
<p>The underlying data-structure tag of the container. comment = </p>
306
 
307
 
308
</td>
309
 
310
</tr>
311
 
312
<tr>
313
<td>
314
<pre><a name = "ms_category3735929740">ms_category</a></pre>
315
 
316
 
317
</td>
318
 
319
<td>
320
<pre><a href = "basic_ms_tag.html"><tt>basic_ms_tag</tt></a></pre>
321
 
322
 
323
</td>
324
 
325
<td>
326
<p>The mapping-semantics category of the container.</p>
327
 
328
 
329
</td>
330
 
331
</tr>
332
 
333
</table>
334
 
335
<h2>
336
<a name = "link4">Policy definitions.
337
</a>
338
 
339
</h2>
340
 
341
<table WIDTH = "100%" BORDER = "1">
342
<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>
343
 
344
 
345
<tr>
346
<td>
347
<pre><a name = "allocator3735929520">allocator</a></pre>
348
 
349
 
350
</td>
351
 
352
<td>
353
<pre><a href = "#Allocator3735929488">Allocator</a></pre>
354
 
355
 
356
</td>
357
 
358
<td>
359
<p>Allocator type.</p>
360
 
361
 
362
</td>
363
 
364
</tr>
365
 
366
</table>
367
 
368
<h2>
369
<a name = "link5">Key-type definitions.
370
</a>
371
 
372
</h2>
373
 
374
<table WIDTH = "100%" BORDER = "1">
375
<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>
376
 
377
 
378
<tr>
379
<td>
380
<pre><a name = "key_type3735929433">key_type</a></pre>
381
 
382
 
383
</td>
384
 
385
<td>
386
<pre><b>typename</b> <a href = "#allocator3735929520">allocator</a>::<b>template</b> rebind&lt;
387
    <a href = "#Key3735928856">Key</a>&gt;::other::value_type</pre>
388
 
389
 
390
</td>
391
 
392
<td>
393
<p>Key type.</p>
394
 
395
 
396
</td>
397
 
398
</tr>
399
 
400
<tr>
401
<td>
402
<pre><a name = "key_reference3735929926">key_reference</a></pre>
403
 
404
 
405
</td>
406
 
407
<td>
408
<pre><b>typename</b> <a href = "#allocator3735929520">allocator</a>::<b>template</b> rebind&lt;
409
    <a href = "#Key3735928856">Key</a>&gt;::other::reference</pre>
410
 
411
 
412
</td>
413
 
414
<td>
415
<p>Key reference type.</p>
416
 
417
 
418
</td>
419
 
420
</tr>
421
 
422
<tr>
423
<td>
424
<pre><a name = "const_key_reference3735929552">const_key_reference</a></pre>
425
 
426
 
427
</td>
428
 
429
<td>
430
<pre><b>typename</b> <a href = "#allocator3735929520">allocator</a>::<b>template</b> rebind&lt;
431
    <a href = "#Key3735928856">Key</a>&gt;::other::const_reference</pre>
432
 
433
 
434
</td>
435
 
436
<td>
437
<p>Const key reference type.</p>
438
 
439
 
440
</td>
441
 
442
</tr>
443
 
444
<tr>
445
<td>
446
<pre><a name = "key_pointer3735929752">key_pointer</a></pre>
447
 
448
 
449
</td>
450
 
451
<td>
452
<pre><b>typename</b> <a href = "#allocator3735929520">allocator</a>::<b>template</b> rebind&lt;
453
    <a href = "#Key3735928856">Key</a>&gt;::other::pointer</pre>
454
 
455
 
456
</td>
457
 
458
<td>
459
<p>Key pointer type.</p>
460
 
461
 
462
</td>
463
 
464
</tr>
465
 
466
<tr>
467
<td>
468
<pre><a name = "const_key_pointer3735929445">const_key_pointer</a></pre>
469
 
470
 
471
</td>
472
 
473
<td>
474
<pre><b>typename</b> <a href = "#allocator3735929520">allocator</a>::<b>template</b> rebind&lt;
475
    <a href = "#Key3735928856">Key</a>&gt;::other::const_pointer</pre>
476
 
477
 
478
</td>
479
 
480
<td>
481
<p>Const key pointer type.</p>
482
 
483
 
484
</td>
485
 
486
</tr>
487
 
488
</table>
489
 
490
<h2>
491
<a name = "link6">Value-type definitions.
492
</a>
493
 
494
</h2>
495
 
496
<p><p>Types pertaining to the <b>domain</b> of the relationships of the table.</p> <p>This is explained in <a href = "concepts.html#concepts_types">Data Types, Value Types, Mapped Data Types, and Mapped Value Types</a> and <a href = "non_unique_mapping.html#types">Mapped Data Types and Mapped Value Types</a>.</p></p>
497
 
498
 
499
<table WIDTH = "100%" BORDER = "1">
500
<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>
501
 
502
 
503
<tr>
504
<td>
505
<pre><a name = "value_type3735929645">value_type</a></pre>
506
 
507
 
508
</td>
509
 
510
<td>
511
<pre><b>typename</b> <a href = "#allocator3735929520">allocator</a>::rebind&lt;
512
    <a href = "#key_type3735929433">key_type</a>&gt;::other::value_type</pre>
513
 
514
 
515
</td>
516
 
517
<td>
518
<p>Data type.</p>
519
 
520
 
521
</td>
522
 
523
</tr>
524
 
525
<tr>
526
<td>
527
<pre><a name = "reference3735929502">reference</a></pre>
528
 
529
 
530
</td>
531
 
532
<td>
533
<pre><b>typename</b> <a href = "#allocator3735929520">allocator</a>::rebind&lt;
534
    <a href = "#key_type3735929433">key_type</a>&gt;::other::const_reference</pre>
535
 
536
 
537
</td>
538
 
539
<td>
540
<p>Value reference type.</p>
541
 
542
 
543
</td>
544
 
545
</tr>
546
 
547
<tr>
548
<td>
549
<pre><a name = "const_reference3735930148">const_reference</a></pre>
550
 
551
 
552
</td>
553
 
554
<td>
555
<pre><b>typename</b> <a href = "#allocator3735929520">allocator</a>::rebind&lt;
556
    <a href = "#key_type3735929433">key_type</a>&gt;::other::const_reference</pre>
557
 
558
 
559
</td>
560
 
561
<td>
562
<p>Const value reference type.</p>
563
 
564
 
565
</td>
566
 
567
</tr>
568
 
569
<tr>
570
<td>
571
<pre><a name = "pointer3735929328">pointer</a></pre>
572
 
573
 
574
</td>
575
 
576
<td>
577
<pre><b>typename</b> <a href = "#allocator3735929520">allocator</a>::rebind&lt;
578
    <a href = "#key_type3735929433">key_type</a>&gt; &gt;::other::const_pointer</pre>
579
 
580
 
581
</td>
582
 
583
<td>
584
<p>Value pointer type.</p>
585
 
586
 
587
</td>
588
 
589
</tr>
590
 
591
<tr>
592
<td>
593
<pre><a name = "const_pointer3735929974">const_pointer</a></pre>
594
 
595
 
596
</td>
597
 
598
<td>
599
<pre><b>typename</b> <a href = "#allocator3735929520">allocator</a>::rebind&lt;
600
    <a href = "#key_type3735929433">key_type</a>&gt; &gt;::other::const_pointer</pre>
601
 
602
 
603
</td>
604
 
605
<td>
606
<p>Const Value pointer type.</p>
607
 
608
 
609
</td>
610
 
611
</tr>
612
 
613
</table>
614
 
615
<h2>
616
<a name = "link7">Iterator definitions.
617
</a>
618
 
619
</h2>
620
 
621
<table WIDTH = "100%" BORDER = "1">
622
<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>
623
 
624
 
625
<tr>
626
<td>
627
<pre><a name = "const_find_iterator3735929537">const_find_iterator</a></pre>
628
 
629
 
630
</td>
631
 
632
<td>
633
<pre>Underlying data-structure's const find-type iterator.</pre>
634
 
635
 
636
</td>
637
 
638
<td>
639
<p>Const find-type iterator.</p>
640
 
641
 
642
</td>
643
 
644
</tr>
645
 
646
<tr>
647
<td>
648
<pre><a name = "find_iterator3735929945">find_iterator</a></pre>
649
 
650
 
651
</td>
652
 
653
<td>
654
<pre>Underlying data-structure's find-type iterator.</pre>
655
 
656
 
657
</td>
658
 
659
<td>
660
<p>Find-type iterator.</p>
661
 
662
 
663
</td>
664
 
665
</tr>
666
 
667
<tr>
668
<td>
669
<pre><a name = "const_iterator3735930079">const_iterator</a></pre>
670
 
671
 
672
</td>
673
 
674
<td>
675
<pre>Underlying data-structure's const range-type iterator.</pre>
676
 
677
 
678
</td>
679
 
680
<td>
681
<p>Const range-type iterator.</p>
682
 
683
 
684
</td>
685
 
686
</tr>
687
 
688
<tr>
689
<td>
690
<pre><a name = "iterator3735929433">iterator</a></pre>
691
 
692
 
693
</td>
694
 
695
<td>
696
<pre>Underlying data-structure's range-type iterator.</pre>
697
 
698
 
699
</td>
700
 
701
<td>
702
<p>Range-type iterator.</p>
703
 
704
 
705
</td>
706
 
707
</tr>
708
 
709
</table>
710
 
711
<h2>
712
<a name = "link8">Constructors, destructor, and related.
713
</a>
714
 
715
</h2>
716
 
717
<table WIDTH = "100%" BORDER = "1">
718
<TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
719
 
720
 
721
<tr>
722
<td>
723
<pre><b>virtual</b>
724
  ~basic_assoc_cntnr
725
  ()</pre>
726
 
727
 
728
</td>
729
 
730
<td>
731
<p>Destructor.</p>
732
 
733
 
734
</td>
735
 
736
</tr>
737
 
738
</table>
739
 
740
<h2>
741
<a name = "link9">Information methods.
742
</a>
743
 
744
</h2>
745
 
746
<table WIDTH = "100%" BORDER = "1">
747
<TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
748
 
749
 
750
<tr>
751
<td>
752
<pre><b>inline</b> <a href = "#size_type3735929547">size_type</a>
753
  size
754
  () <b>const</b></pre>
755
 
756
 
757
</td>
758
 
759
<td>
760
<p>Returns the number of distinct <a href = "#value_type3735929645"><tt>value_type</tt></a> objects the container object is storing.</p>
761
 
762
 
763
</td>
764
 
765
</tr>
766
 
767
<tr>
768
<td>
769
<pre><b>inline</b> <a href = "#size_type3735929547">size_type</a>
770
  max_size
771
  () <b>const</b></pre>
772
 
773
 
774
</td>
775
 
776
<td>
777
<p>Returns an upper bound on the number of distinct <a href = "#value_type3735929645"><tt>value_type</tt></a> objects this container can store.</p>
778
 
779
 
780
</td>
781
 
782
</tr>
783
 
784
<tr>
785
<td>
786
<pre><b>inline</b> <b>bool</b>
787
  empty
788
  () <b>const</b></pre>
789
 
790
 
791
</td>
792
 
793
<td>
794
<p>Returns whether the container object is not storing any <a href = "#value_type3735929645"><tt>value_type</tt></a> objects.</p>
795
 
796
 
797
</td>
798
 
799
</tr>
800
 
801
<tr>
802
<td>
803
<pre><b>inline</b> static <a href = "#const_key_reference3735929552">const_key_reference</a>
804
  extract_key
805
  (<a href = "#const_reference3735930148">const_reference</a> r_val)</pre>
806
 
807
 
808
</td>
809
 
810
<td>
811
<p>Extracts a key from a <a href = "#value_type3735929645"><tt>value_type</tt></a>.</p>
812
 
813
 
814
</td>
815
 
816
</tr>
817
 
818
</table>
819
 
820
<h2>
821
<a name = "link10">Insert methods.
822
</a>
823
 
824
</h2>
825
 
826
<table WIDTH = "100%" BORDER = "1">
827
<TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
828
 
829
 
830
<tr>
831
<td>
832
<pre><b>inline</b> std::pair&lt;<a href = "#find_iterator3735929945">find_iterator</a>, <b>bool</b>&gt;
833
  insert
834
  (<a href = "#const_reference3735930148">const_reference</a> r_val)</pre>
835
 
836
 
837
</td>
838
 
839
<td>
840
<p>Inserts a <a href = "#value_type3735929645"><tt>value_type</tt></a> object. If no <a href = "#value_type3735929645"><tt>value_type</tt></a> with <font color = "#666666"><tt>r_val</tt></font>'s key was in the container object, inserts and returns (<a href = "#find_iterator3735929945"><tt>find_iterator</tt></a> object associated with <font color = "#666666"><tt>r_val</tt></font>, <tt><b>true</b></tt>); otherwise just returns (<a href = "#find_iterator3735929945"><tt>find_iterator</tt></a> object associated with <font color = "#666666"><tt>r_val</tt></font>'s key, <tt><b>false</b></tt>).</p>
841
 
842
 
843
</td>
844
 
845
</tr>
846
 
847
</table>
848
 
849
<h2>
850
<a name = "link11">Find methods.
851
</a>
852
 
853
</h2>
854
 
855
<table WIDTH = "100%" BORDER = "1">
856
<TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
857
 
858
 
859
<tr>
860
<td>
861
<pre><b>inline</b> <a href = "#find_iterator3735929945">find_iterator</a>
862
  find
863
  (<a href = "#const_key_reference3735929552">const_key_reference</a> r_key)</pre>
864
 
865
 
866
</td>
867
 
868
<td>
869
<p>Returns the <a href = "#find_iterator3735929945"><tt>find_iterator</tt></a> corresponding to the <a href = "#value_type3735929645"><tt>value_type</tt></a> with <font color = "#666666"><tt>r_key</tt></font> as its key, or the <a href = "#find_iterator3735929945"><tt>find_iterator</tt></a> corresponding to the just-after-last entry if no such <a href = "#value_type3735929645"><tt>value_type</tt></a>.</p>
870
 
871
 
872
</td>
873
 
874
</tr>
875
 
876
<tr>
877
<td>
878
<pre><b>inline</b> <a href = "#const_find_iterator3735929537">const_find_iterator</a>
879
  find
880
  (<a href = "#const_key_reference3735929552">const_key_reference</a> r_key) <b>const</b></pre>
881
 
882
 
883
</td>
884
 
885
<td>
886
<p>Returns the <a href = "#const_find_iterator3735929537"><tt>const_find_iterator</tt></a> corresponding to the <a href = "#value_type3735929645"><tt>value_type</tt></a> with <font color = "#666666"><tt>r_key</tt></font> as its key, or the <a href = "#const_find_iterator3735929537"><tt>const_find_iterator</tt></a> corresponding to the just-after-last entry if no such <a href = "#value_type3735929645"><tt>value_type</tt></a>.</p>
887
 
888
 
889
</td>
890
 
891
</tr>
892
 
893
</table>
894
 
895
<h2>
896
<a name = "link12">Erase methods.
897
</a>
898
 
899
</h2>
900
 
901
<table WIDTH = "100%" BORDER = "1">
902
<TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
903
 
904
 
905
<tr>
906
<td>
907
<pre><b>inline</b> <a href = "#size_type3735929547">size_type</a>
908
  erase
909
  (<a href = "#const_key_reference3735929552">const_key_reference</a> r_key)</pre>
910
 
911
 
912
</td>
913
 
914
<td>
915
<p>Erases the <a href = "#value_type3735929645"><tt>value_type</tt></a> associated with <font color = "#666666"><tt>r_key</tt></font>; returns the number of <a href = "#value_type3735929645"><tt>value_type</tt></a>s erased (0 or 1).</p>
916
 
917
 
918
</td>
919
 
920
</tr>
921
 
922
<tr>
923
<td>
924
<pre><b>template</b>&lt;
925
  <b>class</b> Pred&gt;
926
<b>inline</b> <a href = "#size_type3735929547">size_type</a>
927
  erase_if
928
  (Pred prd)</pre>
929
 
930
 
931
</td>
932
 
933
<td>
934
<p>Erases any <a href = "#value_type3735929645"><tt>value_type</tt></a> satisfying the predicate <font color = "#666666"><tt>prd</tt></font> (this is transactional, either all matching <a href = "#value_type3735929645"><tt>value_type</tt></a>s are erased, or, if an exception is thrown (for types whose erase can throw an exception) none); returns the number of <a href = "#value_type3735929645"><tt>value_type</tt></a>s erased.</p>
935
 
936
 
937
</td>
938
 
939
</tr>
940
 
941
<tr>
942
<td>
943
<pre><b>void</b>
944
  clear
945
  ()</pre>
946
 
947
 
948
</td>
949
 
950
<td>
951
<p>Clears the container object.</p>
952
 
953
 
954
</td>
955
 
956
</tr>
957
 
958
</table>
959
 
960
<h2>
961
<a name = "link13">Iteration methods.
962
</a>
963
 
964
</h2>
965
 
966
<table WIDTH = "100%" BORDER = "1">
967
<TR><TD Width = "45%" ALIGN = "left"><b>Method</b></TD><TD Width = "55%" ALIGN = "left"><b>Description</b></TD></TR>
968
 
969
 
970
<tr>
971
<td>
972
<pre><b>inline</b> <a href = "#iterator3735929433">iterator</a>
973
  begin
974
  ()</pre>
975
 
976
 
977
</td>
978
 
979
<td>
980
<p>Returns an <a href = "#iterator3735929433"><tt>iterator</tt></a> corresponding to the first <a href = "#value_type3735929645"><tt>value_type</tt></a> in the container.</p>
981
 
982
 
983
</td>
984
 
985
</tr>
986
 
987
<tr>
988
<td>
989
<pre><b>inline</b> <a href = "#const_iterator3735930079">const_iterator</a>
990
  begin
991
  () <b>const</b></pre>
992
 
993
 
994
</td>
995
 
996
<td>
997
<p>Returns a <a href = "#const_iterator3735930079"><tt>const_iterator</tt></a> corresponding to the first <a href = "#value_type3735929645"><tt>value_type</tt></a> in the container.</p>
998
 
999
 
1000
</td>
1001
 
1002
</tr>
1003
 
1004
<tr>
1005
<td>
1006
<pre><b>inline</b> <a href = "#iterator3735929433">iterator</a>
1007
  end
1008
  ()</pre>
1009
 
1010
 
1011
</td>
1012
 
1013
<td>
1014
<p>Returns an <a href = "#iterator3735929433"><tt>iterator</tt></a> corresponding to the just-after_last <a href = "#value_type3735929645"><tt>value_type</tt></a> in the container.</p>
1015
 
1016
 
1017
</td>
1018
 
1019
</tr>
1020
 
1021
<tr>
1022
<td>
1023
<pre><b>inline</b> <a href = "#const_iterator3735930079">const_iterator</a>
1024
  end
1025
  () <b>const</b></pre>
1026
 
1027
 
1028
</td>
1029
 
1030
<td>
1031
<p>Returns a <a href = "#const_iterator3735930079"><tt>const_iterator</tt></a> corresponding to the just-after_last <a href = "#value_type3735929645"><tt>value_type</tt></a> in the container.</p>
1032
 
1033
 
1034
</td>
1035
 
1036
</tr>
1037
 
1038
</table>
1039
 
1040
 
1041
 
1042
</body>
1043
 
1044
</html>
1045
 
1046
 

powered by: WebSVN 2.1.0

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