[Enterprise Extensions only]

TypeCode::member_name

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


Intended Usage

The member_name method can be invoked on structure, union, enumeration, and exception TypeCodes. The member_name method returns the simple name of the member identified by index.

IDL Syntax

  const char * member_name(CORBA::ULong index) const;

Input parameters

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

Return values

const char *
The simple name of the structure, union, enumeration, or exception member. Ownership of the return value is maintained by the TypeCode; the return value must not be freed by the caller.