SequenceDef::element_type

Overview The element_type operation returns a type (CORBA::TypeCode *) representative of the sequence element of a SequenceDef.
Original interface SequenceDef Interface
Exceptions CORBA::SystemException


Intended Usage

The element_type attribute of a SequenceDef object references a CORBA::TypeCode * that represents the type of the sequence element. The element_type read operation returns a copy of the CORBA::TypeCode referenced by the element_type attribute.

Syntax

  readonlyattribute TypeCode element_type;

Input parameters

None.

Return values

TypeCode *
The returned value is a pointer to a copy of the CORBA::TypeCode referenced by the element_type attribute. The memory is owned by the caller and can be returned by invoking CORBA::release.

Example

  // C++
     // assume that 'this_sequence' has already been initialized
     CORBA::SequenceDef * this_sequence;
 
     // retrieve the TypeCode which represents the type of the sequence 
     // elements
     CORBA::TypeCode * sequence_element_type;
     sequence_element_type = this_sequence-> element_type    

Related reference
CORBA module



Searchable topic ID:   rcor_modse2
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_modse2.html

Library | Support | Terms of Use | Feedback