aaronp-zomg 1.0.2.20080827232412

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. data/History.txt +25 -0
  2. data/Manifest.txt +238 -0
  3. data/README.txt +59 -0
  4. data/Rakefile +43 -0
  5. data/bin/omfg +56 -0
  6. data/lib/scanner.rex +169 -0
  7. data/lib/yacc.y +861 -0
  8. data/lib/zomg.rb +22 -0
  9. data/lib/zomg/idl.rb +14 -0
  10. data/lib/zomg/idl/nodes/attribute.rb +15 -0
  11. data/lib/zomg/idl/nodes/binary.rb +19 -0
  12. data/lib/zomg/idl/nodes/constant.rb +15 -0
  13. data/lib/zomg/idl/nodes/interface.rb +13 -0
  14. data/lib/zomg/idl/nodes/interface_header.rb +14 -0
  15. data/lib/zomg/idl/nodes/member.rb +14 -0
  16. data/lib/zomg/idl/nodes/node.rb +54 -0
  17. data/lib/zomg/idl/nodes/operation.rb +17 -0
  18. data/lib/zomg/idl/nodes/parameter.rb +18 -0
  19. data/lib/zomg/idl/nodes/typedef.rb +13 -0
  20. data/lib/zomg/idl/nodes/union.rb +14 -0
  21. data/lib/zomg/idl/parser.rb +54 -0
  22. data/lib/zomg/idl/visitable.rb +15 -0
  23. data/lib/zomg/idl/visitors/duhr.rb +24 -0
  24. data/lib/zomg/idl/visitors/ruby_sexp.rb +204 -0
  25. data/lib/zomg/idl/visitors/sexp.rb +274 -0
  26. data/lib/zomg/version.rb +3 -0
  27. data/test/assets/array/array1.idl +60 -0
  28. data/test/assets/array/array2.idl +38 -0
  29. data/test/assets/array/array3.idl +8 -0
  30. data/test/assets/array/array4.idl +7 -0
  31. data/test/assets/array/array5.idl +80 -0
  32. data/test/assets/attribute/grid_0attribs_2methods.idl +16 -0
  33. data/test/assets/attribute/grid_1ROattribs_1attribs_0methods.idl +19 -0
  34. data/test/assets/attribute/grid_1ROattribs_1attribs_1methods.idl +19 -0
  35. data/test/assets/attribute/grid_1ROattribs_1attribs_2methods.idl +17 -0
  36. data/test/assets/attribute/grid_1ROattribs_1methods.idl +16 -0
  37. data/test/assets/attribute/grid_1ROattribs_2methods.idl +16 -0
  38. data/test/assets/attribute/grid_1attribs_1methods.idl +17 -0
  39. data/test/assets/attribute/grid_1attribs_2methods.idl +17 -0
  40. data/test/assets/attribute/grid_2ROattribs_0methods.idl +16 -0
  41. data/test/assets/attribute/grid_2ROattribs_1methods.idl +16 -0
  42. data/test/assets/attribute/grid_2ROattribs_2methods.idl +16 -0
  43. data/test/assets/attribute/grid_2attribs_0methods.idl +19 -0
  44. data/test/assets/attribute/grid_2attribs_1methods.idl +19 -0
  45. data/test/assets/attribute/grid_2attribs_2methods.idl +19 -0
  46. data/test/assets/comment/c_style_comments.idl +63 -0
  47. data/test/assets/comment/comment1.idl +57 -0
  48. data/test/assets/comment/cpp_style_comments.idl +168 -0
  49. data/test/assets/comment/shortform.idl +0 -0
  50. data/test/assets/complex/TestCodeSets.idl +10 -0
  51. data/test/assets/complex/TestIntfContext.idl +13 -0
  52. data/test/assets/complex/TestIntfLongLong.idl +51 -0
  53. data/test/assets/complex/TestIntfWChar.idl +52 -0
  54. data/test/assets/complex/any1.idl +22 -0
  55. data/test/assets/complex/complex1.idl +495 -0
  56. data/test/assets/complex/complex2.idl +730 -0
  57. data/test/assets/complex/complex3.idl +181 -0
  58. data/test/assets/complex/complex4.idl +181 -0
  59. data/test/assets/complex/interop_wchar.idl +60 -0
  60. data/test/assets/constant/constant1.idl +37 -0
  61. data/test/assets/constant/constant2.idl +29 -0
  62. data/test/assets/constant/constant3.idl +50 -0
  63. data/test/assets/constant/constant4.idl +21 -0
  64. data/test/assets/constant/constant5.idl +65 -0
  65. data/test/assets/constant/constant6.idl +144 -0
  66. data/test/assets/constant/constant7.idl +30 -0
  67. data/test/assets/enum/enum1.idl +13 -0
  68. data/test/assets/exception/TestIntfExceptions.idl +69 -0
  69. data/test/assets/exception/TestIntfExceptionsExt_2_0.idl +34 -0
  70. data/test/assets/exception/TestIntfExceptionsExt_2_3.idl +24 -0
  71. data/test/assets/exception/ex1.idl +6 -0
  72. data/test/assets/exception/ex2.idl +18 -0
  73. data/test/assets/exception/ex3.idl +10 -0
  74. data/test/assets/exception/ex4.idl +20 -0
  75. data/test/assets/exception/sc.idl +0 -0
  76. data/test/assets/exception/simple1.idl +18 -0
  77. data/test/assets/exception/simple2.idl +25 -0
  78. data/test/assets/factory/factory1.idl +77 -0
  79. data/test/assets/factory/objref.idl +25 -0
  80. data/test/assets/forward/forward.idl +15 -0
  81. data/test/assets/forward/forward1.idl +13 -0
  82. data/test/assets/forward/fwd_incl1.idl +6 -0
  83. data/test/assets/forward/fwd_incl2.idl +7 -0
  84. data/test/assets/include/a.idl +23 -0
  85. data/test/assets/include/b.idl +16 -0
  86. data/test/assets/include/employee.idl +12 -0
  87. data/test/assets/include/include1.idl +10 -0
  88. data/test/assets/include/include2.idl +5 -0
  89. data/test/assets/include/manager.idl +10 -0
  90. data/test/assets/include/pragma.idl +41 -0
  91. data/test/assets/include/rookie.idl +13 -0
  92. data/test/assets/include/rookiemanager.idl +15 -0
  93. data/test/assets/include/sample.idl +58 -0
  94. data/test/assets/include/sample_incl.idl +406 -0
  95. data/test/assets/inherit/IDL1.idl +18 -0
  96. data/test/assets/inherit/IDL2.idl +18 -0
  97. data/test/assets/inherit/IDL3.idl +18 -0
  98. data/test/assets/inherit/IDL4.idl +17 -0
  99. data/test/assets/inherit/diamond_inheritance.idl +31 -0
  100. data/test/assets/inherit/inherit.idl +27 -0
  101. data/test/assets/limit/longidentifiers.idl +25 -0
  102. data/test/assets/limit/namelens.idl +26 -0
  103. data/test/assets/limit/tpztest.idl +21 -0
  104. data/test/assets/module/module1.idl +29 -0
  105. data/test/assets/module/module2.idl +34 -0
  106. data/test/assets/module/module3.idl +20 -0
  107. data/test/assets/module/module4.idl +15 -0
  108. data/test/assets/nested/nested1.idl +5 -0
  109. data/test/assets/nested/nested2.idl +11 -0
  110. data/test/assets/operations/Benchmark.idl +331 -0
  111. data/test/assets/operations/CCS.idl +82 -0
  112. data/test/assets/operations/TestIntf.idl +40 -0
  113. data/test/assets/operations/TestIntfBasic.idl +653 -0
  114. data/test/assets/operations/atomic.idl +40 -0
  115. data/test/assets/operations/dif2.idl +48 -0
  116. data/test/assets/operations/interface1.idl +16 -0
  117. data/test/assets/operations/parameters.idl +111 -0
  118. data/test/assets/operations/perf.idl +84 -0
  119. data/test/assets/operations/timer.idl +104 -0
  120. data/test/assets/preprocess/base_for_diamond_inheritance_with_macros.idl +17 -0
  121. data/test/assets/preprocess/basic_macro_marshalling.idl +54 -0
  122. data/test/assets/preprocess/diamond_inheritance_with_macros.idl +74 -0
  123. data/test/assets/preprocess/macro1.idl +52 -0
  124. data/test/assets/preprocess/preprocess1.idl +246 -0
  125. data/test/assets/preprocess/preprocess2.idl +3 -0
  126. data/test/assets/recursion/loop.idl +28 -0
  127. data/test/assets/recursion/recursion1.idl +47 -0
  128. data/test/assets/recursion/recursion2.idl +74 -0
  129. data/test/assets/scenarios/filestat.idl +69 -0
  130. data/test/assets/scenarios/gateway.idl +176 -0
  131. data/test/assets/scenarios/library.idl +20 -0
  132. data/test/assets/scenarios/phone.idl +24 -0
  133. data/test/assets/scenarios/ticketservice.idl +118 -0
  134. data/test/assets/scope/scope01.idl +58 -0
  135. data/test/assets/scope/scope02.idl +25 -0
  136. data/test/assets/scope/scope03.idl +22 -0
  137. data/test/assets/scope/scope04.idl +27 -0
  138. data/test/assets/scope/scope05.idl +30 -0
  139. data/test/assets/scope/scope06.idl +51 -0
  140. data/test/assets/scope/scope07.idl +20 -0
  141. data/test/assets/scope/scope08.idl +88 -0
  142. data/test/assets/scope/scope09.idl +21 -0
  143. data/test/assets/scope/scope10.idl +95 -0
  144. data/test/assets/scope/scope11.idl +62 -0
  145. data/test/assets/scope/scope12.idl +117 -0
  146. data/test/assets/scope/scope13.idl +117 -0
  147. data/test/assets/scope/scope14.idl +117 -0
  148. data/test/assets/scope/scope15.idl +117 -0
  149. data/test/assets/scope/scope16.idl +117 -0
  150. data/test/assets/scope/scope17.idl +117 -0
  151. data/test/assets/scope/scope18.idl +117 -0
  152. data/test/assets/scope/scope19.idl +117 -0
  153. data/test/assets/scope/scope20.idl +215 -0
  154. data/test/assets/scope/scope21.idl +215 -0
  155. data/test/assets/scope/scope22.idl +205 -0
  156. data/test/assets/scope/scope23.idl +261 -0
  157. data/test/assets/scope/scope24.idl +376 -0
  158. data/test/assets/scope/scope25.idl +266 -0
  159. data/test/assets/scope/scope26.idl +180 -0
  160. data/test/assets/scope/scope27.idl +184 -0
  161. data/test/assets/scope/scope28.idl +182 -0
  162. data/test/assets/scope/scope29.idl +182 -0
  163. data/test/assets/scope/scope30.idl +40 -0
  164. data/test/assets/scope/scope31.idl +33 -0
  165. data/test/assets/scope/scope32.idl +37 -0
  166. data/test/assets/scope/scope33.idl +50 -0
  167. data/test/assets/scope/scope34.idl +97 -0
  168. data/test/assets/scope/scope35.idl +72 -0
  169. data/test/assets/scope/scope36.idl +167 -0
  170. data/test/assets/scope/scope37.idl +57 -0
  171. data/test/assets/scope/scope38.idl +38 -0
  172. data/test/assets/scope/scope39.idl +38 -0
  173. data/test/assets/scope/scope40.idl +38 -0
  174. data/test/assets/scope/scope41.idl +24 -0
  175. data/test/assets/scope/scope42.idl +64 -0
  176. data/test/assets/scope/scope43.idl +66 -0
  177. data/test/assets/scope/scope44.idl +52 -0
  178. data/test/assets/sequence/sequence1.idl +24 -0
  179. data/test/assets/sequence/sequence2.idl +9 -0
  180. data/test/assets/simple/basictypes1.idl +80 -0
  181. data/test/assets/simple/basictypes2.idl +197 -0
  182. data/test/assets/simple/basictypes3.idl +23 -0
  183. data/test/assets/simple/basictypes4.idl +73 -0
  184. data/test/assets/simple/basictypes5.idl +29 -0
  185. data/test/assets/simple/basictypes6.idl +63 -0
  186. data/test/assets/simple/simple1.idl +45 -0
  187. data/test/assets/simple/simple2.idl +61 -0
  188. data/test/assets/simple/simple3.idl +36 -0
  189. data/test/assets/string/string1.idl +11 -0
  190. data/test/assets/string/string2.idl +29 -0
  191. data/test/assets/struct/struct1.idl +20 -0
  192. data/test/assets/struct/struct2.idl +21 -0
  193. data/test/assets/struct/struct3.idl +42 -0
  194. data/test/assets/struct/struct4.idl +57 -0
  195. data/test/assets/struct/struct5.idl +71 -0
  196. data/test/assets/typecode/orb.idl +0 -0
  197. data/test/assets/typecode/pseudo.idl +25 -0
  198. data/test/assets/typedef/shorthand_typedef_struct_insideIF.idl +17 -0
  199. data/test/assets/typedef/shorthand_typedef_struct_insideIF_noMO.idl +16 -0
  200. data/test/assets/typedef/shorthand_typedef_struct_insideMO.idl +17 -0
  201. data/test/assets/typedef/shorthand_typedef_struct_outsideMO.idl +17 -0
  202. data/test/assets/typedef/typedef1.idl +8 -0
  203. data/test/assets/typedef/typedef2.idl +22 -0
  204. data/test/assets/typedef/typedef_struct_insideIF.idl +18 -0
  205. data/test/assets/typedef/typedef_struct_insideMO.idl +18 -0
  206. data/test/assets/typedef/typedef_struct_outsideMO.idl +18 -0
  207. data/test/assets/union/union1.idl +31 -0
  208. data/test/assets/union/union2.idl +22 -0
  209. data/test/assets/union/union3.idl +26 -0
  210. data/test/conversions/test_attribute.rb +46 -0
  211. data/test/conversions/test_enum.rb +25 -0
  212. data/test/conversions/test_exception.rb +24 -0
  213. data/test/conversions/test_forward_declaration.rb +22 -0
  214. data/test/conversions/test_interface.rb +30 -0
  215. data/test/conversions/test_module.rb +24 -0
  216. data/test/conversions/test_struct.rb +25 -0
  217. data/test/conversions/test_typedef.rb +22 -0
  218. data/test/conversions/test_union.rb +27 -0
  219. data/test/conversions/test_value_box_dcl.rb +22 -0
  220. data/test/helper.rb +23 -0
  221. data/test/simple/test_basictypes1.rb +87 -0
  222. data/test/simple/test_basictypes2.rb +18 -0
  223. data/test/simple/test_basictypes3.rb +32 -0
  224. data/test/simple/test_basictypes4.rb +25 -0
  225. data/test/simple/test_basictypes5.rb +17 -0
  226. data/test/simple/test_basictypes6.rb +19 -0
  227. data/test/simple/test_simple1.rb +40 -0
  228. data/test/simple/test_simple2.rb +48 -0
  229. data/test/simple/test_simple3.rb +20 -0
  230. data/test/test_array.rb +22 -0
  231. data/test/test_assets.rb +33 -0
  232. data/test/test_complex.rb +17 -0
  233. data/test/test_node.rb +16 -0
  234. data/test/test_parser.rb +17 -0
  235. data/test/test_scanner.rb +234 -0
  236. metadata +334 -0
@@ -0,0 +1,62 @@
1
+
2
+
3
+ module LoganBerry{
4
+
5
+ module BlackCherry{
6
+ typedef octet Starfruit;
7
+
8
+ };
9
+
10
+
11
+ module Parsnip{
12
+ typedef char Ginger;
13
+
14
+
15
+ module Celery{
16
+ struct Lychees{
17
+ Parsnip::Ginger Apricots;
18
+ };
19
+
20
+ struct WhiteCabbage{
21
+ ::LoganBerry::Parsnip::Ginger Apricots;
22
+ };
23
+
24
+ };
25
+
26
+ };
27
+
28
+ interface Apple{
29
+
30
+ typedef long Orange;
31
+
32
+ exception Mint{
33
+ long GardenPeas;
34
+ };
35
+ };
36
+
37
+ interface Banana : Apple{
38
+
39
+ typedef Orange GaliaMelon;
40
+
41
+ void Sultana();
42
+ };
43
+
44
+ };
45
+
46
+ interface Carrots : LoganBerry::Apple{
47
+
48
+ typedef float Turnip;
49
+ };
50
+
51
+ interface idlServer : LoganBerry::Banana, Carrots{
52
+
53
+ typedef char Orange;
54
+
55
+ attribute ::LoganBerry::Parsnip::Celery::WhiteCabbage Aniseed;
56
+
57
+ void Bayleaf(
58
+ in ::idlServer::GaliaMelon p1,
59
+ out long Aniseed
60
+ );
61
+ };
62
+
@@ -0,0 +1,117 @@
1
+
2
+
3
+ typedef sequence<long,18> LoganBerry;
4
+
5
+ typedef sequence<long,18> Parsnip[13];
6
+
7
+ typedef sequence<short> Celery;
8
+
9
+ typedef sequence<short> WhiteCabbage[15];
10
+
11
+ typedef sequence<short,11> Aniseed;
12
+
13
+ typedef sequence<short,7> Bayleaf[10];
14
+
15
+ typedef sequence<unsigned long> Dill;
16
+
17
+ typedef sequence<unsigned long> Oregano[19];
18
+
19
+ interface idlServer {
20
+
21
+ exception LoganBerryExcpt{
22
+ ::LoganBerry ex1;
23
+ };
24
+
25
+ attribute ::LoganBerry LoganBerryAttr;
26
+
27
+ ::LoganBerry LoganBerryOp(
28
+ in ::LoganBerry p1,
29
+ out ::LoganBerry p2,
30
+ inout ::LoganBerry p3
31
+ ) raises (LoganBerryExcpt);
32
+
33
+ exception ParsnipExcpt{
34
+ ::Parsnip ex1;
35
+ };
36
+
37
+ attribute ::Parsnip ParsnipAttr;
38
+
39
+ ::Parsnip ParsnipOp(
40
+ in ::Parsnip p1,
41
+ out ::Parsnip p2,
42
+ inout ::Parsnip p3
43
+ ) raises (ParsnipExcpt);
44
+
45
+ exception CeleryExcpt{
46
+ ::Celery ex1;
47
+ };
48
+
49
+ attribute ::Celery CeleryAttr;
50
+
51
+ ::Celery CeleryOp(
52
+ in ::Celery p1,
53
+ out ::Celery p2,
54
+ inout ::Celery p3
55
+ ) raises (CeleryExcpt);
56
+
57
+ exception WhiteCabbageExcpt{
58
+ ::WhiteCabbage ex1;
59
+ };
60
+
61
+ attribute ::WhiteCabbage WhiteCabbageAttr;
62
+
63
+ ::WhiteCabbage WhiteCabbageOp(
64
+ in ::WhiteCabbage p1,
65
+ out ::WhiteCabbage p2,
66
+ inout ::WhiteCabbage p3
67
+ ) raises (WhiteCabbageExcpt);
68
+
69
+ exception AniseedExcpt{
70
+ ::Aniseed ex1;
71
+ };
72
+
73
+ attribute ::Aniseed AniseedAttr;
74
+
75
+ ::Aniseed AniseedOp(
76
+ in ::Aniseed p1,
77
+ out ::Aniseed p2,
78
+ inout ::Aniseed p3
79
+ ) raises (AniseedExcpt);
80
+
81
+ exception BayleafExcpt{
82
+ ::Bayleaf ex1;
83
+ };
84
+
85
+ attribute ::Bayleaf BayleafAttr;
86
+
87
+ ::Bayleaf BayleafOp(
88
+ in ::Bayleaf p1,
89
+ out ::Bayleaf p2,
90
+ inout ::Bayleaf p3
91
+ ) raises (BayleafExcpt);
92
+
93
+ exception DillExcpt{
94
+ ::Dill ex1;
95
+ };
96
+
97
+ attribute ::Dill DillAttr;
98
+
99
+ ::Dill DillOp(
100
+ in ::Dill p1,
101
+ out ::Dill p2,
102
+ inout ::Dill p3
103
+ ) raises (DillExcpt);
104
+
105
+ exception OreganoExcpt{
106
+ ::Oregano ex1;
107
+ };
108
+
109
+ attribute ::Oregano OreganoAttr;
110
+
111
+ ::Oregano OreganoOp(
112
+ in ::Oregano p1,
113
+ out ::Oregano p2,
114
+ inout ::Oregano p3
115
+ ) raises (OreganoExcpt);
116
+ };
117
+
@@ -0,0 +1,117 @@
1
+
2
+
3
+ typedef sequence<unsigned long,18> Beansprout;
4
+
5
+ typedef sequence<unsigned long,18> Almonds[13];
6
+
7
+ typedef sequence<unsigned short> Guava;
8
+
9
+ typedef sequence<unsigned short> Mushroom[15];
10
+
11
+ typedef sequence<unsigned short,11> Runnerbean;
12
+
13
+ typedef sequence<unsigned short,7> Tofu[10];
14
+
15
+ typedef sequence<char> Prunes;
16
+
17
+ typedef sequence<char> Brocoli[19];
18
+
19
+ interface idlServer {
20
+
21
+ exception BeansproutExcpt{
22
+ ::Beansprout ex1;
23
+ };
24
+
25
+ attribute ::Beansprout BeansproutAttr;
26
+
27
+ ::Beansprout BeansproutOp(
28
+ in ::Beansprout p1,
29
+ out ::Beansprout p2,
30
+ inout ::Beansprout p3
31
+ ) raises (BeansproutExcpt);
32
+
33
+ exception AlmondsExcpt{
34
+ ::Almonds ex1;
35
+ };
36
+
37
+ attribute ::Almonds AlmondsAttr;
38
+
39
+ ::Almonds AlmondsOp(
40
+ in ::Almonds p1,
41
+ out ::Almonds p2,
42
+ inout ::Almonds p3
43
+ ) raises (AlmondsExcpt);
44
+
45
+ exception GuavaExcpt{
46
+ ::Guava ex1;
47
+ };
48
+
49
+ attribute ::Guava GuavaAttr;
50
+
51
+ ::Guava GuavaOp(
52
+ in ::Guava p1,
53
+ out ::Guava p2,
54
+ inout ::Guava p3
55
+ ) raises (GuavaExcpt);
56
+
57
+ exception MushroomExcpt{
58
+ ::Mushroom ex1;
59
+ };
60
+
61
+ attribute ::Mushroom MushroomAttr;
62
+
63
+ ::Mushroom MushroomOp(
64
+ in ::Mushroom p1,
65
+ out ::Mushroom p2,
66
+ inout ::Mushroom p3
67
+ ) raises (MushroomExcpt);
68
+
69
+ exception RunnerbeanExcpt{
70
+ ::Runnerbean ex1;
71
+ };
72
+
73
+ attribute ::Runnerbean RunnerbeanAttr;
74
+
75
+ ::Runnerbean RunnerbeanOp(
76
+ in ::Runnerbean p1,
77
+ out ::Runnerbean p2,
78
+ inout ::Runnerbean p3
79
+ ) raises (RunnerbeanExcpt);
80
+
81
+ exception TofuExcpt{
82
+ ::Tofu ex1;
83
+ };
84
+
85
+ attribute ::Tofu TofuAttr;
86
+
87
+ ::Tofu TofuOp(
88
+ in ::Tofu p1,
89
+ out ::Tofu p2,
90
+ inout ::Tofu p3
91
+ ) raises (TofuExcpt);
92
+
93
+ exception PrunesExcpt{
94
+ ::Prunes ex1;
95
+ };
96
+
97
+ attribute ::Prunes PrunesAttr;
98
+
99
+ ::Prunes PrunesOp(
100
+ in ::Prunes p1,
101
+ out ::Prunes p2,
102
+ inout ::Prunes p3
103
+ ) raises (PrunesExcpt);
104
+
105
+ exception BrocoliExcpt{
106
+ ::Brocoli ex1;
107
+ };
108
+
109
+ attribute ::Brocoli BrocoliAttr;
110
+
111
+ ::Brocoli BrocoliOp(
112
+ in ::Brocoli p1,
113
+ out ::Brocoli p2,
114
+ inout ::Brocoli p3
115
+ ) raises (BrocoliExcpt);
116
+ };
117
+
@@ -0,0 +1,117 @@
1
+
2
+
3
+ typedef sequence<char,18> GrannySmith;
4
+
5
+ typedef sequence<char,18> BrazilNut[13];
6
+
7
+ typedef sequence<boolean> SweetPotato;
8
+
9
+ typedef sequence<boolean> Tangarine[15];
10
+
11
+ typedef sequence<boolean,11> Billberries;
12
+
13
+ typedef sequence<boolean,7> CantelopeMelon[10];
14
+
15
+ typedef sequence<octet> LolloRossa;
16
+
17
+ typedef sequence<octet> RowanBerry[19];
18
+
19
+ interface idlServer {
20
+
21
+ exception GrannySmithExcpt{
22
+ ::GrannySmith ex1;
23
+ };
24
+
25
+ attribute ::GrannySmith GrannySmithAttr;
26
+
27
+ ::GrannySmith GrannySmithOp(
28
+ in ::GrannySmith p1,
29
+ out ::GrannySmith p2,
30
+ inout ::GrannySmith p3
31
+ ) raises (GrannySmithExcpt);
32
+
33
+ exception BrazilNutExcpt{
34
+ ::BrazilNut ex1;
35
+ };
36
+
37
+ attribute ::BrazilNut BrazilNutAttr;
38
+
39
+ ::BrazilNut BrazilNutOp(
40
+ in ::BrazilNut p1,
41
+ out ::BrazilNut p2,
42
+ inout ::BrazilNut p3
43
+ ) raises (BrazilNutExcpt);
44
+
45
+ exception SweetPotatoExcpt{
46
+ ::SweetPotato ex1;
47
+ };
48
+
49
+ attribute ::SweetPotato SweetPotatoAttr;
50
+
51
+ ::SweetPotato SweetPotatoOp(
52
+ in ::SweetPotato p1,
53
+ out ::SweetPotato p2,
54
+ inout ::SweetPotato p3
55
+ ) raises (SweetPotatoExcpt);
56
+
57
+ exception TangarineExcpt{
58
+ ::Tangarine ex1;
59
+ };
60
+
61
+ attribute ::Tangarine TangarineAttr;
62
+
63
+ ::Tangarine TangarineOp(
64
+ in ::Tangarine p1,
65
+ out ::Tangarine p2,
66
+ inout ::Tangarine p3
67
+ ) raises (TangarineExcpt);
68
+
69
+ exception BillberriesExcpt{
70
+ ::Billberries ex1;
71
+ };
72
+
73
+ attribute ::Billberries BillberriesAttr;
74
+
75
+ ::Billberries BillberriesOp(
76
+ in ::Billberries p1,
77
+ out ::Billberries p2,
78
+ inout ::Billberries p3
79
+ ) raises (BillberriesExcpt);
80
+
81
+ exception CantelopeMelonExcpt{
82
+ ::CantelopeMelon ex1;
83
+ };
84
+
85
+ attribute ::CantelopeMelon CantelopeMelonAttr;
86
+
87
+ ::CantelopeMelon CantelopeMelonOp(
88
+ in ::CantelopeMelon p1,
89
+ out ::CantelopeMelon p2,
90
+ inout ::CantelopeMelon p3
91
+ ) raises (CantelopeMelonExcpt);
92
+
93
+ exception LolloRossaExcpt{
94
+ ::LolloRossa ex1;
95
+ };
96
+
97
+ attribute ::LolloRossa LolloRossaAttr;
98
+
99
+ ::LolloRossa LolloRossaOp(
100
+ in ::LolloRossa p1,
101
+ out ::LolloRossa p2,
102
+ inout ::LolloRossa p3
103
+ ) raises (LolloRossaExcpt);
104
+
105
+ exception RowanBerryExcpt{
106
+ ::RowanBerry ex1;
107
+ };
108
+
109
+ attribute ::RowanBerry RowanBerryAttr;
110
+
111
+ ::RowanBerry RowanBerryOp(
112
+ in ::RowanBerry p1,
113
+ out ::RowanBerry p2,
114
+ inout ::RowanBerry p3
115
+ ) raises (RowanBerryExcpt);
116
+ };
117
+
@@ -0,0 +1,117 @@
1
+
2
+
3
+ typedef sequence<octet,18> Sweetcorn;
4
+
5
+ typedef sequence<octet,18> Onion[13];
6
+
7
+ typedef sequence<sequence<float> > Shallots;
8
+
9
+ typedef sequence<sequence<float> > Plum[15];
10
+
11
+ typedef sequence<sequence<float> ,11> KidneyBean;
12
+
13
+ typedef sequence<sequence<float> ,7> Zucchini[10];
14
+
15
+ typedef sequence<sequence<float,19> > ButterBean;
16
+
17
+ typedef sequence<sequence<float,12> > Avocado[6];
18
+
19
+ interface idlServer {
20
+
21
+ exception SweetcornExcpt{
22
+ ::Sweetcorn ex1;
23
+ };
24
+
25
+ attribute ::Sweetcorn SweetcornAttr;
26
+
27
+ ::Sweetcorn SweetcornOp(
28
+ in ::Sweetcorn p1,
29
+ out ::Sweetcorn p2,
30
+ inout ::Sweetcorn p3
31
+ ) raises (SweetcornExcpt);
32
+
33
+ exception OnionExcpt{
34
+ ::Onion ex1;
35
+ };
36
+
37
+ attribute ::Onion OnionAttr;
38
+
39
+ ::Onion OnionOp(
40
+ in ::Onion p1,
41
+ out ::Onion p2,
42
+ inout ::Onion p3
43
+ ) raises (OnionExcpt);
44
+
45
+ exception ShallotsExcpt{
46
+ ::Shallots ex1;
47
+ };
48
+
49
+ attribute ::Shallots ShallotsAttr;
50
+
51
+ ::Shallots ShallotsOp(
52
+ in ::Shallots p1,
53
+ out ::Shallots p2,
54
+ inout ::Shallots p3
55
+ ) raises (ShallotsExcpt);
56
+
57
+ exception PlumExcpt{
58
+ ::Plum ex1;
59
+ };
60
+
61
+ attribute ::Plum PlumAttr;
62
+
63
+ ::Plum PlumOp(
64
+ in ::Plum p1,
65
+ out ::Plum p2,
66
+ inout ::Plum p3
67
+ ) raises (PlumExcpt);
68
+
69
+ exception KidneyBeanExcpt{
70
+ ::KidneyBean ex1;
71
+ };
72
+
73
+ attribute ::KidneyBean KidneyBeanAttr;
74
+
75
+ ::KidneyBean KidneyBeanOp(
76
+ in ::KidneyBean p1,
77
+ out ::KidneyBean p2,
78
+ inout ::KidneyBean p3
79
+ ) raises (KidneyBeanExcpt);
80
+
81
+ exception ZucchiniExcpt{
82
+ ::Zucchini ex1;
83
+ };
84
+
85
+ attribute ::Zucchini ZucchiniAttr;
86
+
87
+ ::Zucchini ZucchiniOp(
88
+ in ::Zucchini p1,
89
+ out ::Zucchini p2,
90
+ inout ::Zucchini p3
91
+ ) raises (ZucchiniExcpt);
92
+
93
+ exception ButterBeanExcpt{
94
+ ::ButterBean ex1;
95
+ };
96
+
97
+ attribute ::ButterBean ButterBeanAttr;
98
+
99
+ ::ButterBean ButterBeanOp(
100
+ in ::ButterBean p1,
101
+ out ::ButterBean p2,
102
+ inout ::ButterBean p3
103
+ ) raises (ButterBeanExcpt);
104
+
105
+ exception AvocadoExcpt{
106
+ ::Avocado ex1;
107
+ };
108
+
109
+ attribute ::Avocado AvocadoAttr;
110
+
111
+ ::Avocado AvocadoOp(
112
+ in ::Avocado p1,
113
+ out ::Avocado p2,
114
+ inout ::Avocado p3
115
+ ) raises (AvocadoExcpt);
116
+ };
117
+