![]() |
Overview Returns the discriminator TypeCode of a union. Original class CORBA::TypeCode Exceptions CORBA::SystemException CORBA::TypeCode::BadKind
Intended Usage
The discriminator_type method can only be invoked on union TypeCodes. The discriminator_type method returns the type of all non-default member labels.
IDL Syntax
CORBA::TypeCode_ptr discriminator_type() const;
Input parameters
None.
Return values
- CORBA::TypeCode_ptr
- A pointer to the discriminator TypeCode of the union. Ownership of the return value transfers to the caller and must be freed by calling CORBA::release(CORBA::TypeCode_ptr).