autoc 1.3 → 1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGES +4 -0
  3. data/doc/AutoC.html +55 -55
  4. data/doc/AutoC/Code.html +60 -57
  5. data/doc/AutoC/Collection.html +134 -124
  6. data/doc/AutoC/HashMap.html +147 -185
  7. data/doc/AutoC/HashSet.html +114 -325
  8. data/doc/AutoC/Iterators.html +126 -0
  9. data/doc/AutoC/Iterators/Bidirectional.html +204 -0
  10. data/doc/AutoC/Iterators/Unidirectional.html +200 -0
  11. data/doc/AutoC/List.html +81 -76
  12. data/doc/AutoC/Maps.html +290 -0
  13. data/doc/AutoC/Module.html +72 -69
  14. data/doc/AutoC/Module/File.html +55 -52
  15. data/doc/AutoC/Module/Header.html +55 -52
  16. data/doc/AutoC/Module/Source.html +63 -60
  17. data/doc/AutoC/Priority.html +57 -57
  18. data/doc/AutoC/Queue.html +75 -74
  19. data/doc/AutoC/Reference.html +92 -91
  20. data/doc/AutoC/Sets.html +520 -0
  21. data/doc/AutoC/String.html +70 -69
  22. data/doc/AutoC/TreeMap.html +1565 -0
  23. data/doc/AutoC/TreeSet.html +1447 -0
  24. data/doc/AutoC/Type.html +184 -110
  25. data/doc/AutoC/UserDefinedType.html +102 -102
  26. data/doc/AutoC/Vector.html +100 -91
  27. data/doc/_index.html +97 -33
  28. data/doc/class_list.html +24 -31
  29. data/doc/css/full_list.css +32 -31
  30. data/doc/css/style.css +220 -78
  31. data/doc/file.CHANGES.html +37 -30
  32. data/doc/file.README.html +29 -30
  33. data/doc/file_list.html +29 -31
  34. data/doc/frames.html +7 -16
  35. data/doc/index.html +29 -30
  36. data/doc/js/app.js +100 -76
  37. data/doc/js/full_list.js +170 -135
  38. data/doc/method_list.html +877 -431
  39. data/doc/top-level-namespace.html +35 -35
  40. data/lib/autoc.rb +4 -2
  41. data/lib/autoc/collection.rb +10 -4
  42. data/lib/autoc/collection/hash_map.rb +22 -41
  43. data/lib/autoc/collection/hash_set.rb +13 -120
  44. data/lib/autoc/collection/iterator.rb +39 -0
  45. data/lib/autoc/collection/list.rb +7 -5
  46. data/lib/autoc/collection/map.rb +41 -0
  47. data/lib/autoc/collection/queue.rb +8 -8
  48. data/lib/autoc/collection/set.rb +134 -0
  49. data/lib/autoc/collection/tree_map.rb +464 -0
  50. data/lib/autoc/collection/tree_set.rb +611 -0
  51. data/lib/autoc/collection/vector.rb +8 -4
  52. data/lib/autoc/string.rb +1 -1
  53. data/lib/autoc/type.rb +3 -0
  54. data/test/test.rb +2 -2
  55. data/test/test_auto.c +7141 -0
  56. data/test/test_auto.h +753 -0
  57. data/test/test_int_tree_set.rb +111 -0
  58. data/test/test_value_hash_map.rb +1 -1
  59. data/test/test_value_hash_set.rb +1 -1
  60. data/test/test_value_tree_map.rb +176 -0
  61. data/test/test_value_tree_set.rb +173 -0
  62. metadata +21 -5
@@ -1,12 +1,12 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
1
+ <!DOCTYPE html>
2
+ <html>
4
3
  <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
7
  Class: AutoC::HashMap
8
8
 
9
- &mdash; Documentation by YARD 0.8.7.6
9
+ &mdash; Documentation by YARD 0.9.5
10
10
 
11
11
  </title>
12
12
 
@@ -15,9 +15,8 @@
15
15
  <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
16
 
17
17
  <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
18
+ pathId = "AutoC::HashMap";
19
19
  relpath = '../';
20
- framesUrl = "../frames.html#!AutoC/HashMap.html";
21
20
  </script>
22
21
 
23
22
 
@@ -28,51 +27,50 @@
28
27
 
29
28
  </head>
30
29
  <body>
31
- <div id="header">
32
- <div id="menu">
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
33
38
 
34
39
  <a href="../_index.html">Index (H)</a> &raquo;
35
40
  <span class='title'><span class='object_link'><a href="../AutoC.html" title="AutoC (module)">AutoC</a></span></span>
36
41
  &raquo;
37
42
  <span class="title">HashMap</span>
38
43
 
39
-
40
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
44
  </div>
42
45
 
43
- <div id="search">
46
+ <div id="search">
44
47
 
45
48
  <a class="full_list_link" id="class_list_link"
46
49
  href="../class_list.html">
47
- Class List
48
- </a>
49
-
50
- <a class="full_list_link" id="method_list_link"
51
- href="../method_list.html">
52
- Method List
53
- </a>
54
-
55
- <a class="full_list_link" id="file_list_link"
56
- href="../file_list.html">
57
- File List
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
58
56
  </a>
59
57
 
60
58
  </div>
61
- <div class="clear"></div>
62
- </div>
59
+ <div class="clear"></div>
60
+ </div>
63
61
 
64
- <iframe id="search_frame"></iframe>
62
+ <iframe id="search_frame" src="../class_list.html"></iframe>
65
63
 
66
- <div id="content"><h1>Class: AutoC::HashMap
64
+ <div id="content"><h1>Class: AutoC::HashMap
67
65
 
68
66
 
69
67
 
70
68
  </h1>
71
-
72
- <dl class="box">
69
+ <div class="box_info">
73
70
 
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
71
+ <dl>
72
+ <dt>Inherits:</dt>
73
+ <dd>
76
74
  <span class="inheritName"><span class='object_link'><a href="Collection.html" title="AutoC::Collection (class)">Collection</a></span></span>
77
75
 
78
76
  <ul class="fullTree">
@@ -89,26 +87,38 @@
89
87
  </ul>
90
88
  <a href="#" class="inheritanceTree">show all</a>
91
89
 
92
- </dd>
93
-
90
+ </dd>
91
+ </dl>
94
92
 
93
+
95
94
 
96
-
97
95
 
98
-
99
96
 
100
97
 
98
+ <dl>
99
+ <dt>Includes:</dt>
100
+ <dd><span class='object_link'><a href="Maps.html" title="AutoC::Maps (module)">Maps</a></span></dd>
101
+ </dl>
101
102
 
102
- <dt class="r2 last">Defined in:</dt>
103
- <dd class="r2 last">lib/autoc/collection/hash_map.rb</dd>
104
103
 
105
- </dl>
106
- <div class="clear"></div>
104
+
105
+
106
+
107
+
108
+ <dl>
109
+ <dt>Defined in:</dt>
110
+ <dd>lib/autoc/collection/hash_map.rb</dd>
111
+ </dl>
112
+
113
+ </div>
107
114
 
108
115
  <h2>Overview</h2><div class="docstring">
109
116
  <div class="discussion">
110
117
  <div class="paragraph">
111
- <p>HashSet is a hash-based unordered random access container holding unique keys with each key having an element bound to it.</p>
118
+ <p>HashMap&lt; <strong><em>K</em></strong> &#8658; <strong><em>E</em></strong> &gt; is a hash-based unordered random access container holding unique keys with each key having an element bound to it.</p>
119
+ </div>
120
+ <div class="paragraph">
121
+ <p>HashMap is backed by <span class='object_link'><a href="HashSet.html" title="AutoC::HashSet (class)">HashSet</a></span> container.</p>
112
122
  </div>
113
123
  <div class="paragraph">
114
124
  <p>The collection&#8217;s C++ counterpart is std::unordered_map&lt;&gt; template class.</p>
@@ -246,19 +256,16 @@ Destroy an element bound to that key.
246
256
 
247
257
 
248
258
  </div>
249
- <h2>Constant Summary</h2>
250
-
251
-
252
259
 
253
260
 
254
261
 
255
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
262
+ <h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
256
263
  <ul class="summary">
257
264
 
258
265
  <li class="public ">
259
266
  <span class="summary_signature">
260
267
 
261
- <a href="#key-instance_method" title="#key (instance method)">- (Object) <strong>key</strong> </a>
268
+ <a href="#key-instance_method" title="#key (instance method)">#<strong>key</strong> &#x21d2; Object </a>
262
269
 
263
270
 
264
271
 
@@ -302,7 +309,7 @@ Destroy an element bound to that key.
302
309
 
303
310
  <h2>
304
311
  Instance Method Summary
305
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
312
+ <small><a href="#" class="summary_toggle">collapse</a></small>
306
313
  </h2>
307
314
 
308
315
  <ul class="summary">
@@ -310,7 +317,7 @@ Destroy an element bound to that key.
310
317
  <li class="public ">
311
318
  <span class="summary_signature">
312
319
 
313
- <a href="#%3D%3D-instance_method" title="#== (instance method)">- (Object) <strong>==</strong>(other) </a>
320
+ <a href="#%3D%3D-instance_method" title="#== (instance method)">#<strong>==</strong>(other) &#x21d2; Object </a>
314
321
 
315
322
 
316
323
 
@@ -334,7 +341,7 @@ Destroy an element bound to that key.
334
341
  <li class="public ">
335
342
  <span class="summary_signature">
336
343
 
337
- <a href="#comparable%3F-instance_method" title="#comparable? (instance method)">- (Boolean) <strong>comparable?</strong> </a>
344
+ <a href="#comparable%3F-instance_method" title="#comparable? (instance method)">#<strong>comparable?</strong> &#x21d2; Boolean </a>
338
345
 
339
346
 
340
347
 
@@ -356,7 +363,7 @@ Destroy an element bound to that key.
356
363
  <li class="public ">
357
364
  <span class="summary_signature">
358
365
 
359
- <a href="#copyable%3F-instance_method" title="#copyable? (instance method)">- (Boolean) <strong>copyable?</strong> </a>
366
+ <a href="#copyable%3F-instance_method" title="#copyable? (instance method)">#<strong>copyable?</strong> &#x21d2; Boolean </a>
360
367
 
361
368
 
362
369
 
@@ -378,7 +385,7 @@ Destroy an element bound to that key.
378
385
  <li class="public ">
379
386
  <span class="summary_signature">
380
387
 
381
- <a href="#entities-instance_method" title="#entities (instance method)">- (Object) <strong>entities</strong> </a>
388
+ <a href="#entities-instance_method" title="#entities (instance method)">#<strong>entities</strong> &#x21d2; Object </a>
382
389
 
383
390
 
384
391
 
@@ -400,7 +407,7 @@ Destroy an element bound to that key.
400
407
  <li class="public ">
401
408
  <span class="summary_signature">
402
409
 
403
- <a href="#hash-instance_method" title="#hash (instance method)">- (Object) <strong>hash</strong> </a>
410
+ <a href="#hash-instance_method" title="#hash (instance method)">#<strong>hash</strong> &#x21d2; Object </a>
404
411
 
405
412
 
406
413
 
@@ -422,7 +429,7 @@ Destroy an element bound to that key.
422
429
  <li class="public ">
423
430
  <span class="summary_signature">
424
431
 
425
- <a href="#hashable%3F-instance_method" title="#hashable? (instance method)">- (Boolean) <strong>hashable?</strong> </a>
432
+ <a href="#hashable%3F-instance_method" title="#hashable? (instance method)">#<strong>hashable?</strong> &#x21d2; Boolean </a>
426
433
 
427
434
 
428
435
 
@@ -444,7 +451,7 @@ Destroy an element bound to that key.
444
451
  <li class="public ">
445
452
  <span class="summary_signature">
446
453
 
447
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (HashMap) <strong>initialize</strong>(type, key_type, value_type, visibility = :public) </a>
454
+ <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(type, key_type, value_type, visibility = :public) &#x21d2; HashMap </a>
448
455
 
449
456
 
450
457
 
@@ -470,7 +477,7 @@ Destroy an element bound to that key.
470
477
  <li class="public ">
471
478
  <span class="summary_signature">
472
479
 
473
- <a href="#write_impls-instance_method" title="#write_impls (instance method)">- (Object) <strong>write_impls</strong>(stream, define) </a>
480
+ <a href="#write_impls-instance_method" title="#write_impls (instance method)">#<strong>write_impls</strong>(stream, define) &#x21d2; Object </a>
474
481
 
475
482
 
476
483
 
@@ -492,7 +499,7 @@ Destroy an element bound to that key.
492
499
  <li class="public ">
493
500
  <span class="summary_signature">
494
501
 
495
- <a href="#write_intf_decls-instance_method" title="#write_intf_decls (instance method)">- (Object) <strong>write_intf_decls</strong>(stream, declare, define) </a>
502
+ <a href="#write_intf_decls-instance_method" title="#write_intf_decls (instance method)">#<strong>write_intf_decls</strong>(stream, declare, define) &#x21d2; Object </a>
496
503
 
497
504
 
498
505
 
@@ -514,7 +521,7 @@ Destroy an element bound to that key.
514
521
  <li class="public ">
515
522
  <span class="summary_signature">
516
523
 
517
- <a href="#write_intf_types-instance_method" title="#write_intf_types (instance method)">- (Object) <strong>write_intf_types</strong>(stream) </a>
524
+ <a href="#write_intf_types-instance_method" title="#write_intf_types (instance method)">#<strong>write_intf_types</strong>(stream) &#x21d2; Object </a>
518
525
 
519
526
 
520
527
 
@@ -545,6 +552,12 @@ Destroy an element bound to that key.
545
552
 
546
553
 
547
554
 
555
+
556
+
557
+
558
+
559
+
560
+
548
561
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Collection.html" title="AutoC::Collection (class)">Collection</a></span></h3>
549
562
  <p class="inherited"><span class='object_link'><a href="Collection.html#constructible%3F-instance_method" title="AutoC::Collection#constructible? (method)">#constructible?</a></span>, <span class='object_link'><a href="Collection.html#destructible%3F-instance_method" title="AutoC::Collection#destructible? (method)">#destructible?</a></span>, <span class='object_link'><a href="Collection.html#initializable%3F-instance_method" title="AutoC::Collection#initializable? (method)">#initializable?</a></span></p>
550
563
 
@@ -558,7 +571,7 @@ Destroy an element bound to that key.
558
571
 
559
572
 
560
573
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Type.html" title="AutoC::Type (class)">Type</a></span></h3>
561
- <p class="inherited"><span class='object_link'><a href="Type.html#abort-instance_method" title="AutoC::Type#abort (method)">#abort</a></span>, <span class='object_link'><a href="Type.html#assert-instance_method" title="AutoC::Type#assert (method)">#assert</a></span>, <span class='object_link'><a href="Type.html#calloc-instance_method" title="AutoC::Type#calloc (method)">#calloc</a></span>, <span class='object_link'><a href="Type.html#coerce-class_method" title="AutoC::Type.coerce (method)">coerce</a></span>, <span class='object_link'><a href="Type.html#constructible%3F-instance_method" title="AutoC::Type#constructible? (method)">#constructible?</a></span>, <span class='object_link'><a href="Type.html#destructible%3F-instance_method" title="AutoC::Type#destructible? (method)">#destructible?</a></span>, <span class='object_link'><a href="Type.html#extern-instance_method" title="AutoC::Type#extern (method)">#extern</a></span>, <span class='object_link'><a href="Type.html#free-instance_method" title="AutoC::Type#free (method)">#free</a></span>, <span class='object_link'><a href="Type.html#initializable%3F-instance_method" title="AutoC::Type#initializable? (method)">#initializable?</a></span>, <span class='object_link'><a href="Type.html#inline-instance_method" title="AutoC::Type#inline (method)">#inline</a></span>, <span class='object_link'><a href="Type.html#malloc-instance_method" title="AutoC::Type#malloc (method)">#malloc</a></span>, <span class='object_link'><a href="Type.html#method_missing-instance_method" title="AutoC::Type#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="Type.html#orderable%3F-instance_method" title="AutoC::Type#orderable? (method)">#orderable?</a></span>, <span class='object_link'><a href="Type.html#prefix-instance_method" title="AutoC::Type#prefix (method)">#prefix</a></span>, <span class='object_link'><a href="Type.html#private%3F-instance_method" title="AutoC::Type#private? (method)">#private?</a></span>, <span class='object_link'><a href="Type.html#public%3F-instance_method" title="AutoC::Type#public? (method)">#public?</a></span>, <span class='object_link'><a href="Type.html#static-instance_method" title="AutoC::Type#static (method)">#static</a></span>, <span class='object_link'><a href="Type.html#static%3F-instance_method" title="AutoC::Type#static? (method)">#static?</a></span>, <span class='object_link'><a href="Type.html#write_decls-instance_method" title="AutoC::Type#write_decls (method)">#write_decls</a></span>, <span class='object_link'><a href="Type.html#write_defs-instance_method" title="AutoC::Type#write_defs (method)">#write_defs</a></span>, <span class='object_link'><a href="Type.html#write_intf-instance_method" title="AutoC::Type#write_intf (method)">#write_intf</a></span></p>
574
+ <p class="inherited"><span class='object_link'><a href="Type.html#abort-instance_method" title="AutoC::Type#abort (method)">#abort</a></span>, <span class='object_link'><a href="Type.html#assert-instance_method" title="AutoC::Type#assert (method)">#assert</a></span>, <span class='object_link'><a href="Type.html#calloc-instance_method" title="AutoC::Type#calloc (method)">#calloc</a></span>, <span class='object_link'><a href="Type.html#coerce-class_method" title="AutoC::Type.coerce (method)">coerce</a></span>, <span class='object_link'><a href="Type.html#constructible%3F-instance_method" title="AutoC::Type#constructible? (method)">#constructible?</a></span>, <span class='object_link'><a href="Type.html#destructible%3F-instance_method" title="AutoC::Type#destructible? (method)">#destructible?</a></span>, <span class='object_link'><a href="Type.html#extern-instance_method" title="AutoC::Type#extern (method)">#extern</a></span>, <span class='object_link'><a href="Type.html#free-instance_method" title="AutoC::Type#free (method)">#free</a></span>, <span class='object_link'><a href="Type.html#initializable%3F-instance_method" title="AutoC::Type#initializable? (method)">#initializable?</a></span>, <span class='object_link'><a href="Type.html#inline-instance_method" title="AutoC::Type#inline (method)">#inline</a></span>, <span class='object_link'><a href="Type.html#malloc-instance_method" title="AutoC::Type#malloc (method)">#malloc</a></span>, <span class='object_link'><a href="Type.html#method_missing-instance_method" title="AutoC::Type#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="Type.html#orderable%3F-instance_method" title="AutoC::Type#orderable? (method)">#orderable?</a></span>, <span class='object_link'><a href="Type.html#prefix-instance_method" title="AutoC::Type#prefix (method)">#prefix</a></span>, <span class='object_link'><a href="Type.html#private%3F-instance_method" title="AutoC::Type#private? (method)">#private?</a></span>, <span class='object_link'><a href="Type.html#public%3F-instance_method" title="AutoC::Type#public? (method)">#public?</a></span>, <span class='object_link'><a href="Type.html#sortable%3F-instance_method" title="AutoC::Type#sortable? (method)">#sortable?</a></span>, <span class='object_link'><a href="Type.html#static-instance_method" title="AutoC::Type#static (method)">#static</a></span>, <span class='object_link'><a href="Type.html#static%3F-instance_method" title="AutoC::Type#static? (method)">#static?</a></span>, <span class='object_link'><a href="Type.html#write_decls-instance_method" title="AutoC::Type#write_decls (method)">#write_decls</a></span>, <span class='object_link'><a href="Type.html#write_defs-instance_method" title="AutoC::Type#write_defs (method)">#write_defs</a></span>, <span class='object_link'><a href="Type.html#write_intf-instance_method" title="AutoC::Type#write_intf (method)">#write_intf</a></span></p>
562
575
 
563
576
 
564
577
 
@@ -576,7 +589,7 @@ Destroy an element bound to that key.
576
589
  <div class="method_details first">
577
590
  <h3 class="signature first" id="initialize-instance_method">
578
591
 
579
- - (<tt><span class='object_link'><a href="" title="AutoC::HashMap (class)">HashMap</a></span></tt>) <strong>initialize</strong>(type, key_type, value_type, visibility = :public)
592
+ #<strong>initialize</strong>(type, key_type, value_type, visibility = :public) &#x21d2; <tt><span class='object_link'><a href="" title="AutoC::HashMap (class)">HashMap</a></span></tt>
580
593
 
581
594
 
582
595
 
@@ -599,17 +612,17 @@ Destroy an element bound to that key.
599
612
  <pre class="lines">
600
613
 
601
614
 
602
- 144
603
- 145
604
- 146
605
- 147
606
- 148
607
- 149
608
- 150
609
- 151</pre>
615
+ 151
616
+ 152
617
+ 153
618
+ 154
619
+ 155
620
+ 156
621
+ 157
622
+ 158</pre>
610
623
  </td>
611
624
  <td>
612
- <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 144</span>
625
+ <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 151</span>
613
626
 
614
627
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_key_type'>key_type</span><span class='comma'>,</span> <span class='id identifier rubyid_value_type'>value_type</span><span class='comma'>,</span> <span class='id identifier rubyid_visibility'>visibility</span> <span class='op'>=</span> <span class='symbol'>:public</span><span class='rparen'>)</span>
615
628
  <span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_type'>type</span><span class='comma'>,</span> <span class='id identifier rubyid_value_type'>value_type</span><span class='comma'>,</span> <span class='id identifier rubyid_visibility'>visibility</span><span class='rparen'>)</span>
@@ -644,7 +657,7 @@ Destroy an element bound to that key.
644
657
  <div class="method_details first">
645
658
  <h3 class="signature first" id="key-instance_method">
646
659
 
647
- - (<tt>Object</tt>) <strong>key</strong> <span class="extras">(readonly)</span>
660
+ #<strong>key</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
648
661
 
649
662
 
650
663
 
@@ -667,12 +680,12 @@ Destroy an element bound to that key.
667
680
  <pre class="lines">
668
681
 
669
682
 
670
- 132
671
- 133
672
- 134</pre>
683
+ 139
684
+ 140
685
+ 141</pre>
673
686
  </td>
674
687
  <td>
675
- <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 132</span>
688
+ <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 139</span>
676
689
 
677
690
  <span class='kw'>def</span> <span class='id identifier rubyid_key'>key</span>
678
691
  <span class='ivar'>@key</span>
@@ -692,7 +705,7 @@ Destroy an element bound to that key.
692
705
  <div class="method_details first">
693
706
  <h3 class="signature first" id="==-instance_method">
694
707
 
695
- - (<tt>Object</tt>) <strong>==</strong>(other)
708
+ #<strong>==</strong>(other) &#x21d2; <tt>Object</tt>
696
709
 
697
710
 
698
711
 
@@ -708,10 +721,10 @@ Destroy an element bound to that key.
708
721
  <pre class="lines">
709
722
 
710
723
 
711
- 138</pre>
724
+ 145</pre>
712
725
  </td>
713
726
  <td>
714
- <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 138</span>
727
+ <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 145</span>
715
728
 
716
729
  <span class='kw'>def</span> <span class='op'>==</span><span class='lparen'>(</span><span class='id identifier rubyid_other'>other</span><span class='rparen'>)</span> <span class='kw'>super</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_key'>key</span> <span class='op'>==</span> <span class='id identifier rubyid_other'>other</span><span class='period'>.</span><span class='id identifier rubyid_key'>key</span> <span class='kw'>end</span></pre>
717
730
  </td>
@@ -722,7 +735,7 @@ Destroy an element bound to that key.
722
735
  <div class="method_details ">
723
736
  <h3 class="signature " id="comparable?-instance_method">
724
737
 
725
- - (<tt>Boolean</tt>) <strong>comparable?</strong>
738
+ #<strong>comparable?</strong> &#x21d2; <tt>Boolean</tt>
726
739
 
727
740
 
728
741
 
@@ -756,10 +769,10 @@ Destroy an element bound to that key.
756
769
  <pre class="lines">
757
770
 
758
771
 
759
- 155</pre>
772
+ 162</pre>
760
773
  </td>
761
774
  <td>
762
- <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 155</span>
775
+ <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 162</span>
763
776
 
764
777
  <span class='kw'>def</span> <span class='id identifier rubyid_comparable?'>comparable?</span><span class='semicolon'>;</span> <span class='kw'>super</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_comparable?'>comparable?</span> <span class='kw'>end</span></pre>
765
778
  </td>
@@ -770,7 +783,7 @@ Destroy an element bound to that key.
770
783
  <div class="method_details ">
771
784
  <h3 class="signature " id="copyable?-instance_method">
772
785
 
773
- - (<tt>Boolean</tt>) <strong>copyable?</strong>
786
+ #<strong>copyable?</strong> &#x21d2; <tt>Boolean</tt>
774
787
 
775
788
 
776
789
 
@@ -804,10 +817,10 @@ Destroy an element bound to that key.
804
817
  <pre class="lines">
805
818
 
806
819
 
807
- 153</pre>
820
+ 160</pre>
808
821
  </td>
809
822
  <td>
810
- <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 153</span>
823
+ <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 160</span>
811
824
 
812
825
  <span class='kw'>def</span> <span class='id identifier rubyid_copyable?'>copyable?</span><span class='semicolon'>;</span> <span class='kw'>super</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_copyable?'>copyable?</span> <span class='kw'>end</span></pre>
813
826
  </td>
@@ -818,7 +831,7 @@ Destroy an element bound to that key.
818
831
  <div class="method_details ">
819
832
  <h3 class="signature " id="entities-instance_method">
820
833
 
821
- - (<tt>Object</tt>) <strong>entities</strong>
834
+ #<strong>entities</strong> &#x21d2; <tt>Object</tt>
822
835
 
823
836
 
824
837
 
@@ -830,10 +843,10 @@ Destroy an element bound to that key.
830
843
  <pre class="lines">
831
844
 
832
845
 
833
- 142</pre>
846
+ 149</pre>
834
847
  </td>
835
848
  <td>
836
- <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 142</span>
849
+ <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 149</span>
837
850
 
838
851
  <span class='kw'>def</span> <span class='id identifier rubyid_entities'>entities</span><span class='semicolon'>;</span> <span class='kw'>super</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_key'>key</span> <span class='kw'>end</span></pre>
839
852
  </td>
@@ -844,7 +857,7 @@ Destroy an element bound to that key.
844
857
  <div class="method_details ">
845
858
  <h3 class="signature " id="hash-instance_method">
846
859
 
847
- - (<tt>Object</tt>) <strong>hash</strong>
860
+ #<strong>hash</strong> &#x21d2; <tt>Object</tt>
848
861
 
849
862
 
850
863
 
@@ -856,10 +869,10 @@ Destroy an element bound to that key.
856
869
  <pre class="lines">
857
870
 
858
871
 
859
- 136</pre>
872
+ 143</pre>
860
873
  </td>
861
874
  <td>
862
- <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 136</span>
875
+ <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 143</span>
863
876
 
864
877
  <span class='kw'>def</span> <span class='id identifier rubyid_hash'>hash</span><span class='semicolon'>;</span> <span class='kw'>super</span> <span class='op'>^</span> <span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_hash'>hash</span> <span class='kw'>end</span></pre>
865
878
  </td>
@@ -870,7 +883,7 @@ Destroy an element bound to that key.
870
883
  <div class="method_details ">
871
884
  <h3 class="signature " id="hashable?-instance_method">
872
885
 
873
- - (<tt>Boolean</tt>) <strong>hashable?</strong>
886
+ #<strong>hashable?</strong> &#x21d2; <tt>Boolean</tt>
874
887
 
875
888
 
876
889
 
@@ -904,10 +917,10 @@ Destroy an element bound to that key.
904
917
  <pre class="lines">
905
918
 
906
919
 
907
- 157</pre>
920
+ 164</pre>
908
921
  </td>
909
922
  <td>
910
- <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 157</span>
923
+ <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 164</span>
911
924
 
912
925
  <span class='kw'>def</span> <span class='id identifier rubyid_hashable?'>hashable?</span><span class='semicolon'>;</span> <span class='kw'>super</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_hashable?'>hashable?</span> <span class='kw'>end</span></pre>
913
926
  </td>
@@ -918,7 +931,7 @@ Destroy an element bound to that key.
918
931
  <div class="method_details ">
919
932
  <h3 class="signature " id="write_impls-instance_method">
920
933
 
921
- - (<tt>Object</tt>) <strong>write_impls</strong>(stream, define)
934
+ #<strong>write_impls</strong>(stream, define) &#x21d2; <tt>Object</tt>
922
935
 
923
936
 
924
937
 
@@ -930,6 +943,21 @@ Destroy an element bound to that key.
930
943
  <pre class="lines">
931
944
 
932
945
 
946
+ 196
947
+ 197
948
+ 198
949
+ 199
950
+ 200
951
+ 201
952
+ 202
953
+ 203
954
+ 204
955
+ 205
956
+ 206
957
+ 207
958
+ 208
959
+ 209
960
+ 210
933
961
  211
934
962
  212
935
963
  213
@@ -1099,48 +1127,29 @@ Destroy an element bound to that key.
1099
1127
  377
1100
1128
  378
1101
1129
  379
1102
- 380
1103
- 381
1104
- 382
1105
- 383
1106
- 384
1107
- 385
1108
- 386
1109
- 387
1110
- 388
1111
- 389
1112
- 390
1113
- 391
1114
- 392
1115
- 393
1116
- 394
1117
- 395
1118
- 396
1119
- 397
1120
- 398
1121
- 399</pre>
1130
+ 380</pre>
1122
1131
  </td>
1123
1132
  <td>
1124
- <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 211</span>
1133
+ <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 196</span>
1125
1134
 
1126
1135
  <span class='kw'>def</span> <span class='id identifier rubyid_write_impls'>write_impls</span><span class='lparen'>(</span><span class='id identifier rubyid_stream'>stream</span><span class='comma'>,</span> <span class='id identifier rubyid_define'>define</span><span class='rparen'>)</span>
1127
1136
  <span class='kw'>super</span>
1128
1137
  <span class='id identifier rubyid_stream'>stream</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>%$</span><span class='tstring_content'>
1129
- #define AUTOC_VALID_VALUE 1
1130
- #define AUTOC_VALID_KEY 2
1131
- #define AUTOC_OWNED_VALUE 4
1132
- #define AUTOC_OWNED_KEY 8
1138
+ #define </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_validValue'>validValue</span><span class='embexpr_end'>}</span><span class='tstring_content'> 1
1139
+ #define </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_validKey'>validKey</span><span class='embexpr_end'>}</span><span class='tstring_content'> 2
1140
+ #define </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ownedValue'>ownedValue</span><span class='embexpr_end'>}</span><span class='tstring_content'> 4
1141
+ #define </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ownedKey'>ownedKey</span><span class='embexpr_end'>}</span><span class='tstring_content'> 8
1133
1142
  static </span><span class='embexpr_beg'>#{</span><span class='ivar'>@entry</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_entryKeyOnlyRef'>entryKeyOnlyRef</span><span class='embexpr_end'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_type_ref'>type_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'> key) {
1134
1143
  </span><span class='embexpr_beg'>#{</span><span class='ivar'>@entry</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'> entry;
1135
1144
  entry.key = *key;
1136
- entry.flags = AUTOC_VALID_KEY;
1145
+ entry.flags = </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_validKey'>validKey</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
1137
1146
  return entry;
1138
1147
  }
1139
1148
  static </span><span class='embexpr_beg'>#{</span><span class='ivar'>@entry</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_entryKeyValueRef'>entryKeyValueRef</span><span class='embexpr_end'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_type_ref'>type_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'> key, </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_type_ref'>type_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'> value) {
1140
1149
  </span><span class='embexpr_beg'>#{</span><span class='ivar'>@entry</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'> entry;
1141
1150
  entry.key = *key;
1142
1151
  entry.value = *value;
1143
- entry.flags = (AUTOC_VALID_KEY | AUTOC_VALID_VALUE);
1152
+ entry.flags = (</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_validKey'>validKey</span><span class='embexpr_end'>}</span><span class='tstring_content'> | </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_validValue'>validValue</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1144
1153
  return entry;
1145
1154
  }
1146
1155
  #define </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_entryIdentify'>entryIdentify</span><span class='embexpr_end'>}</span><span class='tstring_content'>(obj) </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_entryIdentifyRef'>entryIdentifyRef</span><span class='embexpr_end'>}</span><span class='tstring_content'>(&amp;obj)
@@ -1153,19 +1162,19 @@ Destroy an element bound to that key.
1153
1162
  }
1154
1163
  #define </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_entryCopy'>entryCopy</span><span class='embexpr_end'>}</span><span class='tstring_content'>(dst, src) </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_entryCopyRef'>entryCopyRef</span><span class='embexpr_end'>}</span><span class='tstring_content'>(&amp;dst, &amp;src)
1155
1164
  static void </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_entryCopyRef'>entryCopyRef</span><span class='embexpr_end'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='ivar'>@entry</span><span class='period'>.</span><span class='id identifier rubyid_type_ref'>type_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'> dst, </span><span class='embexpr_beg'>#{</span><span class='ivar'>@entry</span><span class='period'>.</span><span class='id identifier rubyid_type_ref'>type_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'> src) {
1156
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_assert'>assert</span><span class='embexpr_end'>}</span><span class='tstring_content'>(src-&gt;flags &amp; AUTOC_VALID_KEY);
1157
- dst-&gt;flags = (AUTOC_VALID_KEY | AUTOC_OWNED_KEY);
1165
+ </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_assert'>assert</span><span class='embexpr_end'>}</span><span class='tstring_content'>(src-&gt;flags &amp; </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_validKey'>validKey</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1166
+ dst-&gt;flags = (</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_validKey'>validKey</span><span class='embexpr_end'>}</span><span class='tstring_content'> | </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ownedKey'>ownedKey</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1158
1167
  </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_copy'>copy</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>dst-&gt;key</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>src-&gt;key</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
1159
- if(src-&gt;flags &amp; AUTOC_VALID_VALUE) {
1160
- dst-&gt;flags |= (AUTOC_VALID_VALUE | AUTOC_OWNED_VALUE);
1168
+ if(src-&gt;flags &amp; </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_validValue'>validValue</span><span class='embexpr_end'>}</span><span class='tstring_content'>) {
1169
+ dst-&gt;flags |= (</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_validValue'>validValue</span><span class='embexpr_end'>}</span><span class='tstring_content'> | </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ownedValue'>ownedValue</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1161
1170
  </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_copy'>copy</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>dst-&gt;value</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>src-&gt;value</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
1162
1171
  }
1163
1172
  }
1164
1173
  #define </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_entryDtor'>entryDtor</span><span class='embexpr_end'>}</span><span class='tstring_content'>(obj) </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_entryDtorRef'>entryDtorRef</span><span class='embexpr_end'>}</span><span class='tstring_content'>(&amp;obj)
1165
1174
  static void </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_entryDtorRef'>entryDtorRef</span><span class='embexpr_end'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='ivar'>@entry</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>* entry) {
1166
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_assert'>assert</span><span class='embexpr_end'>}</span><span class='tstring_content'>(entry-&gt;flags &amp; AUTOC_VALID_KEY);
1167
- if(entry-&gt;flags &amp; AUTOC_OWNED_KEY) </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_dtor'>dtor</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>entry-&gt;key</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
1168
- if(entry-&gt;flags &amp; AUTOC_VALID_VALUE &amp;&amp; entry-&gt;flags &amp; AUTOC_OWNED_VALUE) </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_dtor'>dtor</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>entry-&gt;value</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
1175
+ </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_assert'>assert</span><span class='embexpr_end'>}</span><span class='tstring_content'>(entry-&gt;flags &amp; </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_validKey'>validKey</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1176
+ if(entry-&gt;flags &amp; </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ownedKey'>ownedKey</span><span class='embexpr_end'>}</span><span class='tstring_content'>) </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_dtor'>dtor</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>entry-&gt;key</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
1177
+ if(entry-&gt;flags &amp; </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_validValue'>validValue</span><span class='embexpr_end'>}</span><span class='tstring_content'> &amp;&amp; entry-&gt;flags &amp; </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ownedValue'>ownedValue</span><span class='embexpr_end'>}</span><span class='tstring_content'>) </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_dtor'>dtor</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>entry-&gt;value</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
1169
1178
  }
1170
1179
  static </span><span class='embexpr_beg'>#{</span><span class='ivar'>@entry</span><span class='period'>.</span><span class='id identifier rubyid_type_ref'>type_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_itGetEntryRef'>itGetEntryRef</span><span class='embexpr_end'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_it_ref'>it_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1171
1180
  static int </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_containsAllOf'>containsAllOf</span><span class='embexpr_end'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_type_ref'>type_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'> self, </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_type_ref'>type_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'> other) {
@@ -1298,7 +1307,7 @@ Destroy an element bound to that key.
1298
1307
  </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'> value;
1299
1308
  </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_assert'>assert</span><span class='embexpr_end'>}</span><span class='tstring_content'>(self);
1300
1309
  e = </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_itGetEntryRef'>itGetEntryRef</span><span class='embexpr_end'>}</span><span class='tstring_content'>(self);
1301
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_assert'>assert</span><span class='embexpr_end'>}</span><span class='tstring_content'>(e-&gt;flags &amp; AUTOC_VALID_VALUE);
1310
+ </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_assert'>assert</span><span class='embexpr_end'>}</span><span class='tstring_content'>(e-&gt;flags &amp; </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_validValue'>validValue</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1302
1311
  </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_copy'>copy</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>value</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>e-&gt;value</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
1303
1312
  return value;
1304
1313
  }
@@ -1306,10 +1315,6 @@ Destroy an element bound to that key.
1306
1315
  </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_assert'>assert</span><span class='embexpr_end'>}</span><span class='tstring_content'>(self);
1307
1316
  return </span><span class='embexpr_beg'>#{</span><span class='ivar'>@set</span><span class='period'>.</span><span class='id identifier rubyid_itGetRef'>itGetRef</span><span class='embexpr_end'>}</span><span class='tstring_content'>(&amp;self-&gt;it);
1308
1317
  }
1309
- #undef AUTOC_VALID_VALUE
1310
- #undef AUTOC_VALID_KEY
1311
- #undef AUTOC_OWNED_VALUE
1312
- #undef AUTOC_OWNED_KEY
1313
1318
  </span><span class='tstring_end'>$</span></span>
1314
1319
  <span class='kw'>end</span></pre>
1315
1320
  </td>
@@ -1320,7 +1325,7 @@ Destroy an element bound to that key.
1320
1325
  <div class="method_details ">
1321
1326
  <h3 class="signature " id="write_intf_decls-instance_method">
1322
1327
 
1323
- - (<tt>Object</tt>) <strong>write_intf_decls</strong>(stream, declare, define)
1328
+ #<strong>write_intf_decls</strong>(stream, declare, define) &#x21d2; <tt>Object</tt>
1324
1329
 
1325
1330
 
1326
1331
 
@@ -1332,54 +1337,20 @@ Destroy an element bound to that key.
1332
1337
  <pre class="lines">
1333
1338
 
1334
1339
 
1335
- 187
1336
- 188
1337
1340
  189
1338
1341
  190
1339
1342
  191
1340
1343
  192
1341
1344
  193
1342
- 194
1343
- 195
1344
- 196
1345
- 197
1346
- 198
1347
- 199
1348
- 200
1349
- 201
1350
- 202
1351
- 203
1352
- 204
1353
- 205
1354
- 206
1355
- 207
1356
- 208
1357
- 209</pre>
1345
+ 194</pre>
1358
1346
  </td>
1359
1347
  <td>
1360
- <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 187</span>
1348
+ <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 189</span>
1361
1349
 
1362
1350
  <span class='kw'>def</span> <span class='id identifier rubyid_write_intf_decls'>write_intf_decls</span><span class='lparen'>(</span><span class='id identifier rubyid_stream'>stream</span><span class='comma'>,</span> <span class='id identifier rubyid_declare'>declare</span><span class='comma'>,</span> <span class='id identifier rubyid_define'>define</span><span class='rparen'>)</span>
1363
1351
  <span class='kw'>super</span>
1364
1352
  <span class='id identifier rubyid_stream'>stream</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>%$</span><span class='tstring_content'>
1365
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_declare'>declare</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ctor'>ctor</span><span class='period'>.</span><span class='id identifier rubyid_declaration'>declaration</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
1366
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_declare'>declare</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_dtor'>dtor</span><span class='period'>.</span><span class='id identifier rubyid_declaration'>declaration</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
1367
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_declare'>declare</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_copy'>copy</span><span class='period'>.</span><span class='id identifier rubyid_declaration'>declaration</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
1368
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_declare'>declare</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_equal'>equal</span><span class='period'>.</span><span class='id identifier rubyid_declaration'>declaration</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
1369
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_declare'>declare</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_identify'>identify</span><span class='period'>.</span><span class='id identifier rubyid_declaration'>declaration</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
1370
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_declare'>declare</span><span class='embexpr_end'>}</span><span class='tstring_content'> void </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_purge'>purge</span><span class='embexpr_end'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_type_ref'>type_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1371
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_declare'>declare</span><span class='embexpr_end'>}</span><span class='tstring_content'> size_t </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_type_ref'>type_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1372
- #define </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_empty'>empty</span><span class='embexpr_end'>}</span><span class='tstring_content'>(self) (</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_size'>size</span><span class='embexpr_end'>}</span><span class='tstring_content'>(self) == 0)
1373
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_declare'>declare</span><span class='embexpr_end'>}</span><span class='tstring_content'> int </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_containsKey'>containsKey</span><span class='embexpr_end'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_type_ref'>type_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'>, </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1374
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_declare'>declare</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_get'>get</span><span class='embexpr_end'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_type_ref'>type_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'>, </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1375
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_declare'>declare</span><span class='embexpr_end'>}</span><span class='tstring_content'> int </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_put'>put</span><span class='embexpr_end'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_type_ref'>type_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'>, </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>, </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1376
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_declare'>declare</span><span class='embexpr_end'>}</span><span class='tstring_content'> int </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_replace'>replace</span><span class='embexpr_end'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_type_ref'>type_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'>, </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>, </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1377
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_declare'>declare</span><span class='embexpr_end'>}</span><span class='tstring_content'> int </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_remove'>remove</span><span class='embexpr_end'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_type_ref'>type_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'>, </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1378
1353
  </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_declare'>declare</span><span class='embexpr_end'>}</span><span class='tstring_content'> void </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_itCtor'>itCtor</span><span class='embexpr_end'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_it_ref'>it_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'>, </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_type_ref'>type_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1379
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_declare'>declare</span><span class='embexpr_end'>}</span><span class='tstring_content'> int </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_itMove'>itMove</span><span class='embexpr_end'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_it_ref'>it_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1380
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_declare'>declare</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_itGetKey'>itGetKey</span><span class='embexpr_end'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_it_ref'>it_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1381
- </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_declare'>declare</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_itGetElement'>itGetElement</span><span class='embexpr_end'>}</span><span class='tstring_content'>(</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_it_ref'>it_ref</span><span class='embexpr_end'>}</span><span class='tstring_content'>);
1382
- #define </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_itGet'>itGet</span><span class='embexpr_end'>}</span><span class='tstring_content'>(it) </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_itGetElement'>itGetElement</span><span class='embexpr_end'>}</span><span class='tstring_content'>(it)
1383
1354
  </span><span class='tstring_end'>$</span></span>
1384
1355
  <span class='kw'>end</span></pre>
1385
1356
  </td>
@@ -1390,7 +1361,7 @@ Destroy an element bound to that key.
1390
1361
  <div class="method_details ">
1391
1362
  <h3 class="signature " id="write_intf_types-instance_method">
1392
1363
 
1393
- - (<tt>Object</tt>) <strong>write_intf_types</strong>(stream)
1364
+ #<strong>write_intf_types</strong>(stream) &#x21d2; <tt>Object</tt>
1394
1365
 
1395
1366
 
1396
1367
 
@@ -1402,13 +1373,6 @@ Destroy an element bound to that key.
1402
1373
  <pre class="lines">
1403
1374
 
1404
1375
 
1405
- 159
1406
- 160
1407
- 161
1408
- 162
1409
- 163
1410
- 164
1411
- 165
1412
1376
  166
1413
1377
  167
1414
1378
  168
@@ -1428,18 +1392,15 @@ Destroy an element bound to that key.
1428
1392
  182
1429
1393
  183
1430
1394
  184
1431
- 185</pre>
1395
+ 185
1396
+ 186
1397
+ 187</pre>
1432
1398
  </td>
1433
1399
  <td>
1434
- <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 159</span>
1400
+ <pre class="code"><span class="info file"># File 'lib/autoc/collection/hash_map.rb', line 166</span>
1435
1401
 
1436
1402
  <span class='kw'>def</span> <span class='id identifier rubyid_write_intf_types'>write_intf_types</span><span class='lparen'>(</span><span class='id identifier rubyid_stream'>stream</span><span class='rparen'>)</span>
1437
1403
  <span class='kw'>super</span>
1438
- <span class='id identifier rubyid_stream'>stream</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>%$</span><span class='tstring_content'>
1439
- /***
1440
- **** </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>&lt;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_key'>key</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>,</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>&gt; (</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='embexpr_end'>}</span><span class='tstring_content'>)
1441
- ***/
1442
- </span><span class='tstring_end'>$</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_public?'>public?</span>
1443
1404
  <span class='id identifier rubyid_stream'>stream</span> <span class='op'>&lt;&lt;</span> <span class='tstring'><span class='tstring_beg'>%$</span><span class='tstring_content'>
1444
1405
  typedef struct </span><span class='embexpr_beg'>#{</span><span class='ivar'>@entry</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='ivar'>@entry</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
1445
1406
  struct </span><span class='embexpr_beg'>#{</span><span class='ivar'>@entry</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'> {
@@ -1469,11 +1430,12 @@ Destroy an element bound to that key.
1469
1430
 
1470
1431
  </div>
1471
1432
 
1472
- <div id="footer">
1473
- Generated on Thu Mar 17 13:32:51 2016 by
1433
+ <div id="footer">
1434
+ Generated on Wed Oct 12 12:27:12 2016 by
1474
1435
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1475
- 0.8.7.6 (ruby-2.2.4).
1436
+ 0.9.5 (ruby-2.3.1).
1476
1437
  </div>
1477
1438
 
1439
+ </div>
1478
1440
  </body>
1479
1441
  </html>