diff options
Diffstat (limited to 'tests/IDL_Test/generic_object.idl')
-rw-r--r-- | tests/IDL_Test/generic_object.idl | 45 |
1 files changed, 21 insertions, 24 deletions
diff --git a/tests/IDL_Test/generic_object.idl b/tests/IDL_Test/generic_object.idl index d0a21cdec0e..e2c4e2ff570 100644 --- a/tests/IDL_Test/generic_object.idl +++ b/tests/IDL_Test/generic_object.idl @@ -1,34 +1,31 @@ -// $Id$ -// ============================================================================ -// -// = LIBRARY -// TAO/tests/IDL_Test -// -// = FILENAME -// generic_object.idl -// -// = DESCRIPTION -// This file contains examples of IDL code that has -// caused problems in the past for the TAO IDL -// compiler. This test is to make sure the problems -// stay fixed. -// -// = AUTHORS -// Jeff Parsons <parsons@cs.wustl.edu> and TAO users. -// -// ============================================================================ +//============================================================================= +/** + * @file generic_object.idl + * + * $Id$ + * + * This file contains examples of IDL code that has + * caused problems in the past for the TAO IDL + * compiler. This test is to make sure the problems + * stay fixed. + * + * + * @author Jeff Parsons <parsons@cs.wustl.edu> and TAO users. + */ +//============================================================================= + // The IDL compiler deals with these in a completely different way // that it deals with a derived object, i.e., an interface. -enum ObjectType +enum ObjectType { - OT_THIS, + OT_THIS, OT_THAT }; -union Selecter switch (ObjectType) +union Selecter switch (ObjectType) { case OT_THIS: Object this_object; case OT_THAT: Object that_object; @@ -37,8 +34,8 @@ union Selecter switch (ObjectType) // Test stub code for generic object parameters. interface generic { - Object op (in Object inarg, - inout Object inoutarg, + Object op (in Object inarg, + inout Object inoutarg, out Object outarg); }; |