summaryrefslogtreecommitdiff
path: root/TAO/tests/Abstract_Interface/test.idl
blob: 0b7bf4f636f8f8dedcf0d60b078eb83d386df4bb (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
// $Id$

exception BadInput
{
  string message;
};

abstract interface base
{
  string base_op (in string inarg)
    raises (BadInput);
};

interface foo : base
{
  string foo_op (in string inarg)
    raises (BadInput);
};

interface passer
{
  void pass_ops (out base outarg);
  void pass_state (out base outarg);
};

valuetype BaseNode
{
  public BaseNode left;
  public BaseNode right;
};

valuetype StringNode : BaseNode 
{
  public string name;
};

valuetype TreeController supports base
{
  public BaseNode root;
};