标准摘要
[中文适用范围]: 本国际标准规定了对象管理组(OMG)接口定义语言(IDL)。IDL 是一种描述性语言,用于定义数据类型和接口,其定义方式独立于编程语言或操作系统/处理器平台。IDL 仅指定用于定义数据类型和接口的语法。它通常与其他标准结合使用,这些标准进一步定义了这些类型/接口在特定上下文和平台中的使用方式:单独的“语言映射”标准定义了 IDL 定义的构造如何映射到特定的编程语言(如 C/C++、Java、C# 等);单独的“序列化”标准定义了数据对象和方法调用如何序列化为适合网络传输的格式;单独的“中间件”标准(如 DDS 或 CORBA)利用 IDL 来定义数据类型、服务和接口。IDL 语法的描述使用了类似于扩展巴科斯 - 诺尔格式(EBNF)的语法表示法。 [外文原描述]: This International Standard specifies the OMG Interface Definition Language (IDL). IDL is a descriptive language used to define data types and interfaces in a way that is independent of the programming language or operating system/processor platform. The IDL specifies only the syntax used to define the data types and interfaces. It is normally used in connection with other standards that further define how these types/interfaces are utilized in specific contexts and platforms: ? Separate "language mapping" standards define how the IDL-defined constructs map to specific programming languages, such as, C/C++, Java, C#, etc. ? Separate "serialization" standards define how data objects and method invocations are serialized into a format suitable for network transmission. ? Separate "middleware" standards, such as, DDS or CORBA leverage the IDL to define data-types, services, and interfaces. The description of IDL grammar uses a syntax notation that is similar to Extended Backus-Naur Format (EBNF).
英文名称Information technology - Object management group - Interface definition language (IDL) 4.2