[Enterprise Extensions only]

TypeCode::member_type

Overview Returns the type of a structure, union, or exception member.
Original class CORBA::TypeCode
Exceptions CORBA::SystemException
CORBA::TypeCode::BadKind
CORBA::TypeCode::Bounds


Intended Usage

The member_type method can be invoked on structure, union, and exception TypeCodes. The member_type method returns the TypeCode describing the type of the member identified by index.

IDL Syntax

  CORBA::TypeCode_ptr member_type(CORBA::ULong index) const;

Input parameters

index
The index of the desired member, starting at zero.

Return values

CORBA::TypeCode_ptr
A pointer to the type of the structure, union, or exception member. Ownership of the return value transfers to the caller and must be freed by calling CORBA::release(CORBA::TypeCode_ptr).