![]() |
Overview Returns the element type of a sequence or array, or the original type of an alias. Original class CORBA::TypeCode Exceptions CORBA::SystemException CORBA::TypeCode::BadKind
Intended Usage
The content_type method can be invoked on sequence, array, and alias TypeCodes. For sequences and arrays, the content_type method returns the element type. For aliases, the content_type method returns the original type.
IDL Syntax
CORBA::TypeCode_ptr content_type() const;
Input parameters
None.
Return values
- CORBA::TypeCode_ptr
- A pointer to the element type of the sequence or array, or the original type of the alias. Ownership of the return value transfers to the caller and must be freed by calling CORBA::release(CORBA::TypeCode_ptr).