aaronp-zomg 1.0.2.20080827232412
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.
- data/History.txt +25 -0
- data/Manifest.txt +238 -0
- data/README.txt +59 -0
- data/Rakefile +43 -0
- data/bin/omfg +56 -0
- data/lib/scanner.rex +169 -0
- data/lib/yacc.y +861 -0
- data/lib/zomg.rb +22 -0
- data/lib/zomg/idl.rb +14 -0
- data/lib/zomg/idl/nodes/attribute.rb +15 -0
- data/lib/zomg/idl/nodes/binary.rb +19 -0
- data/lib/zomg/idl/nodes/constant.rb +15 -0
- data/lib/zomg/idl/nodes/interface.rb +13 -0
- data/lib/zomg/idl/nodes/interface_header.rb +14 -0
- data/lib/zomg/idl/nodes/member.rb +14 -0
- data/lib/zomg/idl/nodes/node.rb +54 -0
- data/lib/zomg/idl/nodes/operation.rb +17 -0
- data/lib/zomg/idl/nodes/parameter.rb +18 -0
- data/lib/zomg/idl/nodes/typedef.rb +13 -0
- data/lib/zomg/idl/nodes/union.rb +14 -0
- data/lib/zomg/idl/parser.rb +54 -0
- data/lib/zomg/idl/visitable.rb +15 -0
- data/lib/zomg/idl/visitors/duhr.rb +24 -0
- data/lib/zomg/idl/visitors/ruby_sexp.rb +204 -0
- data/lib/zomg/idl/visitors/sexp.rb +274 -0
- data/lib/zomg/version.rb +3 -0
- data/test/assets/array/array1.idl +60 -0
- data/test/assets/array/array2.idl +38 -0
- data/test/assets/array/array3.idl +8 -0
- data/test/assets/array/array4.idl +7 -0
- data/test/assets/array/array5.idl +80 -0
- data/test/assets/attribute/grid_0attribs_2methods.idl +16 -0
- data/test/assets/attribute/grid_1ROattribs_1attribs_0methods.idl +19 -0
- data/test/assets/attribute/grid_1ROattribs_1attribs_1methods.idl +19 -0
- data/test/assets/attribute/grid_1ROattribs_1attribs_2methods.idl +17 -0
- data/test/assets/attribute/grid_1ROattribs_1methods.idl +16 -0
- data/test/assets/attribute/grid_1ROattribs_2methods.idl +16 -0
- data/test/assets/attribute/grid_1attribs_1methods.idl +17 -0
- data/test/assets/attribute/grid_1attribs_2methods.idl +17 -0
- data/test/assets/attribute/grid_2ROattribs_0methods.idl +16 -0
- data/test/assets/attribute/grid_2ROattribs_1methods.idl +16 -0
- data/test/assets/attribute/grid_2ROattribs_2methods.idl +16 -0
- data/test/assets/attribute/grid_2attribs_0methods.idl +19 -0
- data/test/assets/attribute/grid_2attribs_1methods.idl +19 -0
- data/test/assets/attribute/grid_2attribs_2methods.idl +19 -0
- data/test/assets/comment/c_style_comments.idl +63 -0
- data/test/assets/comment/comment1.idl +57 -0
- data/test/assets/comment/cpp_style_comments.idl +168 -0
- data/test/assets/comment/shortform.idl +0 -0
- data/test/assets/complex/TestCodeSets.idl +10 -0
- data/test/assets/complex/TestIntfContext.idl +13 -0
- data/test/assets/complex/TestIntfLongLong.idl +51 -0
- data/test/assets/complex/TestIntfWChar.idl +52 -0
- data/test/assets/complex/any1.idl +22 -0
- data/test/assets/complex/complex1.idl +495 -0
- data/test/assets/complex/complex2.idl +730 -0
- data/test/assets/complex/complex3.idl +181 -0
- data/test/assets/complex/complex4.idl +181 -0
- data/test/assets/complex/interop_wchar.idl +60 -0
- data/test/assets/constant/constant1.idl +37 -0
- data/test/assets/constant/constant2.idl +29 -0
- data/test/assets/constant/constant3.idl +50 -0
- data/test/assets/constant/constant4.idl +21 -0
- data/test/assets/constant/constant5.idl +65 -0
- data/test/assets/constant/constant6.idl +144 -0
- data/test/assets/constant/constant7.idl +30 -0
- data/test/assets/enum/enum1.idl +13 -0
- data/test/assets/exception/TestIntfExceptions.idl +69 -0
- data/test/assets/exception/TestIntfExceptionsExt_2_0.idl +34 -0
- data/test/assets/exception/TestIntfExceptionsExt_2_3.idl +24 -0
- data/test/assets/exception/ex1.idl +6 -0
- data/test/assets/exception/ex2.idl +18 -0
- data/test/assets/exception/ex3.idl +10 -0
- data/test/assets/exception/ex4.idl +20 -0
- data/test/assets/exception/sc.idl +0 -0
- data/test/assets/exception/simple1.idl +18 -0
- data/test/assets/exception/simple2.idl +25 -0
- data/test/assets/factory/factory1.idl +77 -0
- data/test/assets/factory/objref.idl +25 -0
- data/test/assets/forward/forward.idl +15 -0
- data/test/assets/forward/forward1.idl +13 -0
- data/test/assets/forward/fwd_incl1.idl +6 -0
- data/test/assets/forward/fwd_incl2.idl +7 -0
- data/test/assets/include/a.idl +23 -0
- data/test/assets/include/b.idl +16 -0
- data/test/assets/include/employee.idl +12 -0
- data/test/assets/include/include1.idl +10 -0
- data/test/assets/include/include2.idl +5 -0
- data/test/assets/include/manager.idl +10 -0
- data/test/assets/include/pragma.idl +41 -0
- data/test/assets/include/rookie.idl +13 -0
- data/test/assets/include/rookiemanager.idl +15 -0
- data/test/assets/include/sample.idl +58 -0
- data/test/assets/include/sample_incl.idl +406 -0
- data/test/assets/inherit/IDL1.idl +18 -0
- data/test/assets/inherit/IDL2.idl +18 -0
- data/test/assets/inherit/IDL3.idl +18 -0
- data/test/assets/inherit/IDL4.idl +17 -0
- data/test/assets/inherit/diamond_inheritance.idl +31 -0
- data/test/assets/inherit/inherit.idl +27 -0
- data/test/assets/limit/longidentifiers.idl +25 -0
- data/test/assets/limit/namelens.idl +26 -0
- data/test/assets/limit/tpztest.idl +21 -0
- data/test/assets/module/module1.idl +29 -0
- data/test/assets/module/module2.idl +34 -0
- data/test/assets/module/module3.idl +20 -0
- data/test/assets/module/module4.idl +15 -0
- data/test/assets/nested/nested1.idl +5 -0
- data/test/assets/nested/nested2.idl +11 -0
- data/test/assets/operations/Benchmark.idl +331 -0
- data/test/assets/operations/CCS.idl +82 -0
- data/test/assets/operations/TestIntf.idl +40 -0
- data/test/assets/operations/TestIntfBasic.idl +653 -0
- data/test/assets/operations/atomic.idl +40 -0
- data/test/assets/operations/dif2.idl +48 -0
- data/test/assets/operations/interface1.idl +16 -0
- data/test/assets/operations/parameters.idl +111 -0
- data/test/assets/operations/perf.idl +84 -0
- data/test/assets/operations/timer.idl +104 -0
- data/test/assets/preprocess/base_for_diamond_inheritance_with_macros.idl +17 -0
- data/test/assets/preprocess/basic_macro_marshalling.idl +54 -0
- data/test/assets/preprocess/diamond_inheritance_with_macros.idl +74 -0
- data/test/assets/preprocess/macro1.idl +52 -0
- data/test/assets/preprocess/preprocess1.idl +246 -0
- data/test/assets/preprocess/preprocess2.idl +3 -0
- data/test/assets/recursion/loop.idl +28 -0
- data/test/assets/recursion/recursion1.idl +47 -0
- data/test/assets/recursion/recursion2.idl +74 -0
- data/test/assets/scenarios/filestat.idl +69 -0
- data/test/assets/scenarios/gateway.idl +176 -0
- data/test/assets/scenarios/library.idl +20 -0
- data/test/assets/scenarios/phone.idl +24 -0
- data/test/assets/scenarios/ticketservice.idl +118 -0
- data/test/assets/scope/scope01.idl +58 -0
- data/test/assets/scope/scope02.idl +25 -0
- data/test/assets/scope/scope03.idl +22 -0
- data/test/assets/scope/scope04.idl +27 -0
- data/test/assets/scope/scope05.idl +30 -0
- data/test/assets/scope/scope06.idl +51 -0
- data/test/assets/scope/scope07.idl +20 -0
- data/test/assets/scope/scope08.idl +88 -0
- data/test/assets/scope/scope09.idl +21 -0
- data/test/assets/scope/scope10.idl +95 -0
- data/test/assets/scope/scope11.idl +62 -0
- data/test/assets/scope/scope12.idl +117 -0
- data/test/assets/scope/scope13.idl +117 -0
- data/test/assets/scope/scope14.idl +117 -0
- data/test/assets/scope/scope15.idl +117 -0
- data/test/assets/scope/scope16.idl +117 -0
- data/test/assets/scope/scope17.idl +117 -0
- data/test/assets/scope/scope18.idl +117 -0
- data/test/assets/scope/scope19.idl +117 -0
- data/test/assets/scope/scope20.idl +215 -0
- data/test/assets/scope/scope21.idl +215 -0
- data/test/assets/scope/scope22.idl +205 -0
- data/test/assets/scope/scope23.idl +261 -0
- data/test/assets/scope/scope24.idl +376 -0
- data/test/assets/scope/scope25.idl +266 -0
- data/test/assets/scope/scope26.idl +180 -0
- data/test/assets/scope/scope27.idl +184 -0
- data/test/assets/scope/scope28.idl +182 -0
- data/test/assets/scope/scope29.idl +182 -0
- data/test/assets/scope/scope30.idl +40 -0
- data/test/assets/scope/scope31.idl +33 -0
- data/test/assets/scope/scope32.idl +37 -0
- data/test/assets/scope/scope33.idl +50 -0
- data/test/assets/scope/scope34.idl +97 -0
- data/test/assets/scope/scope35.idl +72 -0
- data/test/assets/scope/scope36.idl +167 -0
- data/test/assets/scope/scope37.idl +57 -0
- data/test/assets/scope/scope38.idl +38 -0
- data/test/assets/scope/scope39.idl +38 -0
- data/test/assets/scope/scope40.idl +38 -0
- data/test/assets/scope/scope41.idl +24 -0
- data/test/assets/scope/scope42.idl +64 -0
- data/test/assets/scope/scope43.idl +66 -0
- data/test/assets/scope/scope44.idl +52 -0
- data/test/assets/sequence/sequence1.idl +24 -0
- data/test/assets/sequence/sequence2.idl +9 -0
- data/test/assets/simple/basictypes1.idl +80 -0
- data/test/assets/simple/basictypes2.idl +197 -0
- data/test/assets/simple/basictypes3.idl +23 -0
- data/test/assets/simple/basictypes4.idl +73 -0
- data/test/assets/simple/basictypes5.idl +29 -0
- data/test/assets/simple/basictypes6.idl +63 -0
- data/test/assets/simple/simple1.idl +45 -0
- data/test/assets/simple/simple2.idl +61 -0
- data/test/assets/simple/simple3.idl +36 -0
- data/test/assets/string/string1.idl +11 -0
- data/test/assets/string/string2.idl +29 -0
- data/test/assets/struct/struct1.idl +20 -0
- data/test/assets/struct/struct2.idl +21 -0
- data/test/assets/struct/struct3.idl +42 -0
- data/test/assets/struct/struct4.idl +57 -0
- data/test/assets/struct/struct5.idl +71 -0
- data/test/assets/typecode/orb.idl +0 -0
- data/test/assets/typecode/pseudo.idl +25 -0
- data/test/assets/typedef/shorthand_typedef_struct_insideIF.idl +17 -0
- data/test/assets/typedef/shorthand_typedef_struct_insideIF_noMO.idl +16 -0
- data/test/assets/typedef/shorthand_typedef_struct_insideMO.idl +17 -0
- data/test/assets/typedef/shorthand_typedef_struct_outsideMO.idl +17 -0
- data/test/assets/typedef/typedef1.idl +8 -0
- data/test/assets/typedef/typedef2.idl +22 -0
- data/test/assets/typedef/typedef_struct_insideIF.idl +18 -0
- data/test/assets/typedef/typedef_struct_insideMO.idl +18 -0
- data/test/assets/typedef/typedef_struct_outsideMO.idl +18 -0
- data/test/assets/union/union1.idl +31 -0
- data/test/assets/union/union2.idl +22 -0
- data/test/assets/union/union3.idl +26 -0
- data/test/conversions/test_attribute.rb +46 -0
- data/test/conversions/test_enum.rb +25 -0
- data/test/conversions/test_exception.rb +24 -0
- data/test/conversions/test_forward_declaration.rb +22 -0
- data/test/conversions/test_interface.rb +30 -0
- data/test/conversions/test_module.rb +24 -0
- data/test/conversions/test_struct.rb +25 -0
- data/test/conversions/test_typedef.rb +22 -0
- data/test/conversions/test_union.rb +27 -0
- data/test/conversions/test_value_box_dcl.rb +22 -0
- data/test/helper.rb +23 -0
- data/test/simple/test_basictypes1.rb +87 -0
- data/test/simple/test_basictypes2.rb +18 -0
- data/test/simple/test_basictypes3.rb +32 -0
- data/test/simple/test_basictypes4.rb +25 -0
- data/test/simple/test_basictypes5.rb +17 -0
- data/test/simple/test_basictypes6.rb +19 -0
- data/test/simple/test_simple1.rb +40 -0
- data/test/simple/test_simple2.rb +48 -0
- data/test/simple/test_simple3.rb +20 -0
- data/test/test_array.rb +22 -0
- data/test/test_assets.rb +33 -0
- data/test/test_complex.rb +17 -0
- data/test/test_node.rb +16 -0
- data/test/test_parser.rb +17 -0
- data/test/test_scanner.rb +234 -0
- metadata +334 -0
@@ -0,0 +1,82 @@
|
|
1
|
+
#pragma prefix "acme.com"
|
2
|
+
|
3
|
+
module CCS {
|
4
|
+
typedef unsigned long AssetType;
|
5
|
+
typedef string ModelType;
|
6
|
+
typedef short TempType;
|
7
|
+
typedef string LocType;
|
8
|
+
|
9
|
+
interface Thermometer {
|
10
|
+
readonly attribute ModelType model;
|
11
|
+
readonly attribute AssetType asset_num;
|
12
|
+
readonly attribute TempType temperature;
|
13
|
+
attribute LocType location;
|
14
|
+
|
15
|
+
void remove();
|
16
|
+
};
|
17
|
+
|
18
|
+
interface Thermostat : Thermometer {
|
19
|
+
struct BtData {
|
20
|
+
TempType requested;
|
21
|
+
TempType min_permitted;
|
22
|
+
TempType max_permitted;
|
23
|
+
string error_msg;
|
24
|
+
};
|
25
|
+
exception BadTemp { BtData details; };
|
26
|
+
|
27
|
+
TempType get_nominal();
|
28
|
+
TempType set_nominal(in TempType new_temp)
|
29
|
+
raises(BadTemp);
|
30
|
+
};
|
31
|
+
|
32
|
+
interface Controller {
|
33
|
+
exception DuplicateAsset {};
|
34
|
+
|
35
|
+
Thermometer create_thermometer(
|
36
|
+
in AssetType anum,
|
37
|
+
in LocType loc
|
38
|
+
) raises(DuplicateAsset);
|
39
|
+
Thermostat create_thermostat(
|
40
|
+
in AssetType anum,
|
41
|
+
in LocType loc,
|
42
|
+
in TempType temp
|
43
|
+
) raises(DuplicateAsset, Thermostat::BadTemp);
|
44
|
+
|
45
|
+
typedef sequence<Thermometer> ThermometerSeq;
|
46
|
+
typedef sequence<Thermostat> ThermostatSeq;
|
47
|
+
|
48
|
+
enum SearchCriterion { ASSET, LOCATION, MODEL };
|
49
|
+
|
50
|
+
union KeyType switch(SearchCriterion) {
|
51
|
+
case ASSET:
|
52
|
+
AssetType asset_num;
|
53
|
+
case LOCATION:
|
54
|
+
LocType loc;
|
55
|
+
case MODEL:
|
56
|
+
ModelType model_desc;
|
57
|
+
};
|
58
|
+
|
59
|
+
struct SearchType {
|
60
|
+
KeyType key;
|
61
|
+
Thermometer device;
|
62
|
+
};
|
63
|
+
typedef sequence<SearchType> SearchSeq;
|
64
|
+
|
65
|
+
struct ErrorDetails {
|
66
|
+
Thermostat tmstat_ref;
|
67
|
+
Thermostat::BtData info;
|
68
|
+
};
|
69
|
+
typedef sequence<ErrorDetails> ErrSeq;
|
70
|
+
|
71
|
+
exception EChange {
|
72
|
+
ErrSeq errors;
|
73
|
+
};
|
74
|
+
|
75
|
+
ThermometerSeq list();
|
76
|
+
void find(inout SearchSeq slist);
|
77
|
+
void change(
|
78
|
+
in ThermostatSeq tlist, in short delta
|
79
|
+
) raises(EChange);
|
80
|
+
|
81
|
+
};
|
82
|
+
};
|
@@ -0,0 +1,40 @@
|
|
1
|
+
module ORBTest
|
2
|
+
{
|
3
|
+
enum ORBType
|
4
|
+
{
|
5
|
+
ORBacus3,
|
6
|
+
ORBacus4,
|
7
|
+
OrbixE,
|
8
|
+
Orbix3,
|
9
|
+
Orbix2000
|
10
|
+
};
|
11
|
+
|
12
|
+
|
13
|
+
struct TestCase
|
14
|
+
{
|
15
|
+
string impl_description;
|
16
|
+
Object impl;
|
17
|
+
};
|
18
|
+
|
19
|
+
typedef sequence<TestCase> TestCaseList;
|
20
|
+
|
21
|
+
interface Intf
|
22
|
+
{
|
23
|
+
//
|
24
|
+
// General operations
|
25
|
+
//
|
26
|
+
|
27
|
+
ORBType
|
28
|
+
get_ORB_type();
|
29
|
+
|
30
|
+
void
|
31
|
+
deactivate();
|
32
|
+
|
33
|
+
boolean
|
34
|
+
concurrent_request_execution();
|
35
|
+
|
36
|
+
TestCaseList
|
37
|
+
get_test_case_list();
|
38
|
+
};
|
39
|
+
|
40
|
+
}; // module ORBTest
|
@@ -0,0 +1,653 @@
|
|
1
|
+
module ORBTest_Basic
|
2
|
+
{
|
3
|
+
interface Intf;
|
4
|
+
|
5
|
+
enum TestEnum
|
6
|
+
{
|
7
|
+
TestEnum1,
|
8
|
+
TestEnum2,
|
9
|
+
TestEnum3
|
10
|
+
};
|
11
|
+
|
12
|
+
struct FixedStruct
|
13
|
+
{
|
14
|
+
short s;
|
15
|
+
long l;
|
16
|
+
};
|
17
|
+
|
18
|
+
struct VariableStruct
|
19
|
+
{
|
20
|
+
string s;
|
21
|
+
};
|
22
|
+
|
23
|
+
union FixedUnion switch(unsigned short)
|
24
|
+
{
|
25
|
+
case 0: short s;
|
26
|
+
case 1: long l;
|
27
|
+
case 3: FixedStruct st;
|
28
|
+
default: boolean b;
|
29
|
+
};
|
30
|
+
|
31
|
+
union VariableUnion switch(boolean)
|
32
|
+
{
|
33
|
+
case FALSE: Intf ti;
|
34
|
+
case TRUE: VariableStruct st;
|
35
|
+
};
|
36
|
+
|
37
|
+
typedef sequence<string> StringSequence;
|
38
|
+
typedef short FixedArray[2][3][4];
|
39
|
+
typedef string VariableArray[2][3];
|
40
|
+
typedef sequence<FixedArray> FixedArraySequence;
|
41
|
+
typedef sequence<VariableArray> VariableArraySequence;
|
42
|
+
typedef sequence<FixedArray, 10> FixedArrayBoundSequence;
|
43
|
+
typedef sequence<VariableArray, 10> VariableArrayBoundSequence;
|
44
|
+
|
45
|
+
//struct RecursiveStruct; Not valid per spec
|
46
|
+
typedef sequence<RecursiveStruct> RecursiveStructSeq;
|
47
|
+
|
48
|
+
struct RecursiveStruct
|
49
|
+
{
|
50
|
+
string s;
|
51
|
+
short i;
|
52
|
+
RecursiveStructSeq rs;
|
53
|
+
};
|
54
|
+
|
55
|
+
exception ExVoid
|
56
|
+
{
|
57
|
+
};
|
58
|
+
|
59
|
+
exception ExShort
|
60
|
+
{
|
61
|
+
short value;
|
62
|
+
};
|
63
|
+
|
64
|
+
exception ExLong
|
65
|
+
{
|
66
|
+
long value;
|
67
|
+
};
|
68
|
+
|
69
|
+
exception ExUShort
|
70
|
+
{
|
71
|
+
unsigned short value;
|
72
|
+
};
|
73
|
+
|
74
|
+
exception ExULong
|
75
|
+
{
|
76
|
+
unsigned long value;
|
77
|
+
};
|
78
|
+
|
79
|
+
exception ExFloat
|
80
|
+
{
|
81
|
+
float value;
|
82
|
+
};
|
83
|
+
|
84
|
+
exception ExDouble
|
85
|
+
{
|
86
|
+
double value;
|
87
|
+
};
|
88
|
+
|
89
|
+
exception ExBoolean
|
90
|
+
{
|
91
|
+
boolean value;
|
92
|
+
};
|
93
|
+
|
94
|
+
exception ExChar
|
95
|
+
{
|
96
|
+
char value;
|
97
|
+
};
|
98
|
+
|
99
|
+
exception ExOctet
|
100
|
+
{
|
101
|
+
octet value;
|
102
|
+
};
|
103
|
+
|
104
|
+
exception ExString
|
105
|
+
{
|
106
|
+
string value;
|
107
|
+
};
|
108
|
+
|
109
|
+
exception ExAny
|
110
|
+
{
|
111
|
+
any value;
|
112
|
+
};
|
113
|
+
|
114
|
+
exception ExTestEnum
|
115
|
+
{
|
116
|
+
TestEnum value;
|
117
|
+
};
|
118
|
+
|
119
|
+
exception ExIntf
|
120
|
+
{
|
121
|
+
Intf value;
|
122
|
+
};
|
123
|
+
|
124
|
+
exception ExFixedStruct
|
125
|
+
{
|
126
|
+
FixedStruct value;
|
127
|
+
};
|
128
|
+
|
129
|
+
exception ExVariableStruct
|
130
|
+
{
|
131
|
+
VariableStruct value;
|
132
|
+
};
|
133
|
+
|
134
|
+
exception ExFixedUnion
|
135
|
+
{
|
136
|
+
FixedUnion value;
|
137
|
+
};
|
138
|
+
|
139
|
+
exception ExVariableUnion
|
140
|
+
{
|
141
|
+
VariableUnion value;
|
142
|
+
};
|
143
|
+
|
144
|
+
exception ExStringSequence
|
145
|
+
{
|
146
|
+
StringSequence value;
|
147
|
+
};
|
148
|
+
|
149
|
+
exception ExFixedArray
|
150
|
+
{
|
151
|
+
FixedArray value;
|
152
|
+
};
|
153
|
+
|
154
|
+
exception ExVariableArray
|
155
|
+
{
|
156
|
+
VariableArray value;
|
157
|
+
};
|
158
|
+
|
159
|
+
exception ExFixedArraySequence
|
160
|
+
{
|
161
|
+
FixedArraySequence value;
|
162
|
+
};
|
163
|
+
|
164
|
+
exception ExVariableArraySequence
|
165
|
+
{
|
166
|
+
VariableArraySequence value;
|
167
|
+
};
|
168
|
+
|
169
|
+
exception ExFixedArrayBoundSequence
|
170
|
+
{
|
171
|
+
FixedArrayBoundSequence value;
|
172
|
+
};
|
173
|
+
|
174
|
+
exception ExVariableArrayBoundSequence
|
175
|
+
{
|
176
|
+
VariableArrayBoundSequence value;
|
177
|
+
};
|
178
|
+
|
179
|
+
exception ExRecursiveStruct
|
180
|
+
{
|
181
|
+
unsigned short us;
|
182
|
+
RecursiveStruct rs;
|
183
|
+
};
|
184
|
+
|
185
|
+
interface Intf
|
186
|
+
{
|
187
|
+
void opVoid();
|
188
|
+
|
189
|
+
void
|
190
|
+
opVoidEx()
|
191
|
+
raises (ExVoid);
|
192
|
+
|
193
|
+
// --------------------------------------------------
|
194
|
+
|
195
|
+
attribute short attrShort;
|
196
|
+
|
197
|
+
short
|
198
|
+
opShort(
|
199
|
+
in short a0,
|
200
|
+
inout short a1,
|
201
|
+
out short a2
|
202
|
+
);
|
203
|
+
|
204
|
+
short
|
205
|
+
opShortEx(
|
206
|
+
in short a0,
|
207
|
+
inout short a1,
|
208
|
+
out short a2
|
209
|
+
)
|
210
|
+
raises (ExShort);
|
211
|
+
|
212
|
+
// --------------------------------------------------
|
213
|
+
|
214
|
+
attribute long attrLong;
|
215
|
+
|
216
|
+
long
|
217
|
+
opLong(
|
218
|
+
in long a0,
|
219
|
+
inout long a1,
|
220
|
+
out long a2
|
221
|
+
);
|
222
|
+
|
223
|
+
long
|
224
|
+
opLongEx(
|
225
|
+
in long a0,
|
226
|
+
inout long a1,
|
227
|
+
out long a2
|
228
|
+
)
|
229
|
+
raises (ExLong);
|
230
|
+
|
231
|
+
// --------------------------------------------------
|
232
|
+
|
233
|
+
attribute unsigned short attrUShort;
|
234
|
+
|
235
|
+
unsigned short
|
236
|
+
opUShort(
|
237
|
+
in unsigned short a0,
|
238
|
+
inout unsigned short a1,
|
239
|
+
out unsigned short a2
|
240
|
+
);
|
241
|
+
|
242
|
+
unsigned short opUShortEx(in unsigned short a0,
|
243
|
+
inout unsigned short a1,
|
244
|
+
out unsigned short a2)
|
245
|
+
raises (ExUShort);
|
246
|
+
|
247
|
+
// --------------------------------------------------
|
248
|
+
|
249
|
+
attribute unsigned long attrULong;
|
250
|
+
|
251
|
+
unsigned long
|
252
|
+
opULong(
|
253
|
+
in unsigned long a0,
|
254
|
+
inout unsigned long a1,
|
255
|
+
out unsigned long a2
|
256
|
+
);
|
257
|
+
|
258
|
+
unsigned long
|
259
|
+
opULongEx(
|
260
|
+
in unsigned long a0,
|
261
|
+
inout unsigned long a1,
|
262
|
+
out unsigned long a2
|
263
|
+
)
|
264
|
+
raises (ExULong);
|
265
|
+
|
266
|
+
// --------------------------------------------------
|
267
|
+
|
268
|
+
attribute float attrFloat;
|
269
|
+
|
270
|
+
float
|
271
|
+
opFloat(
|
272
|
+
in float a0,
|
273
|
+
inout float a1,
|
274
|
+
out float a2
|
275
|
+
);
|
276
|
+
|
277
|
+
float
|
278
|
+
opFloatEx(
|
279
|
+
in float a0,
|
280
|
+
inout float a1,
|
281
|
+
out float a2
|
282
|
+
)
|
283
|
+
raises (ExFloat);
|
284
|
+
|
285
|
+
// --------------------------------------------------
|
286
|
+
|
287
|
+
attribute double attrDouble;
|
288
|
+
|
289
|
+
double
|
290
|
+
opDouble(
|
291
|
+
in double a0,
|
292
|
+
inout double a1,
|
293
|
+
out double a2
|
294
|
+
);
|
295
|
+
|
296
|
+
double
|
297
|
+
opDoubleEx(
|
298
|
+
in double a0,
|
299
|
+
inout double a1,
|
300
|
+
out double a2
|
301
|
+
)
|
302
|
+
raises (ExDouble);
|
303
|
+
|
304
|
+
// --------------------------------------------------
|
305
|
+
|
306
|
+
attribute boolean attrBoolean;
|
307
|
+
|
308
|
+
boolean
|
309
|
+
opBoolean(
|
310
|
+
in boolean a0,
|
311
|
+
inout boolean a1,
|
312
|
+
out boolean a2
|
313
|
+
);
|
314
|
+
|
315
|
+
boolean
|
316
|
+
opBooleanEx(
|
317
|
+
in boolean a0,
|
318
|
+
inout boolean a1,
|
319
|
+
out boolean a2
|
320
|
+
)
|
321
|
+
raises (ExBoolean);
|
322
|
+
|
323
|
+
// --------------------------------------------------
|
324
|
+
|
325
|
+
attribute char attrChar;
|
326
|
+
|
327
|
+
char
|
328
|
+
opChar(
|
329
|
+
in char a0,
|
330
|
+
inout char a1,
|
331
|
+
out char a2
|
332
|
+
);
|
333
|
+
|
334
|
+
char
|
335
|
+
opCharEx(
|
336
|
+
in char a0,
|
337
|
+
inout char a1,
|
338
|
+
out char a2
|
339
|
+
)
|
340
|
+
raises (ExChar);
|
341
|
+
|
342
|
+
// --------------------------------------------------
|
343
|
+
|
344
|
+
attribute octet attrOctet;
|
345
|
+
|
346
|
+
octet
|
347
|
+
opOctet(
|
348
|
+
in octet a0,
|
349
|
+
inout octet a1,
|
350
|
+
out octet a2
|
351
|
+
);
|
352
|
+
|
353
|
+
octet
|
354
|
+
opOctetEx(
|
355
|
+
in octet a0,
|
356
|
+
inout octet a1,
|
357
|
+
out octet a2
|
358
|
+
)
|
359
|
+
raises (ExOctet);
|
360
|
+
|
361
|
+
// --------------------------------------------------
|
362
|
+
|
363
|
+
attribute string attrString;
|
364
|
+
|
365
|
+
string
|
366
|
+
opString(
|
367
|
+
in string a0,
|
368
|
+
inout string a1,
|
369
|
+
out string a2
|
370
|
+
);
|
371
|
+
|
372
|
+
string
|
373
|
+
opStringEx(
|
374
|
+
in string a0,
|
375
|
+
inout string a1,
|
376
|
+
out string a2
|
377
|
+
)
|
378
|
+
raises (ExString);
|
379
|
+
|
380
|
+
// --------------------------------------------------
|
381
|
+
|
382
|
+
attribute any attrAny;
|
383
|
+
|
384
|
+
any
|
385
|
+
opAny(
|
386
|
+
in any a0,
|
387
|
+
inout any a1,
|
388
|
+
out any a2
|
389
|
+
);
|
390
|
+
|
391
|
+
any
|
392
|
+
opAnyEx(
|
393
|
+
in any a0,
|
394
|
+
inout any a1,
|
395
|
+
out any a2
|
396
|
+
)
|
397
|
+
raises (ExAny);
|
398
|
+
|
399
|
+
// --------------------------------------------------
|
400
|
+
|
401
|
+
attribute TestEnum attrTestEnum;
|
402
|
+
|
403
|
+
TestEnum
|
404
|
+
opTestEnum(
|
405
|
+
in TestEnum a0,
|
406
|
+
inout TestEnum a1,
|
407
|
+
out TestEnum a2
|
408
|
+
);
|
409
|
+
|
410
|
+
TestEnum
|
411
|
+
opTestEnumEx(
|
412
|
+
in TestEnum a0,
|
413
|
+
inout TestEnum a1,
|
414
|
+
out TestEnum a2
|
415
|
+
)
|
416
|
+
raises (ExTestEnum);
|
417
|
+
|
418
|
+
// --------------------------------------------------
|
419
|
+
|
420
|
+
attribute Intf attrIntf;
|
421
|
+
|
422
|
+
Intf
|
423
|
+
opIntf(
|
424
|
+
in Intf a0,
|
425
|
+
inout Intf a1,
|
426
|
+
out Intf a2
|
427
|
+
);
|
428
|
+
|
429
|
+
Intf
|
430
|
+
opIntfEx(
|
431
|
+
in Intf a0,
|
432
|
+
inout Intf a1,
|
433
|
+
out Intf a2
|
434
|
+
)
|
435
|
+
raises (ExIntf);
|
436
|
+
|
437
|
+
// --------------------------------------------------
|
438
|
+
|
439
|
+
attribute FixedStruct attrFixedStruct;
|
440
|
+
|
441
|
+
FixedStruct
|
442
|
+
opFixedStruct(
|
443
|
+
in FixedStruct a0,
|
444
|
+
inout FixedStruct a1,
|
445
|
+
out FixedStruct a2)
|
446
|
+
;
|
447
|
+
|
448
|
+
FixedStruct
|
449
|
+
opFixedStructEx(
|
450
|
+
in FixedStruct a0,
|
451
|
+
inout FixedStruct a1,
|
452
|
+
out FixedStruct a2
|
453
|
+
)
|
454
|
+
raises (ExFixedStruct);
|
455
|
+
|
456
|
+
// --------------------------------------------------
|
457
|
+
|
458
|
+
attribute VariableStruct attrVariableStruct;
|
459
|
+
|
460
|
+
VariableStruct
|
461
|
+
opVariableStruct(
|
462
|
+
in VariableStruct a0,
|
463
|
+
inout VariableStruct a1,
|
464
|
+
out VariableStruct a2
|
465
|
+
);
|
466
|
+
|
467
|
+
VariableStruct
|
468
|
+
opVariableStructEx(
|
469
|
+
in VariableStruct a0,
|
470
|
+
inout VariableStruct a1,
|
471
|
+
out VariableStruct a2
|
472
|
+
)
|
473
|
+
raises (ExVariableStruct);
|
474
|
+
|
475
|
+
// --------------------------------------------------
|
476
|
+
|
477
|
+
attribute FixedUnion attrFixedUnion;
|
478
|
+
|
479
|
+
FixedUnion
|
480
|
+
opFixedUnion(
|
481
|
+
in FixedUnion a0,
|
482
|
+
inout FixedUnion a1,
|
483
|
+
out FixedUnion a2
|
484
|
+
);
|
485
|
+
|
486
|
+
FixedUnion
|
487
|
+
opFixedUnionEx(
|
488
|
+
in FixedUnion a0,
|
489
|
+
inout FixedUnion a1,
|
490
|
+
out FixedUnion a2
|
491
|
+
)
|
492
|
+
raises (ExFixedUnion);
|
493
|
+
|
494
|
+
// --------------------------------------------------
|
495
|
+
|
496
|
+
attribute VariableUnion attrVariableUnion;
|
497
|
+
|
498
|
+
VariableUnion
|
499
|
+
opVariableUnion(
|
500
|
+
in VariableUnion a0,
|
501
|
+
inout VariableUnion a1,
|
502
|
+
out VariableUnion a2
|
503
|
+
);
|
504
|
+
|
505
|
+
VariableUnion
|
506
|
+
opVariableUnionEx(
|
507
|
+
in VariableUnion a0,
|
508
|
+
inout VariableUnion a1,
|
509
|
+
out VariableUnion a2
|
510
|
+
)
|
511
|
+
raises (ExVariableUnion);
|
512
|
+
|
513
|
+
// --------------------------------------------------
|
514
|
+
|
515
|
+
attribute StringSequence attrStringSequence;
|
516
|
+
|
517
|
+
StringSequence
|
518
|
+
opStringSequence(
|
519
|
+
in StringSequence a0,
|
520
|
+
inout StringSequence a1,
|
521
|
+
out StringSequence a2
|
522
|
+
);
|
523
|
+
|
524
|
+
StringSequence
|
525
|
+
opStringSequenceEx(
|
526
|
+
in StringSequence a0,
|
527
|
+
inout StringSequence a1,
|
528
|
+
out StringSequence a2
|
529
|
+
)
|
530
|
+
raises (ExStringSequence);
|
531
|
+
|
532
|
+
// --------------------------------------------------
|
533
|
+
|
534
|
+
attribute FixedArray attrFixedArray;
|
535
|
+
|
536
|
+
FixedArray
|
537
|
+
opFixedArray(
|
538
|
+
in FixedArray a0,
|
539
|
+
inout FixedArray a1,
|
540
|
+
out FixedArray a2
|
541
|
+
);
|
542
|
+
|
543
|
+
FixedArray
|
544
|
+
opFixedArrayEx(
|
545
|
+
in FixedArray a0,
|
546
|
+
inout FixedArray a1,
|
547
|
+
out FixedArray a2
|
548
|
+
)
|
549
|
+
raises (ExFixedArray);
|
550
|
+
|
551
|
+
// --------------------------------------------------
|
552
|
+
|
553
|
+
attribute VariableArray attrVariableArray;
|
554
|
+
|
555
|
+
VariableArray
|
556
|
+
opVariableArray(
|
557
|
+
in VariableArray a0,
|
558
|
+
inout VariableArray a1,
|
559
|
+
out VariableArray a2
|
560
|
+
);
|
561
|
+
|
562
|
+
VariableArray
|
563
|
+
opVariableArrayEx(
|
564
|
+
in VariableArray a0,
|
565
|
+
inout VariableArray a1,
|
566
|
+
out VariableArray a2
|
567
|
+
)
|
568
|
+
raises (ExVariableArray);
|
569
|
+
|
570
|
+
// --------------------------------------------------
|
571
|
+
|
572
|
+
attribute FixedArraySequence attrFixedArraySequence;
|
573
|
+
|
574
|
+
FixedArraySequence
|
575
|
+
opFixedArraySequence(
|
576
|
+
in FixedArraySequence a0,
|
577
|
+
inout FixedArraySequence a1,
|
578
|
+
out FixedArraySequence a2
|
579
|
+
);
|
580
|
+
|
581
|
+
FixedArraySequence
|
582
|
+
opFixedArraySequenceEx(
|
583
|
+
in FixedArraySequence a0,
|
584
|
+
inout FixedArraySequence a1,
|
585
|
+
out FixedArraySequence a2
|
586
|
+
)
|
587
|
+
raises (ExFixedArraySequence);
|
588
|
+
|
589
|
+
// --------------------------------------------------
|
590
|
+
|
591
|
+
attribute VariableArraySequence attrVariableArraySequence;
|
592
|
+
|
593
|
+
VariableArraySequence
|
594
|
+
opVariableArraySequence(
|
595
|
+
in VariableArraySequence a0,
|
596
|
+
inout VariableArraySequence a1,
|
597
|
+
out VariableArraySequence a2
|
598
|
+
);
|
599
|
+
|
600
|
+
VariableArraySequence
|
601
|
+
opVariableArraySequenceEx(
|
602
|
+
in VariableArraySequence a0,
|
603
|
+
inout VariableArraySequence a1,
|
604
|
+
out VariableArraySequence a2
|
605
|
+
)
|
606
|
+
raises (ExVariableArraySequence);
|
607
|
+
|
608
|
+
// --------------------------------------------------
|
609
|
+
|
610
|
+
|
611
|
+
attribute FixedArrayBoundSequence attrFixedArrayBoundSequence;
|
612
|
+
|
613
|
+
FixedArrayBoundSequence
|
614
|
+
opFixedArrayBoundSequence(
|
615
|
+
in FixedArrayBoundSequence a0,
|
616
|
+
inout FixedArrayBoundSequence a1,
|
617
|
+
out FixedArrayBoundSequence a2
|
618
|
+
);
|
619
|
+
|
620
|
+
FixedArrayBoundSequence
|
621
|
+
opFixedArrayBoundSequenceEx(
|
622
|
+
in FixedArrayBoundSequence a0,
|
623
|
+
inout FixedArrayBoundSequence a1,
|
624
|
+
out FixedArrayBoundSequence a2
|
625
|
+
)
|
626
|
+
raises (ExFixedArrayBoundSequence);
|
627
|
+
|
628
|
+
// --------------------------------------------------
|
629
|
+
|
630
|
+
attribute VariableArrayBoundSequence attrVariableArrayBoundSequence;
|
631
|
+
|
632
|
+
VariableArrayBoundSequence
|
633
|
+
opVariableArrayBoundSequence(
|
634
|
+
in VariableArrayBoundSequence a0,
|
635
|
+
inout VariableArrayBoundSequence a1,
|
636
|
+
out VariableArrayBoundSequence a2
|
637
|
+
);
|
638
|
+
|
639
|
+
VariableArrayBoundSequence
|
640
|
+
opVariableArrayBoundSequenceEx(
|
641
|
+
in VariableArrayBoundSequence a0,
|
642
|
+
inout VariableArrayBoundSequence a1,
|
643
|
+
out VariableArrayBoundSequence a2
|
644
|
+
)
|
645
|
+
raises (ExVariableArrayBoundSequence);
|
646
|
+
|
647
|
+
void
|
648
|
+
opExRecursiveStruct()
|
649
|
+
raises(ExRecursiveStruct);
|
650
|
+
|
651
|
+
};
|
652
|
+
|
653
|
+
}; // module ORBTest_2_0_Common
|