CORBA Programming Reference
Produces a string representation of an object reference.
char * CORBA::ORB::object_to_string (
CORBA::Object_ptr ObjRef);
This member function produces a string representation of an object reference. The calling program must use the CORBA::string_free
member function to free the string memory after it is no longer needed.
The string representing the specified object reference.
CORBA::Object_ptr op = TP::create_object_reference(
"IDL:Teller:1.0", "MyTeller");
char* objstr = TP::orb()->object_to_string(op);