summaryrefslogtreecommitdiff
path: root/tests/IDL_Test/old_sequence.idl
blob: a1380a4924954287290d9615f6be56b9cf35100e (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
// $Id$

// ============================================================================
//
// = LIBRARY
//    TAO/tests/IDL_Test
//
// = FILENAME
//    old_struct.idl
//
// = DESCRIPTION
//    Tests of sequence IDL constructs
//
// = AUTHORS
//    Andy Gokhale <gokhale@dre.vanderbilt.edu>
//
// ============================================================================

#include "simple.idl"

typedef sequence<char,20> c20;
typedef sequence<c20,23> cc23;
typedef sequence<char,24> c24;
typedef sequence< sequence<long,10>, 10> c30;

struct TProgram
{
  string           path;
  sequence<string> argv;
  sequence<string> envp;
};

struct sfoo
{
  long f1;
  char f2;
};

typedef sfoo              sfoo_ar[20];
typedef sequence<sfoo>    f_unbounded;
typedef sequence<sfoo_ar> f_ar_unbounded;

interface TestSeq
{
  attribute f_unbounded fattr;
  typedef sequence<long,10> also_vec10;
};