1 // **********************************************************************
3 // Copyright (c) 2003-2011 ZeroC, Inc. All rights reserved.
5 // This copy of Ice is licensed to you under the terms described in the
6 // ICE_LICENSE file included in this distribution.
8 // **********************************************************************
10 #ifndef CLIENTPRIVATE_ICE
11 #define CLIENTPRIVATE_ICE
13 [["java:package:test.Ice.slicing.objects.client"]]
17 // Duplicate types from Test.ice. We cannot use #include since
18 // that will use the types from the same prefix.
24 class SBSKnownDerived extends SBase
59 dictionary<int, B> BDict;
61 exception BaseException
67 exception DerivedException extends BaseException
73 class Forward; /* Forward-declared class defined in another compilation unit */
77 Object SBaseAsObject();
79 SBase SBSKnownDerivedAsSBase();
80 SBSKnownDerived SBSKnownDerivedAsSBSKnownDerived();
82 SBase SBSUnknownDerivedAsSBase();
84 Object SUnknownAsObject();
92 void paramTest1(out B p1, out B p2);
93 void paramTest2(out B p2, out B p1);
94 B paramTest3(out B p1, out B p2);
95 B paramTest4(out B p);
97 B returnTest1(out B p1, out B p2);
98 B returnTest2(out B p2, out B p1);
99 B returnTest3(B p1, B p2);
101 SS sequenceTest(SS1 p1, SS2 p2);
103 BDict dictionaryTest(BDict bin, out BDict bout);
105 void throwBaseAsBase() throws BaseException;
106 void throwDerivedAsBase() throws BaseException;
107 void throwDerivedAsDerived() throws DerivedException;
108 void throwUnknownDerivedAsBase() throws BaseException;
110 void useForward(out Forward f); /* Use of forward-declared class to verify that code is generated correctly. */
115 // Types private to the client.