summaryrefslogtreecommitdiff
path: root/TAO/tests/IDL_Test/params.idl
blob: 950c5472060678b1fe48d7b043bb5ee2e0c2d731 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// $Id$

// ============================================================================
//
// = LIBRARY
//    TAO/tests/IDL_Test
//
// = FILENAME
//    params.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.
//
// ============================================================================

// Compiling the generated code for the parameters of
// getDate taught us to use the ACE_NESTED_CLASS macro
// more judiciously in the header file. This file was
// also initially a problem for lookups as well.

module foo 
{
  struct theDate 
    {
      short year;
      short month;
      short day;
    };
  
  module bar 
    {
      struct theDate 
        {
          short x;
        };
              
      interface fooBar 
        {
          foo::theDate getDate (in foo::theDate a,
                                inout foo::theDate b,
                                out foo::theDate c);
        };
    };
};