autoc 1.3 → 1.4
Sign up to get free protection for your applications and to get access to all the features.
- 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/Type.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::Type
|
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::Type";
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!AutoC/Type.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 (T)</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">Type</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::Type
|
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="Code.html" title="AutoC::Code (class)">Code</a></span></span>
|
77
75
|
|
78
76
|
<ul class="fullTree">
|
@@ -85,40 +83,41 @@
|
|
85
83
|
</ul>
|
86
84
|
<a href="#" class="inheritanceTree">show all</a>
|
87
85
|
|
88
|
-
|
89
|
-
|
86
|
+
</dd>
|
87
|
+
</dl>
|
90
88
|
|
89
|
+
|
91
90
|
|
92
|
-
|
93
91
|
|
94
|
-
|
95
92
|
|
96
93
|
|
97
94
|
|
98
|
-
|
99
|
-
<dd class="r2 last">lib/autoc/type.rb</dd>
|
95
|
+
|
100
96
|
|
101
|
-
|
102
|
-
|
97
|
+
|
98
|
+
|
99
|
+
<dl>
|
100
|
+
<dt>Defined in:</dt>
|
101
|
+
<dd>lib/autoc/type.rb</dd>
|
102
|
+
</dl>
|
103
|
+
|
104
|
+
</div>
|
103
105
|
|
104
106
|
<div id="subclasses">
|
105
107
|
<h2>Direct Known Subclasses</h2>
|
106
108
|
<p class="children"><span class='object_link'><a href="Collection.html" title="AutoC::Collection (class)">Collection</a></span>, <span class='object_link'><a href="Reference.html" title="AutoC::Reference (class)">Reference</a></span>, <span class='object_link'><a href="String.html" title="AutoC::String (class)">String</a></span>, <span class='object_link'><a href="UserDefinedType.html" title="AutoC::UserDefinedType (class)">UserDefinedType</a></span></p>
|
107
109
|
</div>
|
108
110
|
|
109
|
-
<h2>Constant Summary</h2>
|
110
|
-
|
111
|
-
|
112
111
|
|
113
112
|
|
114
113
|
|
115
|
-
<h2>Instance Attribute Summary <small
|
114
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
116
115
|
<ul class="summary">
|
117
116
|
|
118
117
|
<li class="public ">
|
119
118
|
<span class="summary_signature">
|
120
119
|
|
121
|
-
<a href="#type-instance_method" title="#type (instance method)"
|
120
|
+
<a href="#type-instance_method" title="#type (instance method)">#<strong>type</strong> ⇒ Object </a>
|
122
121
|
|
123
122
|
|
124
123
|
|
@@ -147,7 +146,7 @@
|
|
147
146
|
<li class="public ">
|
148
147
|
<span class="summary_signature">
|
149
148
|
|
150
|
-
<a href="#type_ref-instance_method" title="#type_ref (instance method)"
|
149
|
+
<a href="#type_ref-instance_method" title="#type_ref (instance method)">#<strong>type_ref</strong> ⇒ Object </a>
|
151
150
|
|
152
151
|
|
153
152
|
|
@@ -181,7 +180,7 @@
|
|
181
180
|
|
182
181
|
<h2>
|
183
182
|
Class Method Summary
|
184
|
-
<small
|
183
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
185
184
|
</h2>
|
186
185
|
|
187
186
|
<ul class="summary">
|
@@ -189,7 +188,7 @@
|
|
189
188
|
<li class="public ">
|
190
189
|
<span class="summary_signature">
|
191
190
|
|
192
|
-
<a href="#coerce-class_method" title="coerce (class method)"
|
191
|
+
<a href="#coerce-class_method" title="coerce (class method)">.<strong>coerce</strong>(type) ⇒ Object </a>
|
193
192
|
|
194
193
|
|
195
194
|
|
@@ -212,7 +211,7 @@
|
|
212
211
|
|
213
212
|
<h2>
|
214
213
|
Instance Method Summary
|
215
|
-
<small
|
214
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
216
215
|
</h2>
|
217
216
|
|
218
217
|
<ul class="summary">
|
@@ -220,7 +219,7 @@
|
|
220
219
|
<li class="public ">
|
221
220
|
<span class="summary_signature">
|
222
221
|
|
223
|
-
<a href="#%3D%3D-instance_method" title="#== (instance method)"
|
222
|
+
<a href="#%3D%3D-instance_method" title="#== (instance method)">#<strong>==</strong>(other) ⇒ Object </a>
|
224
223
|
|
225
224
|
|
226
225
|
|
@@ -244,7 +243,7 @@
|
|
244
243
|
<li class="public ">
|
245
244
|
<span class="summary_signature">
|
246
245
|
|
247
|
-
<a href="#abort-instance_method" title="#abort (instance method)"
|
246
|
+
<a href="#abort-instance_method" title="#abort (instance method)">#<strong>abort</strong> ⇒ Object </a>
|
248
247
|
|
249
248
|
|
250
249
|
|
@@ -266,7 +265,7 @@
|
|
266
265
|
<li class="public ">
|
267
266
|
<span class="summary_signature">
|
268
267
|
|
269
|
-
<a href="#assert-instance_method" title="#assert (instance method)"
|
268
|
+
<a href="#assert-instance_method" title="#assert (instance method)">#<strong>assert</strong> ⇒ Object </a>
|
270
269
|
|
271
270
|
|
272
271
|
|
@@ -288,7 +287,7 @@
|
|
288
287
|
<li class="public ">
|
289
288
|
<span class="summary_signature">
|
290
289
|
|
291
|
-
<a href="#calloc-instance_method" title="#calloc (instance method)"
|
290
|
+
<a href="#calloc-instance_method" title="#calloc (instance method)">#<strong>calloc</strong> ⇒ Object </a>
|
292
291
|
|
293
292
|
|
294
293
|
|
@@ -310,7 +309,7 @@
|
|
310
309
|
<li class="public ">
|
311
310
|
<span class="summary_signature">
|
312
311
|
|
313
|
-
<a href="#comparable%3F-instance_method" title="#comparable? (instance method)"
|
312
|
+
<a href="#comparable%3F-instance_method" title="#comparable? (instance method)">#<strong>comparable?</strong> ⇒ Boolean </a>
|
314
313
|
|
315
314
|
|
316
315
|
|
@@ -334,7 +333,7 @@
|
|
334
333
|
<li class="public ">
|
335
334
|
<span class="summary_signature">
|
336
335
|
|
337
|
-
<a href="#constructible%3F-instance_method" title="#constructible? (instance method)"
|
336
|
+
<a href="#constructible%3F-instance_method" title="#constructible? (instance method)">#<strong>constructible?</strong> ⇒ Boolean </a>
|
338
337
|
|
339
338
|
|
340
339
|
|
@@ -358,7 +357,7 @@
|
|
358
357
|
<li class="public ">
|
359
358
|
<span class="summary_signature">
|
360
359
|
|
361
|
-
<a href="#copyable%3F-instance_method" title="#copyable? (instance method)"
|
360
|
+
<a href="#copyable%3F-instance_method" title="#copyable? (instance method)">#<strong>copyable?</strong> ⇒ Boolean </a>
|
362
361
|
|
363
362
|
|
364
363
|
|
@@ -382,7 +381,7 @@
|
|
382
381
|
<li class="public ">
|
383
382
|
<span class="summary_signature">
|
384
383
|
|
385
|
-
<a href="#destructible%3F-instance_method" title="#destructible? (instance method)"
|
384
|
+
<a href="#destructible%3F-instance_method" title="#destructible? (instance method)">#<strong>destructible?</strong> ⇒ Boolean </a>
|
386
385
|
|
387
386
|
|
388
387
|
|
@@ -406,7 +405,7 @@
|
|
406
405
|
<li class="public ">
|
407
406
|
<span class="summary_signature">
|
408
407
|
|
409
|
-
<a href="#entities-instance_method" title="#entities (instance method)"
|
408
|
+
<a href="#entities-instance_method" title="#entities (instance method)">#<strong>entities</strong> ⇒ Object </a>
|
410
409
|
|
411
410
|
|
412
411
|
|
@@ -428,7 +427,7 @@
|
|
428
427
|
<li class="public ">
|
429
428
|
<span class="summary_signature">
|
430
429
|
|
431
|
-
<a href="#extern-instance_method" title="#extern (instance method)"
|
430
|
+
<a href="#extern-instance_method" title="#extern (instance method)">#<strong>extern</strong> ⇒ Object </a>
|
432
431
|
|
433
432
|
|
434
433
|
|
@@ -452,7 +451,7 @@
|
|
452
451
|
<li class="public ">
|
453
452
|
<span class="summary_signature">
|
454
453
|
|
455
|
-
<a href="#free-instance_method" title="#free (instance method)"
|
454
|
+
<a href="#free-instance_method" title="#free (instance method)">#<strong>free</strong> ⇒ Object </a>
|
456
455
|
|
457
456
|
|
458
457
|
|
@@ -474,7 +473,7 @@
|
|
474
473
|
<li class="public ">
|
475
474
|
<span class="summary_signature">
|
476
475
|
|
477
|
-
<a href="#hash-instance_method" title="#hash (instance method)"
|
476
|
+
<a href="#hash-instance_method" title="#hash (instance method)">#<strong>hash</strong> ⇒ Object </a>
|
478
477
|
|
479
478
|
|
480
479
|
|
@@ -496,7 +495,7 @@
|
|
496
495
|
<li class="public ">
|
497
496
|
<span class="summary_signature">
|
498
497
|
|
499
|
-
<a href="#hashable%3F-instance_method" title="#hashable? (instance method)"
|
498
|
+
<a href="#hashable%3F-instance_method" title="#hashable? (instance method)">#<strong>hashable?</strong> ⇒ Boolean </a>
|
500
499
|
|
501
500
|
|
502
501
|
|
@@ -520,7 +519,7 @@
|
|
520
519
|
<li class="public ">
|
521
520
|
<span class="summary_signature">
|
522
521
|
|
523
|
-
<a href="#initializable%3F-instance_method" title="#initializable? (instance method)"
|
522
|
+
<a href="#initializable%3F-instance_method" title="#initializable? (instance method)">#<strong>initializable?</strong> ⇒ Boolean </a>
|
524
523
|
|
525
524
|
|
526
525
|
|
@@ -544,7 +543,7 @@
|
|
544
543
|
<li class="public ">
|
545
544
|
<span class="summary_signature">
|
546
545
|
|
547
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)"
|
546
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(type, visibility = :public) ⇒ Type </a>
|
548
547
|
|
549
548
|
|
550
549
|
|
@@ -570,7 +569,7 @@
|
|
570
569
|
<li class="public ">
|
571
570
|
<span class="summary_signature">
|
572
571
|
|
573
|
-
<a href="#inline-instance_method" title="#inline (instance method)"
|
572
|
+
<a href="#inline-instance_method" title="#inline (instance method)">#<strong>inline</strong> ⇒ Object </a>
|
574
573
|
|
575
574
|
|
576
575
|
|
@@ -592,7 +591,7 @@
|
|
592
591
|
<li class="public ">
|
593
592
|
<span class="summary_signature">
|
594
593
|
|
595
|
-
<a href="#malloc-instance_method" title="#malloc (instance method)"
|
594
|
+
<a href="#malloc-instance_method" title="#malloc (instance method)">#<strong>malloc</strong> ⇒ Object </a>
|
596
595
|
|
597
596
|
|
598
597
|
|
@@ -614,7 +613,7 @@
|
|
614
613
|
<li class="public ">
|
615
614
|
<span class="summary_signature">
|
616
615
|
|
617
|
-
<a href="#method_missing-instance_method" title="#method_missing (instance method)"
|
616
|
+
<a href="#method_missing-instance_method" title="#method_missing (instance method)">#<strong>method_missing</strong>(method, *args) ⇒ Object </a>
|
618
617
|
|
619
618
|
|
620
619
|
|
@@ -636,7 +635,7 @@
|
|
636
635
|
<li class="public ">
|
637
636
|
<span class="summary_signature">
|
638
637
|
|
639
|
-
<a href="#orderable%3F-instance_method" title="#orderable? (instance method)"
|
638
|
+
<a href="#orderable%3F-instance_method" title="#orderable? (instance method)">#<strong>orderable?</strong> ⇒ Boolean </a>
|
640
639
|
|
641
640
|
|
642
641
|
|
@@ -660,7 +659,7 @@
|
|
660
659
|
<li class="public ">
|
661
660
|
<span class="summary_signature">
|
662
661
|
|
663
|
-
<a href="#prefix-instance_method" title="#prefix (instance method)"
|
662
|
+
<a href="#prefix-instance_method" title="#prefix (instance method)">#<strong>prefix</strong> ⇒ Object </a>
|
664
663
|
|
665
664
|
|
666
665
|
|
@@ -682,7 +681,7 @@
|
|
682
681
|
<li class="public ">
|
683
682
|
<span class="summary_signature">
|
684
683
|
|
685
|
-
<a href="#private%3F-instance_method" title="#private? (instance method)"
|
684
|
+
<a href="#private%3F-instance_method" title="#private? (instance method)">#<strong>private?</strong> ⇒ Boolean </a>
|
686
685
|
|
687
686
|
|
688
687
|
|
@@ -704,7 +703,7 @@
|
|
704
703
|
<li class="public ">
|
705
704
|
<span class="summary_signature">
|
706
705
|
|
707
|
-
<a href="#public%3F-instance_method" title="#public? (instance method)"
|
706
|
+
<a href="#public%3F-instance_method" title="#public? (instance method)">#<strong>public?</strong> ⇒ Boolean </a>
|
708
707
|
|
709
708
|
|
710
709
|
|
@@ -726,7 +725,31 @@
|
|
726
725
|
<li class="public ">
|
727
726
|
<span class="summary_signature">
|
728
727
|
|
729
|
-
<a href="#
|
728
|
+
<a href="#sortable%3F-instance_method" title="#sortable? (instance method)">#<strong>sortable?</strong> ⇒ Boolean </a>
|
729
|
+
|
730
|
+
|
731
|
+
|
732
|
+
</span>
|
733
|
+
|
734
|
+
|
735
|
+
|
736
|
+
|
737
|
+
|
738
|
+
|
739
|
+
|
740
|
+
|
741
|
+
|
742
|
+
<span class="summary_desc"><div class='inline'><div class="paragraph">
|
743
|
+
<p>Returns <strong>true</strong> if the type provides corrset soritng routines.</p>
|
744
|
+
</div></div></span>
|
745
|
+
|
746
|
+
</li>
|
747
|
+
|
748
|
+
|
749
|
+
<li class="public ">
|
750
|
+
<span class="summary_signature">
|
751
|
+
|
752
|
+
<a href="#static-instance_method" title="#static (instance method)">#<strong>static</strong> ⇒ Object </a>
|
730
753
|
|
731
754
|
|
732
755
|
|
@@ -748,7 +771,7 @@
|
|
748
771
|
<li class="public ">
|
749
772
|
<span class="summary_signature">
|
750
773
|
|
751
|
-
<a href="#static%3F-instance_method" title="#static? (instance method)"
|
774
|
+
<a href="#static%3F-instance_method" title="#static? (instance method)">#<strong>static?</strong> ⇒ Boolean </a>
|
752
775
|
|
753
776
|
|
754
777
|
|
@@ -770,7 +793,7 @@
|
|
770
793
|
<li class="public ">
|
771
794
|
<span class="summary_signature">
|
772
795
|
|
773
|
-
<a href="#write_decls-instance_method" title="#write_decls (instance method)"
|
796
|
+
<a href="#write_decls-instance_method" title="#write_decls (instance method)">#<strong>write_decls</strong>(stream) ⇒ Object </a>
|
774
797
|
|
775
798
|
|
776
799
|
|
@@ -792,7 +815,7 @@
|
|
792
815
|
<li class="public ">
|
793
816
|
<span class="summary_signature">
|
794
817
|
|
795
|
-
<a href="#write_defs-instance_method" title="#write_defs (instance method)"
|
818
|
+
<a href="#write_defs-instance_method" title="#write_defs (instance method)">#<strong>write_defs</strong>(stream) ⇒ Object </a>
|
796
819
|
|
797
820
|
|
798
821
|
|
@@ -814,7 +837,7 @@
|
|
814
837
|
<li class="public ">
|
815
838
|
<span class="summary_signature">
|
816
839
|
|
817
|
-
<a href="#write_intf-instance_method" title="#write_intf (instance method)"
|
840
|
+
<a href="#write_intf-instance_method" title="#write_intf (instance method)">#<strong>write_intf</strong>(stream) ⇒ Object </a>
|
818
841
|
|
819
842
|
|
820
843
|
|
@@ -853,7 +876,7 @@
|
|
853
876
|
<div class="method_details first">
|
854
877
|
<h3 class="signature first" id="initialize-instance_method">
|
855
878
|
|
856
|
-
|
879
|
+
#<strong>initialize</strong>(type, visibility = :public) ⇒ <tt><span class='object_link'><a href="" title="AutoC::Type (class)">Type</a></span></tt>
|
857
880
|
|
858
881
|
|
859
882
|
|
@@ -924,7 +947,7 @@
|
|
924
947
|
<div class="method_details first">
|
925
948
|
<h3 class="signature first" id="method_missing-instance_method">
|
926
949
|
|
927
|
-
|
950
|
+
#<strong>method_missing</strong>(method, *args) ⇒ <tt>Object</tt>
|
928
951
|
|
929
952
|
|
930
953
|
|
@@ -991,7 +1014,7 @@
|
|
991
1014
|
<div class="method_details first">
|
992
1015
|
<h3 class="signature first" id="type-instance_method">
|
993
1016
|
|
994
|
-
|
1017
|
+
#<strong>type</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
995
1018
|
|
996
1019
|
|
997
1020
|
|
@@ -1034,7 +1057,7 @@
|
|
1034
1057
|
<div class="method_details ">
|
1035
1058
|
<h3 class="signature " id="type_ref-instance_method">
|
1036
1059
|
|
1037
|
-
|
1060
|
+
#<strong>type_ref</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
1038
1061
|
|
1039
1062
|
|
1040
1063
|
|
@@ -1082,7 +1105,7 @@
|
|
1082
1105
|
<div class="method_details first">
|
1083
1106
|
<h3 class="signature first" id="coerce-class_method">
|
1084
1107
|
|
1085
|
-
|
1108
|
+
.<strong>coerce</strong>(type) ⇒ <tt>Object</tt>
|
1086
1109
|
|
1087
1110
|
|
1088
1111
|
|
@@ -1118,7 +1141,7 @@
|
|
1118
1141
|
<div class="method_details first">
|
1119
1142
|
<h3 class="signature first" id="==-instance_method">
|
1120
1143
|
|
1121
|
-
|
1144
|
+
#<strong>==</strong>(other) ⇒ <tt>Object</tt>
|
1122
1145
|
|
1123
1146
|
|
1124
1147
|
|
@@ -1148,7 +1171,7 @@
|
|
1148
1171
|
<div class="method_details ">
|
1149
1172
|
<h3 class="signature " id="abort-instance_method">
|
1150
1173
|
|
1151
|
-
|
1174
|
+
#<strong>abort</strong> ⇒ <tt>Object</tt>
|
1152
1175
|
|
1153
1176
|
|
1154
1177
|
|
@@ -1174,7 +1197,7 @@
|
|
1174
1197
|
<div class="method_details ">
|
1175
1198
|
<h3 class="signature " id="assert-instance_method">
|
1176
1199
|
|
1177
|
-
|
1200
|
+
#<strong>assert</strong> ⇒ <tt>Object</tt>
|
1178
1201
|
|
1179
1202
|
|
1180
1203
|
|
@@ -1200,7 +1223,7 @@
|
|
1200
1223
|
<div class="method_details ">
|
1201
1224
|
<h3 class="signature " id="calloc-instance_method">
|
1202
1225
|
|
1203
|
-
|
1226
|
+
#<strong>calloc</strong> ⇒ <tt>Object</tt>
|
1204
1227
|
|
1205
1228
|
|
1206
1229
|
|
@@ -1226,7 +1249,7 @@
|
|
1226
1249
|
<div class="method_details ">
|
1227
1250
|
<h3 class="signature " id="comparable?-instance_method">
|
1228
1251
|
|
1229
|
-
|
1252
|
+
#<strong>comparable?</strong> ⇒ <tt>Boolean</tt>
|
1230
1253
|
|
1231
1254
|
|
1232
1255
|
|
@@ -1276,7 +1299,7 @@
|
|
1276
1299
|
<div class="method_details ">
|
1277
1300
|
<h3 class="signature " id="constructible?-instance_method">
|
1278
1301
|
|
1279
|
-
|
1302
|
+
#<strong>constructible?</strong> ⇒ <tt>Boolean</tt>
|
1280
1303
|
|
1281
1304
|
|
1282
1305
|
|
@@ -1326,7 +1349,7 @@
|
|
1326
1349
|
<div class="method_details ">
|
1327
1350
|
<h3 class="signature " id="copyable?-instance_method">
|
1328
1351
|
|
1329
|
-
|
1352
|
+
#<strong>copyable?</strong> ⇒ <tt>Boolean</tt>
|
1330
1353
|
|
1331
1354
|
|
1332
1355
|
|
@@ -1376,7 +1399,7 @@
|
|
1376
1399
|
<div class="method_details ">
|
1377
1400
|
<h3 class="signature " id="destructible?-instance_method">
|
1378
1401
|
|
1379
|
-
|
1402
|
+
#<strong>destructible?</strong> ⇒ <tt>Boolean</tt>
|
1380
1403
|
|
1381
1404
|
|
1382
1405
|
|
@@ -1426,7 +1449,7 @@
|
|
1426
1449
|
<div class="method_details ">
|
1427
1450
|
<h3 class="signature " id="entities-instance_method">
|
1428
1451
|
|
1429
|
-
|
1452
|
+
#<strong>entities</strong> ⇒ <tt>Object</tt>
|
1430
1453
|
|
1431
1454
|
|
1432
1455
|
|
@@ -1452,7 +1475,7 @@
|
|
1452
1475
|
<div class="method_details ">
|
1453
1476
|
<h3 class="signature " id="extern-instance_method">
|
1454
1477
|
|
1455
|
-
|
1478
|
+
#<strong>extern</strong> ⇒ <tt>Object</tt>
|
1456
1479
|
|
1457
1480
|
|
1458
1481
|
|
@@ -1489,7 +1512,7 @@
|
|
1489
1512
|
<div class="method_details ">
|
1490
1513
|
<h3 class="signature " id="free-instance_method">
|
1491
1514
|
|
1492
|
-
|
1515
|
+
#<strong>free</strong> ⇒ <tt>Object</tt>
|
1493
1516
|
|
1494
1517
|
|
1495
1518
|
|
@@ -1515,7 +1538,7 @@
|
|
1515
1538
|
<div class="method_details ">
|
1516
1539
|
<h3 class="signature " id="hash-instance_method">
|
1517
1540
|
|
1518
|
-
|
1541
|
+
#<strong>hash</strong> ⇒ <tt>Object</tt>
|
1519
1542
|
|
1520
1543
|
|
1521
1544
|
|
@@ -1541,7 +1564,7 @@
|
|
1541
1564
|
<div class="method_details ">
|
1542
1565
|
<h3 class="signature " id="hashable?-instance_method">
|
1543
1566
|
|
1544
|
-
|
1567
|
+
#<strong>hashable?</strong> ⇒ <tt>Boolean</tt>
|
1545
1568
|
|
1546
1569
|
|
1547
1570
|
|
@@ -1577,10 +1600,10 @@
|
|
1577
1600
|
<pre class="lines">
|
1578
1601
|
|
1579
1602
|
|
1580
|
-
|
1603
|
+
284</pre>
|
1581
1604
|
</td>
|
1582
1605
|
<td>
|
1583
|
-
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line
|
1606
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 284</span>
|
1584
1607
|
|
1585
1608
|
<span class='kw'>def</span> <span class='id identifier rubyid_hashable?'>hashable?</span><span class='semicolon'>;</span> <span class='kw'>false</span> <span class='kw'>end</span></pre>
|
1586
1609
|
</td>
|
@@ -1591,7 +1614,7 @@
|
|
1591
1614
|
<div class="method_details ">
|
1592
1615
|
<h3 class="signature " id="initializable?-instance_method">
|
1593
1616
|
|
1594
|
-
|
1617
|
+
#<strong>initializable?</strong> ⇒ <tt>Boolean</tt>
|
1595
1618
|
|
1596
1619
|
|
1597
1620
|
|
@@ -1641,7 +1664,7 @@
|
|
1641
1664
|
<div class="method_details ">
|
1642
1665
|
<h3 class="signature " id="inline-instance_method">
|
1643
1666
|
|
1644
|
-
|
1667
|
+
#<strong>inline</strong> ⇒ <tt>Object</tt>
|
1645
1668
|
|
1646
1669
|
|
1647
1670
|
|
@@ -1667,7 +1690,7 @@
|
|
1667
1690
|
<div class="method_details ">
|
1668
1691
|
<h3 class="signature " id="malloc-instance_method">
|
1669
1692
|
|
1670
|
-
|
1693
|
+
#<strong>malloc</strong> ⇒ <tt>Object</tt>
|
1671
1694
|
|
1672
1695
|
|
1673
1696
|
|
@@ -1693,7 +1716,7 @@
|
|
1693
1716
|
<div class="method_details ">
|
1694
1717
|
<h3 class="signature " id="orderable?-instance_method">
|
1695
1718
|
|
1696
|
-
|
1719
|
+
#<strong>orderable?</strong> ⇒ <tt>Boolean</tt>
|
1697
1720
|
|
1698
1721
|
|
1699
1722
|
|
@@ -1743,7 +1766,7 @@
|
|
1743
1766
|
<div class="method_details ">
|
1744
1767
|
<h3 class="signature " id="prefix-instance_method">
|
1745
1768
|
|
1746
|
-
|
1769
|
+
#<strong>prefix</strong> ⇒ <tt>Object</tt>
|
1747
1770
|
|
1748
1771
|
|
1749
1772
|
|
@@ -1777,7 +1800,7 @@
|
|
1777
1800
|
<div class="method_details ">
|
1778
1801
|
<h3 class="signature " id="private?-instance_method">
|
1779
1802
|
|
1780
|
-
|
1803
|
+
#<strong>private?</strong> ⇒ <tt>Boolean</tt>
|
1781
1804
|
|
1782
1805
|
|
1783
1806
|
|
@@ -1825,7 +1848,7 @@
|
|
1825
1848
|
<div class="method_details ">
|
1826
1849
|
<h3 class="signature " id="public?-instance_method">
|
1827
1850
|
|
1828
|
-
|
1851
|
+
#<strong>public?</strong> ⇒ <tt>Boolean</tt>
|
1829
1852
|
|
1830
1853
|
|
1831
1854
|
|
@@ -1868,12 +1891,62 @@
|
|
1868
1891
|
</td>
|
1869
1892
|
</tr>
|
1870
1893
|
</table>
|
1894
|
+
</div>
|
1895
|
+
|
1896
|
+
<div class="method_details ">
|
1897
|
+
<h3 class="signature " id="sortable?-instance_method">
|
1898
|
+
|
1899
|
+
#<strong>sortable?</strong> ⇒ <tt>Boolean</tt>
|
1900
|
+
|
1901
|
+
|
1902
|
+
|
1903
|
+
|
1904
|
+
|
1905
|
+
</h3><div class="docstring">
|
1906
|
+
<div class="discussion">
|
1907
|
+
<div class="paragraph">
|
1908
|
+
<p>Returns <strong>true</strong> if the type provides corrset soritng routines</p>
|
1909
|
+
</div>
|
1910
|
+
|
1911
|
+
</div>
|
1912
|
+
</div>
|
1913
|
+
<div class="tags">
|
1914
|
+
|
1915
|
+
<p class="tag_title">Returns:</p>
|
1916
|
+
<ul class="return">
|
1917
|
+
|
1918
|
+
<li>
|
1919
|
+
|
1920
|
+
|
1921
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1922
|
+
|
1923
|
+
|
1924
|
+
|
1925
|
+
</li>
|
1926
|
+
|
1927
|
+
</ul>
|
1928
|
+
|
1929
|
+
</div><table class="source_code">
|
1930
|
+
<tr>
|
1931
|
+
<td>
|
1932
|
+
<pre class="lines">
|
1933
|
+
|
1934
|
+
|
1935
|
+
281</pre>
|
1936
|
+
</td>
|
1937
|
+
<td>
|
1938
|
+
<pre class="code"><span class="info file"># File 'lib/autoc/type.rb', line 281</span>
|
1939
|
+
|
1940
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_sortable?'>sortable?</span><span class='semicolon'>;</span> <span class='id identifier rubyid_comparable?'>comparable?</span> <span class='op'>&&</span> <span class='id identifier rubyid_orderable?'>orderable?</span> <span class='kw'>end</span></pre>
|
1941
|
+
</td>
|
1942
|
+
</tr>
|
1943
|
+
</table>
|
1871
1944
|
</div>
|
1872
1945
|
|
1873
1946
|
<div class="method_details ">
|
1874
1947
|
<h3 class="signature " id="static-instance_method">
|
1875
1948
|
|
1876
|
-
|
1949
|
+
#<strong>static</strong> ⇒ <tt>Object</tt>
|
1877
1950
|
|
1878
1951
|
|
1879
1952
|
|
@@ -1899,7 +1972,7 @@
|
|
1899
1972
|
<div class="method_details ">
|
1900
1973
|
<h3 class="signature " id="static?-instance_method">
|
1901
1974
|
|
1902
|
-
|
1975
|
+
#<strong>static?</strong> ⇒ <tt>Boolean</tt>
|
1903
1976
|
|
1904
1977
|
|
1905
1978
|
|
@@ -1947,7 +2020,7 @@
|
|
1947
2020
|
<div class="method_details ">
|
1948
2021
|
<h3 class="signature " id="write_decls-instance_method">
|
1949
2022
|
|
1950
|
-
|
2023
|
+
#<strong>write_decls</strong>(stream) ⇒ <tt>Object</tt>
|
1951
2024
|
|
1952
2025
|
|
1953
2026
|
|
@@ -1989,7 +2062,7 @@
|
|
1989
2062
|
<div class="method_details ">
|
1990
2063
|
<h3 class="signature " id="write_defs-instance_method">
|
1991
2064
|
|
1992
|
-
|
2065
|
+
#<strong>write_defs</strong>(stream) ⇒ <tt>Object</tt>
|
1993
2066
|
|
1994
2067
|
|
1995
2068
|
|
@@ -2027,7 +2100,7 @@
|
|
2027
2100
|
<div class="method_details ">
|
2028
2101
|
<h3 class="signature " id="write_intf-instance_method">
|
2029
2102
|
|
2030
|
-
|
2103
|
+
#<strong>write_intf</strong>(stream) ⇒ <tt>Object</tt>
|
2031
2104
|
|
2032
2105
|
|
2033
2106
|
|
@@ -2064,11 +2137,12 @@
|
|
2064
2137
|
|
2065
2138
|
</div>
|
2066
2139
|
|
2067
|
-
|
2068
|
-
Generated on
|
2140
|
+
<div id="footer">
|
2141
|
+
Generated on Wed Oct 12 12:27:11 2016 by
|
2069
2142
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
2070
|
-
0.
|
2143
|
+
0.9.5 (ruby-2.3.1).
|
2071
2144
|
</div>
|
2072
2145
|
|
2146
|
+
</div>
|
2073
2147
|
</body>
|
2074
2148
|
</html>
|