[Enterprise Extensions only]

TypeCode::_duplicate

Overview Duplicates a TypeCode object.
Original class CORBA::TypeCode


Intended Usage

This method is intended to be used by client and server applications to duplicate a reference to a TypeCode object. Both the original and the duplicate reference should subsequently be released using CORBA::release(TypeCode_ptr).

IDL Syntax

  static CORBA::TypeCode_ptr _duplicate (CORBA::TypeCode_ptr p);

Input parameters

p
The TypeCode object to be duplicated. The reference can be nil, in which case the return value will also be nil.

Return values

CORBA::TypeCode_ptr
The new TypeCode object reference. This value should subsequently be released using CORBA::release(TypeCode_ptr).