📄 printer.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 INVOKE_ICE#define INVOKE_ICEmodule Demo{exception PrintFailure{ string reason;};sequence<string> StringSeq;dictionary<string, string> StringDict;enum Color { red, green, blue };struct Structure{ string name; Color value;};sequence<Structure> StructureSeq;class C{ Structure s;};interface Printer{ void printString(string message); void printStringSequence(StringSeq seq); void printDictionary(StringDict dict); void printEnum(Color c); void printStruct(Structure st); void printStructSequence(StructureSeq seq); void printClass(C cls); C getValues(out string str); void throwPrintFailure() throws PrintFailure; void shutdown();};};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -