IDL constructed types

In addition to the basic types, the Interface Definition Language (IDL) also supports three constructed types:

The structure and enumeration types are specified in the IDL just as they are in C and C++. However, they have the following restrictions:

The IDL union type is a cross between the C union and switch statements. This type is specified in IDL just as it is in C and C++, with the restriction that discriminated unions in IDL must be tagged. The syntax of a union type declaration is as follows:

union identifier switch
(switch-type) { case+ }

Note: A deviation from CORBA specifications exists; there is no support of longlong discriminators in unions.


Related reference
IDL type declarations



Searchable topic ID:   rcor_idltc7
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/ref/rcor_idltc7.html

Library | Support | Terms of Use | Feedback