summaryrefslogtreecommitdiff
path: root/TAO/tests/IDL_Test/primtypes.idl
blob: c47f44bf3daa57680f2651a6ba1253e7335ac644 (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
52
53
54

//=============================================================================
/**
 *  @file    primtypes.idl
 *
 *  $Id$
 *
 *  Tests of primitive types in IDL
 *
 *
 *  @author Andy Gokhale <gokhale@dre.vanderbilt.edu>
 */
//=============================================================================


module OldPrimTypes
{
  interface ex1
  {
    attribute long l1;

    long m1 (in long a);

    ex1 mtypes (in long a1,
                inout long a2,
                out long a3,
                in unsigned long b1,
                inout unsigned long b2,
                out unsigned long b3,
                in short c1,
                inout short c2,
                out short c3,
                in unsigned short d1,
                inout unsigned short d2,
                out unsigned short d3,
                in float e1,
                inout float e2,
                out float e3,
                in double f1,
                inout double f2,
                out double f3,
                in char g1,
                inout char g2,
                out char g3);
  };

  interface ex2 : ex1
  {
    readonly attribute long l2;

    long m2 (in long a, out long b);
    void mv ();
  };
};