summaryrefslogtreecommitdiff
path: root/cpp/test/Slice/escape/Clash.ice
blob: 5cc5f69a365a3c6403406f40876ba13be7562500 (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
59
60
61
62
63
64
65
66
67
68
// **********************************************************************
//
// 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.
//
// **********************************************************************

[["underscore"]]

module Clash
{

interface Intf
{
    void context();
    void current();
    void response();
    void upCast();
    void typeId();
    void del();
    void cookie();
    void sync();
    void inS();
    void istr();

    void op(string context, string current, string response, string ex, string sent, string cookie, 
            string sync, string result, string istr, string ostr, optional(1) string proxy);
    void opOut(out string context, out string current, out string response, out string ex, 
               out string sent, out string cookie, out string sync, out string result, out string istr,
               out string ostr, out optional(1) string proxy);
};

class Cls
{
    Intf* s;
    string context;
    int current;
    short response;
    string upCast;
    int typeId;
    short del;
    optional(1) short cookie;
    string ex;
    int result;
    string istr;
    string ostr;
    string inS;
    string in;
    string proxy;
};

struct St
{
    string v;
    short istr;
    int ostr;
    int rhs;
};

exception Ex
{
    short istr;
    int ostr;
};

};