ArrayDef::element_type_def

Overview The element_type_def read and write operations allow the access and update of the element type definition of an array definition (ArrayDef) in the Interface Repository.
Original interface ArrayDef Interface
Exceptions CORBA::SystemException


Intended Usage

The type of the elements within an array definition is identified by the element_type_def attribute.

Syntax

  attribute IDLType element_type_def;

Read operations

Input parameters
none
Return values
CORBA::IDLType_ptr

The returned object is a pointer to a copy of the IDLType referenced by the element_type_def attribute of the ArrayDef object. The returned object is owned by the caller and can be released by invoking CORBA::release.

Write operations

Input parameters
CORBA::IDLType_ptr element_type_def

The element_type_def parameter represents the new element definition for the ArrayDef.

Return values
none

Example

  // C++
     // assume that 'this_array' and 'this_union' have already been initialized
     CORBA::ArrayDef * this_array;
     CORBA::UnionDef * this_union;
 
     // change the array element type definition to 'this_union'
     this_array-> element_type_def (this_union);
 
     // read the element type definition from 'this_array'
     CORBA::IDLType * returned_element_type_def;
     returned_element_type_def = this_array-> element_type_def ();

Related reference
CORBA module



Searchable topic ID:   rcor_modar2
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_modar2.html

Library | Support | Terms of Use | Feedback