summaryrefslogtreecommitdiff
path: root/TAO/tests/OBV/Any/Any.idl
blob: 23038e8e90a5f09ae5fa83842966e01aadf05009 (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
//$Id$

//
// This file contains few valuetypes to show and test basic CORBA any
// functionality related to valuetypes.
//

module OBV_AnyTest
{

  valuetype VZ
  {
  };

  valuetype VA : VZ
  {
    public unsigned long id;
  };

  valuetype VB : VA
  {
  };

  //
  // Interface to pass valuetypes.
  //
  interface Test
  {
    // Returns VA or VB inserted into any
    any get_something (in boolean need_vb);

    VB get_vb ();

    // Shutdown the romote ORB
    oneway void shutdown ();
  };

};