diff options
Diffstat (limited to 'ACE/TAO/tests/Abstract_Interface/test.idl')
-rw-r--r-- | ACE/TAO/tests/Abstract_Interface/test.idl | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/ACE/TAO/tests/Abstract_Interface/test.idl b/ACE/TAO/tests/Abstract_Interface/test.idl new file mode 100644 index 00000000000..c5b5643405a --- /dev/null +++ b/ACE/TAO/tests/Abstract_Interface/test.idl @@ -0,0 +1,43 @@ +// $Id$ + +exception BadInput +{ + string message; +}; + +abstract interface base +{ + string base_op (in string inarg) + raises (BadInput); +}; + +interface foo : base +{ + string foo_op (in string inarg) + raises (BadInput); +}; + +interface passer +{ + void pass_ops (out base outarg); + void pass_state (out base outarg); + oneway void shutdown (); +}; + +valuetype BaseNode +{ + public BaseNode left; + public BaseNode right; +}; + +valuetype StringNode : BaseNode +{ + public string name; +}; + +valuetype TreeController supports base +{ + public BaseNode root; +}; + + |