TypeCode::member_label

Overview Returns the label of a union member.
Original class CORBA::TypeCode
Exceptions CORBA::SystemException
CORBA::TypeCode::BadKind
CORBA::TypeCode::Bounds


Intended Usage

The member_label method can only be invoked on union TypeCodes. The member_label method returns the label of the member identified by index. For the default member, the label is the zero octet.

Syntax

  CORBA::Any_ptr member_label(CORBA::ULong index) const

Input parameters

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

Return values

CORBA::Any_ptr
A pointer to the label of the union member. Ownership of the return value transfers to the caller and must be freed by calling CORBA::release(CORBA::TypeCode_ptr).

Related reference
CORBA module



Searchable topic ID:   rcor_modt11
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_modt11.html

Library | Support | Terms of Use | Feedback