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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
// **********************************************************************
//
// Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
// Test: use SingleModuleWithPackage types from (same) double module definitions
#include <SingleModuleWithPackage.ice>
module M
{
module N
{
const smwpEnum smwpTest10Constant = smwpE1;
struct smwpTest10Struct
{
smwpEnum e;
smwpStruct s;
smwpStructSeq seq;
smwpStringStructDict dict;
smwpClass c;
smwpInterface i;
};
sequence<smwpStruct> smwpTest10StructSeq;
dictionary<smwpStruct, smwpBaseClass> smwpTest10StructClassSeq;
interface smwpTest10Interface extends smwpInterface {};
exception smwpTest10Exception extends smwpException
{
smwpEnum e1;
smwpStruct s1;
smwpStructSeq seq1;
smwpStringStructDict dict1;
smwpClass c1;
smwpInterface i1;
};
class smwpTest10Class extends smwpBaseClass implements smwpBaseInterface
{
smwpStruct
smwpTest10Op1(smwpEnum i1,
smwpStruct i2,
smwpStructSeq i3,
smwpStringStructDict i4,
smwpInterface i5,
smwpClass i6,
out smwpEnum o1,
out smwpStruct o2,
out smwpStructSeq o3,
out smwpStringStructDict o4,
out smwpInterface o5,
out smwpClass o6)
throws smwpException;
["amd"]
smwpStruct
smwpTest10Op3(smwpEnum i1,
smwpStruct i2,
smwpStructSeq i3,
smwpStringStructDict i4,
smwpInterface i5,
smwpClass i6,
out smwpEnum o1,
out smwpStruct o2,
out smwpStructSeq o3,
out smwpStringStructDict o4,
out smwpInterface o5,
out smwpClass o6)
throws smwpException;
};
};
};
|