![]() |
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.
IDL 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).