autoc 1.3 → 1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGES +4 -0
- data/doc/AutoC.html +55 -55
- data/doc/AutoC/Code.html +60 -57
- data/doc/AutoC/Collection.html +134 -124
- data/doc/AutoC/HashMap.html +147 -185
- data/doc/AutoC/HashSet.html +114 -325
- data/doc/AutoC/Iterators.html +126 -0
- data/doc/AutoC/Iterators/Bidirectional.html +204 -0
- data/doc/AutoC/Iterators/Unidirectional.html +200 -0
- data/doc/AutoC/List.html +81 -76
- data/doc/AutoC/Maps.html +290 -0
- data/doc/AutoC/Module.html +72 -69
- data/doc/AutoC/Module/File.html +55 -52
- data/doc/AutoC/Module/Header.html +55 -52
- data/doc/AutoC/Module/Source.html +63 -60
- data/doc/AutoC/Priority.html +57 -57
- data/doc/AutoC/Queue.html +75 -74
- data/doc/AutoC/Reference.html +92 -91
- data/doc/AutoC/Sets.html +520 -0
- data/doc/AutoC/String.html +70 -69
- data/doc/AutoC/TreeMap.html +1565 -0
- data/doc/AutoC/TreeSet.html +1447 -0
- data/doc/AutoC/Type.html +184 -110
- data/doc/AutoC/UserDefinedType.html +102 -102
- data/doc/AutoC/Vector.html +100 -91
- data/doc/_index.html +97 -33
- data/doc/class_list.html +24 -31
- data/doc/css/full_list.css +32 -31
- data/doc/css/style.css +220 -78
- data/doc/file.CHANGES.html +37 -30
- data/doc/file.README.html +29 -30
- data/doc/file_list.html +29 -31
- data/doc/frames.html +7 -16
- data/doc/index.html +29 -30
- data/doc/js/app.js +100 -76
- data/doc/js/full_list.js +170 -135
- data/doc/method_list.html +877 -431
- data/doc/top-level-namespace.html +35 -35
- data/lib/autoc.rb +4 -2
- data/lib/autoc/collection.rb +10 -4
- data/lib/autoc/collection/hash_map.rb +22 -41
- data/lib/autoc/collection/hash_set.rb +13 -120
- data/lib/autoc/collection/iterator.rb +39 -0
- data/lib/autoc/collection/list.rb +7 -5
- data/lib/autoc/collection/map.rb +41 -0
- data/lib/autoc/collection/queue.rb +8 -8
- data/lib/autoc/collection/set.rb +134 -0
- data/lib/autoc/collection/tree_map.rb +464 -0
- data/lib/autoc/collection/tree_set.rb +611 -0
- data/lib/autoc/collection/vector.rb +8 -4
- data/lib/autoc/string.rb +1 -1
- data/lib/autoc/type.rb +3 -0
- data/test/test.rb +2 -2
- data/test/test_auto.c +7141 -0
- data/test/test_auto.h +753 -0
- data/test/test_int_tree_set.rb +111 -0
- data/test/test_value_hash_map.rb +1 -1
- data/test/test_value_hash_set.rb +1 -1
- data/test/test_value_tree_map.rb +176 -0
- data/test/test_value_tree_set.rb +173 -0
- metadata +21 -5
data/doc/AutoC/Vector.html
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: AutoC::Vector
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— 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
|
-
|
18
|
+
pathId = "AutoC::Vector";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!AutoC/Vector.html";
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,50 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
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 (V)</a> »
|
35
40
|
<span class='title'><span class='object_link'><a href="../AutoC.html" title="AutoC (module)">AutoC</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">Vector</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
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
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
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
62
|
+
<iframe id="search_frame" src="../class_list.html"></iframe>
|
65
63
|
|
66
|
-
|
64
|
+
<div id="content"><h1>Class: AutoC::Vector
|
67
65
|
|
68
66
|
|
69
67
|
|
70
68
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
69
|
+
<div class="box_info">
|
73
70
|
|
74
|
-
|
75
|
-
<
|
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,35 @@
|
|
89
87
|
</ul>
|
90
88
|
<a href="#" class="inheritanceTree">show all</a>
|
91
89
|
|
92
|
-
|
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="Iterators/Bidirectional.html" title="AutoC::Iterators::Bidirectional (module)">Iterators::Bidirectional</a></span></dd>
|
101
|
+
</dl>
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
101
107
|
|
102
|
-
|
103
|
-
<
|
108
|
+
<dl>
|
109
|
+
<dt>Defined in:</dt>
|
110
|
+
<dd>lib/autoc/collection/vector.rb</dd>
|
111
|
+
</dl>
|
104
112
|
|
105
|
-
</
|
106
|
-
<div class="clear"></div>
|
113
|
+
</div>
|
107
114
|
|
108
115
|
<h2>Overview</h2><div class="docstring">
|
109
116
|
<div class="discussion">
|
110
117
|
<div class="paragraph">
|
111
|
-
<p>Vector is an ordered random access sequence container.</p>
|
118
|
+
<p>Vector< <strong><em>E</em></strong> > is an ordered random access sequence container.</p>
|
112
119
|
</div>
|
113
120
|
<div class="paragraph">
|
114
121
|
<p>The collection’s C++ counterpart is std::vector<> template class.</p>
|
@@ -243,9 +250,6 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
243
250
|
|
244
251
|
|
245
252
|
</div>
|
246
|
-
<h2>Constant Summary</h2>
|
247
|
-
|
248
|
-
|
249
253
|
|
250
254
|
|
251
255
|
|
@@ -265,7 +269,7 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
265
269
|
|
266
270
|
<h2>
|
267
271
|
Instance Method Summary
|
268
|
-
<small
|
272
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
269
273
|
</h2>
|
270
274
|
|
271
275
|
<ul class="summary">
|
@@ -273,7 +277,7 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
273
277
|
<li class="public ">
|
274
278
|
<span class="summary_signature">
|
275
279
|
|
276
|
-
<a href="#constructible%3F-instance_method" title="#constructible? (instance method)"
|
280
|
+
<a href="#constructible%3F-instance_method" title="#constructible? (instance method)">#<strong>constructible?</strong> ⇒ Boolean </a>
|
277
281
|
|
278
282
|
|
279
283
|
|
@@ -297,7 +301,7 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
297
301
|
<li class="public ">
|
298
302
|
<span class="summary_signature">
|
299
303
|
|
300
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
304
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(*args) ⇒ Vector </a>
|
301
305
|
|
302
306
|
|
303
307
|
|
@@ -323,7 +327,7 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
323
327
|
<li class="public ">
|
324
328
|
<span class="summary_signature">
|
325
329
|
|
326
|
-
<a href="#write_impls-instance_method" title="#write_impls (instance method)"
|
330
|
+
<a href="#write_impls-instance_method" title="#write_impls (instance method)">#<strong>write_impls</strong>(stream, define) ⇒ Object </a>
|
327
331
|
|
328
332
|
|
329
333
|
|
@@ -345,7 +349,7 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
345
349
|
<li class="public ">
|
346
350
|
<span class="summary_signature">
|
347
351
|
|
348
|
-
<a href="#write_intf_decls-instance_method" title="#write_intf_decls (instance method)"
|
352
|
+
<a href="#write_intf_decls-instance_method" title="#write_intf_decls (instance method)">#<strong>write_intf_decls</strong>(stream, declare, define) ⇒ Object </a>
|
349
353
|
|
350
354
|
|
351
355
|
|
@@ -367,7 +371,7 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
367
371
|
<li class="public ">
|
368
372
|
<span class="summary_signature">
|
369
373
|
|
370
|
-
<a href="#write_intf_types-instance_method" title="#write_intf_types (instance method)"
|
374
|
+
<a href="#write_intf_types-instance_method" title="#write_intf_types (instance method)">#<strong>write_intf_types</strong>(stream) ⇒ Object </a>
|
371
375
|
|
372
376
|
|
373
377
|
|
@@ -398,6 +402,12 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
398
402
|
|
399
403
|
|
400
404
|
|
405
|
+
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
|
401
411
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Collection.html" title="AutoC::Collection (class)">Collection</a></span></h3>
|
402
412
|
<p class="inherited"><span class='object_link'><a href="Collection.html#%3D%3D-instance_method" title="AutoC::Collection#== (method)">#==</a></span>, <span class='object_link'><a href="Collection.html#comparable%3F-instance_method" title="AutoC::Collection#comparable? (method)">#comparable?</a></span>, <span class='object_link'><a href="Collection.html#copyable%3F-instance_method" title="AutoC::Collection#copyable? (method)">#copyable?</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#entities-instance_method" title="AutoC::Collection#entities (method)">#entities</a></span>, <span class='object_link'><a href="Collection.html#hash-instance_method" title="AutoC::Collection#hash (method)">#hash</a></span>, <span class='object_link'><a href="Collection.html#hashable%3F-instance_method" title="AutoC::Collection#hashable? (method)">#hashable?</a></span>, <span class='object_link'><a href="Collection.html#initializable%3F-instance_method" title="AutoC::Collection#initializable? (method)">#initializable?</a></span></p>
|
403
413
|
|
@@ -411,7 +421,7 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
411
421
|
|
412
422
|
|
413
423
|
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Type.html" title="AutoC::Type (class)">Type</a></span></h3>
|
414
|
-
<p class="inherited"><span class='object_link'><a href="Type.html#%3D%3D-instance_method" title="AutoC::Type#== (method)">#==</a></span>, <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#comparable%3F-instance_method" title="AutoC::Type#comparable? (method)">#comparable?</a></span>, <span class='object_link'><a href="Type.html#copyable%3F-instance_method" title="AutoC::Type#copyable? (method)">#copyable?</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#entities-instance_method" title="AutoC::Type#entities (method)">#entities</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#hash-instance_method" title="AutoC::Type#hash (method)">#hash</a></span>, <span class='object_link'><a href="Type.html#hashable%3F-instance_method" title="AutoC::Type#hashable? (method)">#hashable?</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>
|
424
|
+
<p class="inherited"><span class='object_link'><a href="Type.html#%3D%3D-instance_method" title="AutoC::Type#== (method)">#==</a></span>, <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#comparable%3F-instance_method" title="AutoC::Type#comparable? (method)">#comparable?</a></span>, <span class='object_link'><a href="Type.html#copyable%3F-instance_method" title="AutoC::Type#copyable? (method)">#copyable?</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#entities-instance_method" title="AutoC::Type#entities (method)">#entities</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#hash-instance_method" title="AutoC::Type#hash (method)">#hash</a></span>, <span class='object_link'><a href="Type.html#hashable%3F-instance_method" title="AutoC::Type#hashable? (method)">#hashable?</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>
|
415
425
|
|
416
426
|
|
417
427
|
|
@@ -429,7 +439,7 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
429
439
|
<div class="method_details first">
|
430
440
|
<h3 class="signature first" id="initialize-instance_method">
|
431
441
|
|
432
|
-
|
442
|
+
#<strong>initialize</strong>(*args) ⇒ <tt><span class='object_link'><a href="" title="AutoC::Vector (class)">Vector</a></span></tt>
|
433
443
|
|
434
444
|
|
435
445
|
|
@@ -452,15 +462,15 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
452
462
|
<pre class="lines">
|
453
463
|
|
454
464
|
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
465
|
+
137
|
466
|
+
138
|
467
|
+
139
|
468
|
+
140
|
469
|
+
141
|
470
|
+
142</pre>
|
461
471
|
</td>
|
462
472
|
<td>
|
463
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/collection/vector.rb', line
|
473
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/collection/vector.rb', line 137</span>
|
464
474
|
|
465
475
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
466
476
|
<span class='kw'>super</span>
|
@@ -493,7 +503,7 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
493
503
|
<div class="method_details first">
|
494
504
|
<h3 class="signature first" id="constructible?-instance_method">
|
495
505
|
|
496
|
-
|
506
|
+
#<strong>constructible?</strong> ⇒ <tt>Boolean</tt>
|
497
507
|
|
498
508
|
|
499
509
|
|
@@ -529,10 +539,10 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
529
539
|
<pre class="lines">
|
530
540
|
|
531
541
|
|
532
|
-
|
542
|
+
145</pre>
|
533
543
|
</td>
|
534
544
|
<td>
|
535
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/collection/vector.rb', line
|
545
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/collection/vector.rb', line 145</span>
|
536
546
|
|
537
547
|
<span class='kw'>def</span> <span class='id identifier rubyid_constructible?'>constructible?</span><span class='semicolon'>;</span> <span class='kw'>false</span> <span class='kw'>end</span></pre>
|
538
548
|
</td>
|
@@ -543,7 +553,7 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
543
553
|
<div class="method_details ">
|
544
554
|
<h3 class="signature " id="write_impls-instance_method">
|
545
555
|
|
546
|
-
|
556
|
+
#<strong>write_impls</strong>(stream, define) ⇒ <tt>Object</tt>
|
547
557
|
|
548
558
|
|
549
559
|
|
@@ -555,10 +565,6 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
555
565
|
<pre class="lines">
|
556
566
|
|
557
567
|
|
558
|
-
218
|
559
|
-
219
|
560
|
-
220
|
561
|
-
221
|
562
568
|
222
|
563
569
|
223
|
564
570
|
224
|
@@ -656,10 +662,14 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
656
662
|
316
|
657
663
|
317
|
658
664
|
318
|
659
|
-
319
|
665
|
+
319
|
666
|
+
320
|
667
|
+
321
|
668
|
+
322
|
669
|
+
323</pre>
|
660
670
|
</td>
|
661
671
|
<td>
|
662
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/collection/vector.rb', line
|
672
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/collection/vector.rb', line 222</span>
|
663
673
|
|
664
674
|
<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>
|
665
675
|
<span class='kw'>super</span>
|
@@ -771,7 +781,7 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
771
781
|
<div class="method_details ">
|
772
782
|
<h3 class="signature " id="write_intf_decls-instance_method">
|
773
783
|
|
774
|
-
|
784
|
+
#<strong>write_intf_decls</strong>(stream, declare, define) ⇒ <tt>Object</tt>
|
775
785
|
|
776
786
|
|
777
787
|
|
@@ -783,11 +793,6 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
783
793
|
<pre class="lines">
|
784
794
|
|
785
795
|
|
786
|
-
163
|
787
|
-
164
|
788
|
-
165
|
789
|
-
166
|
790
|
-
167
|
791
796
|
168
|
792
797
|
169
|
793
798
|
170
|
@@ -836,14 +841,18 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
836
841
|
213
|
837
842
|
214
|
838
843
|
215
|
839
|
-
216
|
844
|
+
216
|
845
|
+
217
|
846
|
+
218
|
847
|
+
219
|
848
|
+
220</pre>
|
840
849
|
</td>
|
841
850
|
<td>
|
842
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/collection/vector.rb', line
|
851
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/collection/vector.rb', line 168</span>
|
843
852
|
|
844
853
|
<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>
|
845
|
-
<span class='kw'>super</span>
|
846
|
-
<span class='id identifier rubyid_stream'>stream</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>%$</span><span class='tstring_content'>
|
854
|
+
<span class='kw'>super</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='comma'>,</span> <span class='id identifier rubyid_define'>define</span><span class='rparen'>)</span> <span class='comment'># Need to make prototypes static inline
|
855
|
+
</span> <span class='id identifier rubyid_stream'>stream</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>%$</span><span class='tstring_content'>
|
847
856
|
</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'>;
|
848
857
|
</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'>;
|
849
858
|
</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'>;
|
@@ -872,7 +881,6 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
872
881
|
</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_element'>element</span><span class='period'>.</span><span class='id identifier rubyid_dtor'>dtor</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>self->values[index]</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
|
873
882
|
</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_element'>element</span><span class='period'>.</span><span class='id identifier rubyid_copy'>copy</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>self->values[index]</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>value</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='embexpr_end'>}</span><span class='tstring_content'>;
|
874
883
|
}
|
875
|
-
#define </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_itCtor'>itCtor</span><span class='embexpr_end'>}</span><span class='tstring_content'>(self, type) </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_itCtorEx'>itCtorEx</span><span class='embexpr_end'>}</span><span class='tstring_content'>(self, type, 1)
|
876
884
|
</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_define'>define</span><span class='embexpr_end'>}</span><span class='tstring_content'> void </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_itCtorEx'>itCtorEx</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'> 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'> vector, int forward) {
|
877
885
|
</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_assert'>assert</span><span class='embexpr_end'>}</span><span class='tstring_content'>(self);
|
878
886
|
</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_assert'>assert</span><span class='embexpr_end'>}</span><span class='tstring_content'>(vector);
|
@@ -903,7 +911,7 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
903
911
|
<div class="method_details ">
|
904
912
|
<h3 class="signature " id="write_intf_types-instance_method">
|
905
913
|
|
906
|
-
|
914
|
+
#<strong>write_intf_types</strong>(stream) ⇒ <tt>Object</tt>
|
907
915
|
|
908
916
|
|
909
917
|
|
@@ -915,11 +923,6 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
915
923
|
<pre class="lines">
|
916
924
|
|
917
925
|
|
918
|
-
142
|
919
|
-
143
|
920
|
-
144
|
921
|
-
145
|
922
|
-
146
|
923
926
|
147
|
924
927
|
148
|
925
928
|
149
|
@@ -934,16 +937,21 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
934
937
|
158
|
935
938
|
159
|
936
939
|
160
|
937
|
-
161
|
940
|
+
161
|
941
|
+
162
|
942
|
+
163
|
943
|
+
164
|
944
|
+
165
|
945
|
+
166</pre>
|
938
946
|
</td>
|
939
947
|
<td>
|
940
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/collection/vector.rb', line
|
948
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/collection/vector.rb', line 147</span>
|
941
949
|
|
942
950
|
<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>
|
943
951
|
<span class='kw'>super</span>
|
944
952
|
<span class='id identifier rubyid_stream'>stream</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>%$</span><span class='tstring_content'>
|
945
953
|
/***
|
946
|
-
**** </span><span class='embexpr_beg'>#{</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_element'>element</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>>
|
954
|
+
**** </span><span class='embexpr_beg'>#{</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_element'>element</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span><span class='embexpr_end'>}</span><span class='tstring_content'>>
|
947
955
|
***/
|
948
956
|
</span><span class='tstring_end'>$</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_public?'>public?</span>
|
949
957
|
<span class='id identifier rubyid_stream'>stream</span> <span class='op'><<</span> <span class='tstring'><span class='tstring_beg'>%$</span><span class='tstring_content'>
|
@@ -968,11 +976,12 @@ Non-zero value of forward specifies a forward iterator, zero value specifies a b
|
|
968
976
|
|
969
977
|
</div>
|
970
978
|
|
971
|
-
|
972
|
-
Generated on
|
979
|
+
<div id="footer">
|
980
|
+
Generated on Wed Oct 12 12:27:12 2016 by
|
973
981
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
974
|
-
0.
|
982
|
+
0.9.5 (ruby-2.3.1).
|
975
983
|
</div>
|
976
984
|
|
985
|
+
</div>
|
977
986
|
</body>
|
978
987
|
</html>
|
data/doc/_index.html
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
|
-
Documentation by YARD 0.
|
7
|
+
Documentation by YARD 0.9.5
|
8
8
|
|
9
9
|
</title>
|
10
10
|
|
@@ -13,9 +13,8 @@
|
|
13
13
|
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
14
14
|
|
15
15
|
<script type="text/javascript" charset="utf-8">
|
16
|
-
|
16
|
+
pathId = null;
|
17
17
|
relpath = '';
|
18
|
-
framesUrl = "frames.html#!_index.html";
|
19
18
|
</script>
|
20
19
|
|
21
20
|
|
@@ -26,37 +25,36 @@
|
|
26
25
|
|
27
26
|
</head>
|
28
27
|
<body>
|
29
|
-
<div
|
30
|
-
<
|
31
|
-
|
28
|
+
<div class="nav_wrap">
|
29
|
+
<iframe id="nav" src="class_list.html"></iframe>
|
30
|
+
<div id="resizer"></div>
|
31
|
+
</div>
|
32
32
|
|
33
|
-
|
33
|
+
<div id="main" tabindex="-1">
|
34
|
+
<div id="header">
|
35
|
+
<div id="menu">
|
36
|
+
|
34
37
|
</div>
|
35
38
|
|
36
|
-
|
39
|
+
<div id="search">
|
37
40
|
|
38
41
|
<a class="full_list_link" id="class_list_link"
|
39
42
|
href="class_list.html">
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
</a>
|
47
|
-
|
48
|
-
<a class="full_list_link" id="file_list_link"
|
49
|
-
href="file_list.html">
|
50
|
-
File List
|
43
|
+
|
44
|
+
<svg width="24" height="24">
|
45
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
46
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
47
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
48
|
+
</svg>
|
51
49
|
</a>
|
52
50
|
|
53
51
|
</div>
|
54
|
-
|
55
|
-
|
52
|
+
<div class="clear"></div>
|
53
|
+
</div>
|
56
54
|
|
57
|
-
|
55
|
+
<iframe id="search_frame" src="class_list.html"></iframe>
|
58
56
|
|
59
|
-
|
57
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.5</h1>
|
60
58
|
<div id="listing">
|
61
59
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
62
60
|
|
@@ -96,6 +94,21 @@
|
|
96
94
|
</ul>
|
97
95
|
|
98
96
|
|
97
|
+
<ul id="alpha_B" class="alpha">
|
98
|
+
<li class="letter">B</li>
|
99
|
+
<ul>
|
100
|
+
|
101
|
+
<li>
|
102
|
+
<span class='object_link'><a href="AutoC/Iterators/Bidirectional.html" title="AutoC::Iterators::Bidirectional (module)">Bidirectional</a></span>
|
103
|
+
|
104
|
+
<small>(AutoC::Iterators)</small>
|
105
|
+
|
106
|
+
</li>
|
107
|
+
|
108
|
+
</ul>
|
109
|
+
</ul>
|
110
|
+
|
111
|
+
|
99
112
|
<ul id="alpha_C" class="alpha">
|
100
113
|
<li class="letter">C</li>
|
101
114
|
<ul>
|
@@ -162,6 +175,21 @@
|
|
162
175
|
</ul>
|
163
176
|
|
164
177
|
|
178
|
+
<ul id="alpha_I" class="alpha">
|
179
|
+
<li class="letter">I</li>
|
180
|
+
<ul>
|
181
|
+
|
182
|
+
<li>
|
183
|
+
<span class='object_link'><a href="AutoC/Iterators.html" title="AutoC::Iterators (module)">Iterators</a></span>
|
184
|
+
|
185
|
+
<small>(AutoC)</small>
|
186
|
+
|
187
|
+
</li>
|
188
|
+
|
189
|
+
</ul>
|
190
|
+
</ul>
|
191
|
+
|
192
|
+
|
165
193
|
<ul id="alpha_L" class="alpha">
|
166
194
|
<li class="letter">L</li>
|
167
195
|
<ul>
|
@@ -177,10 +205,20 @@
|
|
177
205
|
</ul>
|
178
206
|
|
179
207
|
|
208
|
+
</td><td valign='top' width="33%">
|
209
|
+
|
210
|
+
|
180
211
|
<ul id="alpha_M" class="alpha">
|
181
212
|
<li class="letter">M</li>
|
182
213
|
<ul>
|
183
214
|
|
215
|
+
<li>
|
216
|
+
<span class='object_link'><a href="AutoC/Maps.html" title="AutoC::Maps (module)">Maps</a></span>
|
217
|
+
|
218
|
+
<small>(AutoC)</small>
|
219
|
+
|
220
|
+
</li>
|
221
|
+
|
184
222
|
<li>
|
185
223
|
<span class='object_link'><a href="AutoC/Module.html" title="AutoC::Module (class)">Module</a></span>
|
186
224
|
|
@@ -207,9 +245,6 @@
|
|
207
245
|
</ul>
|
208
246
|
|
209
247
|
|
210
|
-
</td><td valign='top' width="33%">
|
211
|
-
|
212
|
-
|
213
248
|
<ul id="alpha_Q" class="alpha">
|
214
249
|
<li class="letter">Q</li>
|
215
250
|
<ul>
|
@@ -244,6 +279,13 @@
|
|
244
279
|
<li class="letter">S</li>
|
245
280
|
<ul>
|
246
281
|
|
282
|
+
<li>
|
283
|
+
<span class='object_link'><a href="AutoC/Sets.html" title="AutoC::Sets (module)">Sets</a></span>
|
284
|
+
|
285
|
+
<small>(AutoC)</small>
|
286
|
+
|
287
|
+
</li>
|
288
|
+
|
247
289
|
<li>
|
248
290
|
<span class='object_link'><a href="AutoC/Module/Source.html" title="AutoC::Module::Source (class)">Source</a></span>
|
249
291
|
|
@@ -266,6 +308,20 @@
|
|
266
308
|
<li class="letter">T</li>
|
267
309
|
<ul>
|
268
310
|
|
311
|
+
<li>
|
312
|
+
<span class='object_link'><a href="AutoC/TreeMap.html" title="AutoC::TreeMap (class)">TreeMap</a></span>
|
313
|
+
|
314
|
+
<small>(AutoC)</small>
|
315
|
+
|
316
|
+
</li>
|
317
|
+
|
318
|
+
<li>
|
319
|
+
<span class='object_link'><a href="AutoC/TreeSet.html" title="AutoC::TreeSet (class)">TreeSet</a></span>
|
320
|
+
|
321
|
+
<small>(AutoC)</small>
|
322
|
+
|
323
|
+
</li>
|
324
|
+
|
269
325
|
<li>
|
270
326
|
<span class='object_link'><a href="AutoC/Type.html" title="AutoC::Type (class)">Type</a></span>
|
271
327
|
|
@@ -281,6 +337,13 @@
|
|
281
337
|
<li class="letter">U</li>
|
282
338
|
<ul>
|
283
339
|
|
340
|
+
<li>
|
341
|
+
<span class='object_link'><a href="AutoC/Iterators/Unidirectional.html" title="AutoC::Iterators::Unidirectional (module)">Unidirectional</a></span>
|
342
|
+
|
343
|
+
<small>(AutoC::Iterators)</small>
|
344
|
+
|
345
|
+
</li>
|
346
|
+
|
284
347
|
<li>
|
285
348
|
<span class='object_link'><a href="AutoC/UserDefinedType.html" title="AutoC::UserDefinedType (class)">UserDefinedType</a></span>
|
286
349
|
|
@@ -314,11 +377,12 @@
|
|
314
377
|
|
315
378
|
</div>
|
316
379
|
|
317
|
-
|
318
|
-
Generated on
|
380
|
+
<div id="footer">
|
381
|
+
Generated on Wed Oct 12 12:27:11 2016 by
|
319
382
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
320
|
-
0.
|
383
|
+
0.9.5 (ruby-2.3.1).
|
321
384
|
</div>
|
322
385
|
|
386
|
+
</div>
|
323
387
|
</body>
|
324
388
|
</html>
|