Skip navigation.

CORBA Programming Reference

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents View as PDF   Get Adobe Reader

 


CORBA::ORB::object_to_string

Synopsis

Produces a string representation of an object reference.

C++ Binding

char * CORBA::ORB::object_to_string (
CORBA::Object_ptr ObjRef);

Argument

ObjRef

The object reference to represent as a string.

Description

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.

Return Values

The string representing the specified object reference.

Example

CORBA::Object_ptr op = TP::create_object_reference(
"IDL:Teller:1.0", "MyTeller");
char* objstr = TP::orb()->object_to_string(op);

See Also

CORBA::ORB::string_to_object
CORBA::string_free

 

Skip navigation bar  Back to Top Previous Next