diff options
Diffstat (limited to 'modules/CIAO/tests/IDL_Test/IDL3_Plus/KitchenSink.idl')
-rw-r--r-- | modules/CIAO/tests/IDL_Test/IDL3_Plus/KitchenSink.idl | 38 |
1 files changed, 35 insertions, 3 deletions
diff --git a/modules/CIAO/tests/IDL_Test/IDL3_Plus/KitchenSink.idl b/modules/CIAO/tests/IDL_Test/IDL3_Plus/KitchenSink.idl index 2addbda8afb..6bd10e2b9ee 100644 --- a/modules/CIAO/tests/IDL_Test/IDL3_Plus/KitchenSink.idl +++ b/modules/CIAO/tests/IDL_Test/IDL3_Plus/KitchenSink.idl @@ -21,6 +21,8 @@ module mod interface iface { exception iface_excep {}; + + void iface_op (in string inarg); }; typedef sequence<iface> ifaceSeq; @@ -29,6 +31,7 @@ eventtype ev { }; + module GlobalTyped<typename A, typename B> { typedef short x; @@ -47,6 +50,19 @@ module A interface XX { }; + + union Nested_Union switch (y) + { + case 2: string strmem; + case 0: T Tmem; + }; + + enum Nested_Enum + { + ZERO, + ONE, + TWO + }; // A regular module may be nested inside a template module, // but another template module may not. @@ -59,7 +75,7 @@ module A { typedef S S_Tdef; }; -*/ +*/ }; module Nested<iface, ifaceSeq> Nested_Inst; @@ -87,6 +103,8 @@ module B }; }; +module B::second_B<iface, ifaceSeq> second_B_Inst; + module Ast<typename T, eventtype E, exception S, @@ -96,15 +114,26 @@ module Ast<typename T, { interface Foo : T { - attribute T Foo_Attr; + attribute T Foo_Attr getraises (S); - void Foo_Op (in TSeq inarg) raises (S); + void Foo_Op (inout long inoutarg, + in T inarg, + out T outarg, + in TSeq seq_inarg) + raises (S); }; alias second<T, S> second_ref; valuetype VT_T : V supports T { + private T T_member; + + factory make_VT_T (); + + factory create_VT_T (in T T_arg, + in string str_arg) + raises (S); }; porttype PT_T @@ -146,14 +175,17 @@ module Ast<typename T, const unsigned long Ast_Const = M; const unsigned long LC = 7; + typedef sequence<T, M> AnotherTSeq; struct boo { T T_field; + Foo Foo_field; }; typedef T T_array[M][Ast_Const][LC]; + }; module Ast<iface, |