summaryrefslogtreecommitdiff
path: root/tests/IDL_Test/params.idl
blob: 04604bc561fc0dc5c80806b2aa9f6bb0716fee94 (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

//=============================================================================
/**
 *  @file    params.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.
 */
//=============================================================================


// 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);
        };
    };
};