Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / IDL_Test / params.idl
blob617bf8546e54c5ad949581706160fbe1dd00e012
2 //=============================================================================
3 /**
4 * @file params.idl
6 * This file contains examples of IDL code that has
7 * caused problems in the past for the TAO IDL
8 * compiler. This test is to make sure the problems
9 * stay fixed.
12 * @author Jeff Parsons <parsons@cs.wustl.edu> and TAO users.
14 //=============================================================================
17 // Compiling the generated code for the parameters of
18 // getDate taught us to use the ACE_NESTED_CLASS macro
19 // more judiciously in the header file. This file was
20 // also initially a problem for lookups as well.
22 module foo
24 struct theDate
26 short year;
27 short month;
28 short day;
31 module bar
33 struct theDate
35 short x;
38 interface fooBar
40 foo::theDate getDate (in foo::theDate a,
41 inout foo::theDate b,
42 out foo::theDate c);