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 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
|
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
#pragma once
module Test
{
struct S
{
int v;
}
dictionary<string, S> SMap;
sequence<S> SSeq;
class C
{
S s;
}
dictionary<string, C> CMap;
sequence<C> CSeq;
enum E1
{
v1,
v2,
v3
}
struct S1
{
string s;
}
class C1
{
string s;
}
struct S2
{
E1 E1;
S1 S1;
C1 C1;
}
class C2
{
E1 E1;
S1 S1;
C1 C1;
}
interface I
{
S opS(S s1, out S s2);
SSeq opSSeq(SSeq s1, out SSeq s2);
SMap opSMap(SMap s1, out SMap s2);
C opC(C c1, out C c2);
CSeq opCSeq(CSeq s1, out CSeq s2);
CMap opCMap(CMap c1, out CMap c2);
E1 opE1(E1 E1);
S1 opS1(S1 S1);
C1 opC1(C1 C1);
void shutdown();
}
dictionary<string, I*> IMap;
sequence<I*> ISeq;
module Inner
{
struct S
{
int v;
}
module Inner2
{
struct S
{
int v;
}
dictionary<string, S> SMap;
sequence<S> SSeq;
class C
{
S s;
}
dictionary<string, C> CMap;
sequence<C> CSeq;
interface I
{
S opS(S s1, out S s2);
SSeq opSSeq(SSeq s1, out SSeq s2);
SMap opSMap(SMap s1, out SMap s2);
C opC(C c1, out C c2);
CSeq opCSeq(CSeq c1, out CSeq c2);
CMap opCMap(CMap c1, out CMap c2);
void shutdown();
}
dictionary<string, I*> IMap;
sequence<I*> ISeq;
}
class C
{
S s;
}
sequence<Inner2::S> SSeq;
dictionary<string, Inner2::S> SMap;
dictionary<string, Inner2::C> CMap;
sequence<Inner2::C> CSeq;
interface I
{
Inner2::S opS(Inner2::S s1, out Inner2::S s2);
Inner2::SSeq opSSeq(Inner2::SSeq s1, out Inner2::SSeq s2);
Inner2::SMap opSMap(Inner2::SMap s1, out Inner2::SMap s2);
Inner2::C opC(Inner2::C c1, out Inner2::C c2);
Inner2::CSeq opCSeq(Inner2::CSeq c1, out Inner2::CSeq c2);
Inner2::CMap opCMap(Inner2::CMap c1, out Inner2::CMap c2);
void shutdown();
}
dictionary<string, I*> IMap;
sequence<I*> ISeq;
}
}
module Inner
{
module Test
{
module Inner2
{
interface I
{
Test::S opS(Test::S s1, out Test::S s2);
Test::SSeq opSSeq(Test::SSeq s1, out Test::SSeq s2);
Test::SMap opSMap(Test::SMap s1, out Test::SMap s2);
Test::C opC(Test::C c1, out Test::C c2);
Test::CSeq opCSeq(Test::CSeq c1, out Test::CSeq c2);
Test::CMap opCMap(Test::CMap c1, out Test::CMap c2);
void shutdown();
}
}
}
}
|