CORBA module: ArrayDef Interface

Overview An ArrayDef represents an OMG IDL array type.
File name wasir.idl
Local-only True
Ancestor interfaces IDLType Interface
Exceptions CORBA::SystemException
Supported operations ArrayDef::element_type
ArrayDef::element_type_def
ArrayDef::length
IDLType::type


Intended Usage

The ArrayDef interface is used by the Interface Repository to represent an OMG IDL array data type. The ArrayDef is not a named Interface Repository data type (it is in a group of interfaces known as Anonymous types). An ArrayDef may be created using the create_array operation of the Repository interface, by specifying the length of the array and a CORBA::IDLType* indicating the array element type.

Since an ArrayDef object only represents a single dimenstion of an array, multi-dimensional IDL arrays are represented by multiple ArrayDef objects, one per array dimension. The element_type_def attribute of the ArrayDef representing the index that is on the farest left side of the array, as defined in IDL, refers to the ArrayDef representing the next index to the right, and so on. The innermost ArrayDef represents the rightmost index and the element type of the multi-dimensional OMG IDL array.

Syntax

  module CORBA 
     {
        interface ArrayDef:IDLType
        {
           attribute unsigned long length;
           readonlyattribute TypeCode element_type;
           attribute IDLType element_type_def;
        };
     };

Related reference
ArrayDef::element_type
ArrayDef::element_type_def
ArrayDef::length



Searchable topic ID:   rcor_modard
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_modard.html

Library | Support | Terms of Use | Feedback