summaryrefslogtreecommitdiff
path: root/TAO/tests/IDL_Test/struct.idl
blob: bd80df37061846b66f01b4acfba6929b3353ca4e (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
// Double forward declared struct test, created by Martin Corino <mcorino@remedy.nl>

module Test
{
  struct S3;

  struct S1
  {
    string hello;
  };

  struct S3;

  typedef sequence<S3> TS3Seq;

  struct S3
  {
    TS3Seq m_seq;
    boolean m_has_more;
  };

  struct S4;
  typedef sequence<S4> TS4Seq;

  struct S5;
  typedef sequence<S5> TS5Seq;

  struct S4
  {
    boolean a;
  };
  struct S5
  {
    boolean b;
  };

  typedef long FooType;
  struct FooStruct  {
    FooType Foo1;
    FooType Foo2;
  };
};