blob: 3f1ab85f6c4299427512652b777614c06771b89e (
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
55
56
57
58
|
// $Id$
module Supports_Test
{
valuetype Node;
typedef sequence<Node> Node_List;
valuetype Node
{
void print ();
public string name_;
private long weight_;
private short degree_;
private Node_List neighbors_;
void change_weight (in long new_weight);
void add_edge (in Node neighbor);
void remove_edge (in Node neighbor);
factory create ();
};
interface graph
{
long size ();
void add_node (in string name);
void print ();
};
valuetype vt_graph supports graph
{
public Node_List nodes_;
factory create ();
};
interface test
{
void pass_vt_graph_in (in vt_graph vt_graph_param);
void pass_obj_graph_in (in graph graph_param);
void pass_vt_graph_out (out vt_graph vt_graph_param);
void pass_obj_graph_out (out graph graph_param);
void pass_vt_graph_inout (inout vt_graph vt_graph_param);
void pass_obj_graph_inout (inout graph graph_param);
oneway void shutdown ();
};
};
|