3 const short BOUND
= 10;
4 const string FailStr
= "A string longer then Test::BOUND";
6 typedef string<BOUND
> bounded_string
;
8 typedef sequence
<bounded_string
> seq_bd_str
;
9 typedef sequence
<string<BOUND
> > seq_bds_str
;
11 typedef bounded_string arr_bd_str
[1];
12 typedef string<BOUND
> arr_bds_str
[1];
26 union unn
switch (string_field
) {
41 valuetype val_bd_str bounded_string
;
42 valuetype val_bds_str bounded_string
;
43 valuetype val_arr_bd_str arr_bds_str
;
47 public bounded_string b
;
48 public bounded_string c
;
60 bounded_string method
(in FailOn where
,
61 in bounded_string arg1
,
62 out bounded_string arg2
,
63 inout bounded_string arg3
);
64 bounded_string method_s
(in FailOn where
,
65 in bounded_string arg1
,
66 out bounded_string arg2
,
67 inout bounded_string arg3
);
68 // Operations on strings.
70 seq_bd_str seq_method
(in FailOn where
,
73 inout seq_bd_str arg3
);
74 seq_bds_str seq_method_s
(in FailOn where
,
77 inout seq_bds_str arg3
);
78 // Operations on sequences.
80 arr_bd_str arr_method
(in FailOn where
,
83 inout arr_bd_str arg3
);
84 arr_bds_str arr_method_s
(in FailOn where
,
87 inout arr_bds_str arg3
);
88 // Operations on arrays.
90 sct sct_method
(in FailOn where
,
94 // Operation on structs.
96 unn unn_method
(in FailOn where
,
100 // Operation on unions.
102 val_bd_str vbx_method
(in FailOn where
,
105 inout val_bd_str arg3
);
106 val_bds_str vbx_method_s
(in FailOn where
,
108 out val_bds_str arg2
,
109 inout val_bds_str arg3
);
110 // Operations on value boxes.
112 vtp vtp_method
(in FailOn where
,
116 // Operation on value types.
118 void exc_method
(in string_field f
)
120 // Operation that throws.
122 oneway
void shutdown
();