[omniORB] TCKind and TypeCodes

Duncan Grisby dgrisby@uk.research.att.com
Fri, 06 Jul 2001 12:01:57 +0100


On Wednesday 11 July, Joshua Reynolds wrote:

> Is there any built in functionality to get from the enumerated TCKind 
> (i.e CORBA.tk_string) to TypeCode objects  themselves(i.e 
> CORBA.TC_string)?

I assume from the syntax that you're talking about Python. There isn't
any way to get from a TypeCode kind to an actual TypeCode. For all but
the simplest TypeCodes (not even string), there isn't a simple mapping
of kinds to TypeCodes.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --