[omniORB] TCKind and TypeCodes

Stephen Crawley crawley@dstc.edu.au
Fri, 06 Jul 2001 09:47:39 +1000


> 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)?

The C++ mapping provides constant TypeCodes for all of the builtin IDL
types; e.g.

  namespace CORBA {
    ...
    const CORBA::TypeCode_ptr _tc_string = ...
  }

-- Steve