📄 test.ice
字号:
// **********************************************************************//// Copyright (c) 2003-2007 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.//// **********************************************************************#ifndef TEST_ICE#define TEST_ICEmodule Test{exception Base{ string b;};exception KnownDerived extends Base{ string kd;};exception KnownIntermediate extends Base{ string ki;};exception KnownMostDerived extends KnownIntermediate{ string kmd;};["ami"] interface TestIntf{ void baseAsBase() throws Base; void unknownDerivedAsBase() throws Base; void knownDerivedAsBase() throws Base; void knownDerivedAsKnownDerived() throws KnownDerived; void unknownIntermediateAsBase() throws Base; void knownIntermediateAsBase() throws Base; void knownMostDerivedAsBase() throws Base; void knownIntermediateAsKnownIntermediate() throws KnownIntermediate; void knownMostDerivedAsKnownIntermediate() throws KnownIntermediate; void knownMostDerivedAsKnownMostDerived() throws KnownMostDerived; void unknownMostDerived1AsBase() throws Base; void unknownMostDerived1AsKnownIntermediate() throws KnownIntermediate; void unknownMostDerived2AsBase() throws Base; void shutdown();};};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -