Discussion:
[omniORB] omniORBpy string_to_ObjectId method missing
Stephan February
2006-10-10 21:29:31 UTC
Permalink
Hello

I've just had a look at the omniORBpy sourcecode, and noticed that the
string_to_ObjectId() function is not implemented in either of the upcoming
3.0 beta nor the 2.7 sourcecode. Is their a reason for this, or did this
method just get overlooked ?

Regards
Stephan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20061010/ebbce89a/attachment.htm
Duncan Grisby
2006-10-12 23:31:48 UTC
Permalink
Post by Stephan February
I've just had a look at the omniORBpy sourcecode, and noticed that the
string_to_ObjectId() function is not implemented in either of the upcoming
3.0 beta nor the 2.7 sourcecode. Is their a reason for this, or did this
method just get overlooked ?
string_to_ObjectId is a part of the C++ mapping, not the CORBA core. It
converts from a string to a sequence of octet. Since in Python sequence
of octet is mapped to string, there's no need for the operation at all.
Just pass the string to the operations that want an object id.

Cheers,

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Loading...