📄 union.idl
字号:
typedef octet Bytes[64];struct S { long len; };interface foo;// Union with explicit default labelunion U switch (long) { case 1: long x; case 2: Bytes y; case 3: string z; case 4: case 5: S w; case 6: long array[ 10 ][ 20 ]; case 7: sequence<long> seq; default: foo obj;};typedef enum E { A, B} E_Alias;// Union with no default labelunion U2 switch(E_Alias) { case A: long x; case B: short y;};// Union with implicit default labelunion U3 switch(E_Alias) { case B: long x;};interface foo { void bar( in U x, out U y, out U2 z );};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -