2 // broken.idl -- Test IDL for array type CCA regressions
12 typedef char tmp1CharArray
[10];
13 typedef tmp1CharArray tmp2CharArray
;
14 typedef tmp2CharArray CharArray
;
16 typedef octet OctetArray
[10];
17 typedef short ShortArray
[10];
18 typedef long LongArray
[10];
19 typedef long long LongLongArray
[10];
20 typedef unsigned short UShortArray
[10];
21 typedef unsigned long ULongArray
[10];
22 typedef unsigned long long ULongLongArray
[10];
23 typedef float FloatArray
[10];
24 typedef double DoubleArray
[10];
25 typedef string StringArray
[10];
26 typedef boolean BooleanArray
[10];
27 typedef MyEnum MyEnumArray
[10];
29 typedef long LongArrayArray
[10][10];
33 typedef float CashAmount
;
34 typedef string<100> MyString
;
38 attribute
string name
;
39 attribute CashAmount balance
;
41 void deposit
(in CashAmount amount
);
42 void withdraw
(in CashAmount amount
);
50 FloatArray a_floatArray
;
54 typedef Bucket BucketArray
[10];
55 typedef Bucket BucketArrayArray
[10][10];
56 typedef moola
::Account AccountArray
[10];
68 LongArray longArrayOp
(in LongArray p1
,
69 inout LongArray p2
, out LongArray p3
);
70 StringArray stringArrayOp
(in StringArray p1
,
71 inout StringArray p2
, out StringArray p3
);
72 ShortArray shortArrayOp
(in ShortArray p1
,
73 inout ShortArray p2
, out ShortArray p3
);
74 UShortArray ushortArrayOp
(in UShortArray p1
,
75 inout UShortArray p2
, out UShortArray p3
);
76 CharArray charArrayOp
(in CharArray p1
,
77 inout CharArray p2
, out CharArray p3
);
78 OctetArray octetArrayOp
(in OctetArray p1
,
79 inout OctetArray p2
, out OctetArray p3
);
80 DoubleArray doubleArrayOp
(in DoubleArray p1
,
81 inout DoubleArray p2
, out DoubleArray p3
);
83 FloatArray floatArrayOp(in FloatArray p1,
84 inout FloatArray p2, out FloatArray p3);
85 ULongArray ulongArrayOp(in ULongArray p1,
86 inout ULongArray p2, out ULongArray p3);
87 BucketArray bucketArrayOp(in BucketArray p1,
88 inout BucketArray p2, out BucketArray p3);
89 BucketArrayArray bucketArrayArrayOp(in BucketArrayArray p1,
90 inout BucketArrayArray p2,
91 out BucketArrayArray p3);
92 AccountArray accountArrayOp(in AccountArray p1,
93 inout AccountArray p2, out AccountArray p3);
94 BooleanArray booleanArrayOp(in BooleanArray p1,
95 inout BooleanArray p2, out BooleanArray p3);
96 LongArrayArray longArrayArrayOp(in LongArrayArray p1,
97 inout LongArrayArray p2, out LongArrayArray p3);
98 MyEnumArray myEnumArrayOp(in MyEnumArray p1,
99 inout MyEnumArray p2, out MyEnumArray p3);
101 attribute LongArray a_longArray
;
102 attribute ULongArray a_ulongArray
;
103 attribute StringArray a_stringArray
;
104 attribute ShortArray a_shortArray
;
105 attribute UShortArray a_ushortArray
;
106 attribute
char a_char
;
107 attribute CharArray a_charArray
;
108 attribute OctetArray a_octetArray
;
109 attribute DoubleArray a_doubleArray
;
110 attribute FloatArray a_floatArray
;
111 attribute BucketArray a_bucketArray
;
112 attribute AccountArray a_accountArray
;
113 attribute BooleanArray a_booleanArray
;
114 attribute LongArrayArray a_longArrayArray
;
115 attribute MyEnumArray a_myEnumArray
;
118 interface ServerAdmin
121 oneway
void shutdown
();