[omniORB] Getting the "marker" from an CORBA::Object_ptr

Mike Ladwig mike@twinpeaks.prc.com
Tue, 04 May 1999 10:50:07 -0400


Hi.

I'm trying to port my CosPersistence implementation from Orbix to
OmniORB, and I need to extract the object key (the marker string in
Orbix) from a CORBA::Object_ptr.

I have been able to do this from objects derived from CORBA::Object
because they are also derived from omniObject, where 'getRopeAndKey' is
available.

Alternately, is there a way to extract the object key from the IOR?  I
like this idea much less, but I'll take just about anything!

Thanks for any suggestions.

mike.