[Enterprise Extensions only]

TypeCode::name

Overview Returns the simple name of an interface, structure, union, enumeration, alias, or exception.
Original class CORBA::TypeCode
Exceptions CORBA::SystemException
CORBA::TypeCode::BadKind


Intended Usage

The name method can be invoked on object reference, structure, union, enumeration, alias, and exception TypeCodes. The name method returns the simple name identifying the type within its enclosing scope.

IDL Syntax

  const char * name() const;

Input parameters

None.

Return values

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