Intended Usage
This method is intended to be used to create a TypeCode of kind tk_alias, representing an IDL typedef.
Syntax
CORBA::TypeCode_ptr create_alias_tc ( CORBA::RepositoryId rep_id, CORBA::Identifier name, ORBA::TypeCode_ptr original_type);
Input parameters
Return values
Example
/* Code to create a tk_alias TypeCode corresponding to this IDL definition: "typedef long my_long;" */ /* assume op initialized */ extern CORBA::ORB_ptr op; CORBA::RepositoryId rep_id = CORBA::string_dup("RepositoryId_999"); CORBA::Identifier name = CORBA::string_dup("my_long"); CORBA::TypeCode_ptr tc = op->create_alias_tc (rep_id, name, CORBA::_tc_long);