printer.ice
来自「ICE-3.2 一个开源的中间件」· ICE 代码 · 共 55 行
ICE
55 行
// **********************************************************************//// 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 + =
减小字号Ctrl + -
显示快捷键?