array.idl
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· IDL 代码 · 共 55 行
IDL
55 行
// array.idl,v 1.2 1999/07/21 21:08:39 parsons Exp
// ============================================================================
//
// = LIBRARY
// TAO/tests/IDL_Test
//
// = FILENAME
// array.idl
//
// = DESCRIPTION
// This file contains examples of IDL code that has
// caused problems in the past for the TAO IDL
// compiler. This test is to make sure the problems
// stay fixed.
//
// = AUTHORS
// Jeff Parsons <parsons@cs.wustl.edu> and TAO users.
//
// ============================================================================
// Multidimensional arrays - constant vigilance.
typedef short TwoDArray[64][63];
typedef short ThreeDArray[64][63][62];
// This problem is a combination of two others
// that have long been fixed, but you never know...
typedef long inside_array[5];
struct wrap
{
inside_array member;
};
typedef wrap outside_array[10];
// Once a problem with expressions in the brackets,
// as well as the typedef'd/anonymous thing.
interface tdef
{
const short byteslen = 12;
typedef octet Bytes[byteslen + 1];
struct bytes_or_longs
{
Bytes the_bytes; // typedef'd
long Longs[byteslen]; // anonymous
};
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?