[omniORB] long long 'and' any
Gary D. Duzan
gdd0@gte.com
Wed, 25 Mar 1998 16:03:30 -0500
In Message <Pine.LNX.3.96.980325142141.23307A-100000@jain.ittc.ukans.edu> ,
Saravanan Radhakrishnan <rsarav@ittc.ukans.edu> wrote:
=>
=>
=>Hi !
=>I'd like to know if long long and 'any' have been implemented in
=>omniorb. This is because when I had a long long in my IDL and
=>did omniidl2, it aborted. When I changed to Double, it worked.
=>Regarding 'any' I have no idea, though.
It looks like there are some missing pieces in the TypeCode support.
For TCKind, the spec says:
enum TCKind {
tk_null, tk_void, tk_short, tk_long, tk_ushort, tk_ulong,
tk_float, tk_double, tk_boolean, tk_char, tk_octet, tk_any,
tk_TypeCode, tk_Principal, tk_objref, tk_struct, tk_union, tk_enum,
tk_string, tk_sequence, tk_array, tk_alias, tk_except, tk_longlong,
tk_ulonglong, tk_longdouble, tk_wchar, tk_wstring, tk_fixed
};
while omniORB2/CORBA.h has:
enum TCKind {
tk_null = 0,
tk_void = 1,
tk_short = 2,
tk_long = 3,
tk_ushort = 4,
tk_ulong = 5,
tk_float = 6,
tk_double = 7,
tk_boolean = 8,
tk_char = 9,
tk_octet = 10,
tk_any = 11,
tk_TypeCode = 12,
tk_Principal= 13,
tk_objref = 14,
tk_struct = 15,
tk_union = 16,
tk_enum = 17,
tk_string = 18,
tk_sequence = 19,
tk_array = 20,
tk_alias = 21,
tk_except = 22
};
Now I am looking at CORBA 2.1, so it may be that the TCKinds after tk_except
were not present in 2.0, which I believe is the reference for OmniORB. In any
case, since you don't have a tk_longlong, you can't put one in an Any.
Gary Duzan
GTE Laboratories