?? 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{enum MyEnum{ enum1, enum2, enum3};class MyClass;struct SmallStruct{ bool bo; byte by; short sh; int i; long l; float f; double d; string str; MyEnum e; MyClass* p;};sequence<bool> BoolS;sequence<byte> ByteS;sequence<short> ShortS;sequence<int> IntS;sequence<long> LongS;sequence<float> FloatS;sequence<double> DoubleS;sequence<string> StringS;sequence<MyEnum> MyEnumS;sequence<MyClass> MyClassS;sequence<BoolS> BoolSS;sequence<ByteS> ByteSS;sequence<ShortS> ShortSS;sequence<IntS> IntSS;sequence<LongS> LongSS;sequence<FloatS> FloatSS;sequence<DoubleS> DoubleSS;sequence<StringS> StringSS;sequence<MyEnumS> MyEnumSS;sequence<MyClassS> MyClassSS;dictionary<byte, bool> ByteBoolD;dictionary<short, int> ShortIntD;dictionary<long, float> LongFloatD;dictionary<string, string> StringStringD;dictionary<string, MyClass> StringMyClassD;class MyClass{ MyClass c; Object o; SmallStruct s; BoolS seq1; ByteS seq2; ShortS seq3; IntS seq4; LongS seq5; FloatS seq6; DoubleS seq7; StringS seq8; MyEnumS seq9; MyClassS seq10; StringMyClassD d;};};#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -