Intended Usage
This method is used to create a TypeCode of kind tk_objref, representing an IDL interface.
Syntax
CORBA::TypeCode_ptr create_interface_tc ( CORBA::RepositoryId rep_id, CORBA::Identifier name);
Input parameters
Return values
Example
/* Code to create a tk_objref TypeCode corresponding to this IDL definition: interface my_interface; */ /* assume op initialized */ extern CORBA::ORB_ptr op; CORBA::RepositoryId rep_id = CORBA::string_dup("RepositoryId_999"); CORBA::Identifier name = CORBA::string_dup("my_interface"); CORBA::TypeCode_ptr tc = op->create_interface_tc (rep_id, name);