1 26 27 package org.objectweb.ccm.IDL3; 28 29 37 38 public class TypeKind 39 { 40 46 49 public static final int _tk_null = org.omg.CORBA.TCKind._tk_null; 50 51 54 public static final int _tk_void = org.omg.CORBA.TCKind._tk_void; 55 56 59 public static final int _tk_short = org.omg.CORBA.TCKind._tk_short; 60 61 64 public static final int _tk_long = org.omg.CORBA.TCKind._tk_long; 65 66 69 public static final int _tk_ushort = org.omg.CORBA.TCKind._tk_ushort; 70 71 74 public static final int _tk_ulong = org.omg.CORBA.TCKind._tk_ulong; 75 76 79 public static final int _tk_float = org.omg.CORBA.TCKind._tk_float; 80 81 84 public static final int _tk_double = org.omg.CORBA.TCKind._tk_double; 85 86 89 public static final int _tk_boolean = org.omg.CORBA.TCKind._tk_boolean; 90 91 94 public static final int _tk_char = org.omg.CORBA.TCKind._tk_char; 95 96 99 public static final int _tk_octet = org.omg.CORBA.TCKind._tk_octet; 100 101 104 public static final int _tk_any = org.omg.CORBA.TCKind._tk_any; 105 106 109 public static final int _tk_TypeCode = org.omg.CORBA.TCKind._tk_TypeCode; 110 111 114 public static final int _tk_Principal = org.omg.CORBA.TCKind._tk_Principal; 115 116 119 public static final int _tk_objref = org.omg.CORBA.TCKind._tk_objref; 120 121 124 public static final int _tk_struct = org.omg.CORBA.TCKind._tk_struct; 125 126 129 public static final int _tk_union = org.omg.CORBA.TCKind._tk_union; 130 131 134 public static final int _tk_enum = org.omg.CORBA.TCKind._tk_enum; 135 136 139 public static final int _tk_string = org.omg.CORBA.TCKind._tk_string; 140 141 144 public static final int _tk_sequence = org.omg.CORBA.TCKind._tk_sequence; 145 146 149 public static final int _tk_array = org.omg.CORBA.TCKind._tk_array; 150 151 154 public static final int _tk_alias = org.omg.CORBA.TCKind._tk_alias; 155 156 159 public static final int _tk_exception = org.omg.CORBA.TCKind._tk_except; 160 161 164 public static final int _tk_longlong = org.omg.CORBA.TCKind._tk_longlong; 165 166 169 public static final int _tk_ulonglong = org.omg.CORBA.TCKind._tk_ulonglong; 170 171 174 public static final int _tk_longdouble = org.omg.CORBA.TCKind._tk_longdouble; 175 176 179 public static final int _tk_wchar = org.omg.CORBA.TCKind._tk_wchar; 180 181 184 public static final int _tk_wstring = org.omg.CORBA.TCKind._tk_wstring; 185 186 189 public static final int _tk_fixed = org.omg.CORBA.TCKind._tk_fixed; 190 191 194 public static final int _tk_value_box = org.omg.CORBA.TCKind._tk_value_box; 195 196 199 public static final int _tk_value = org.omg.CORBA.TCKind._tk_value; 200 201 204 public static final int _tk_native = org.omg.CORBA.TCKind._tk_native; 205 206 209 public static final int _tk_abstract_interface = org.omg.CORBA.TCKind._tk_abstract_interface; 210 211 214 public static final int _tk_interface = 99; 215 217 220 public static final int _tk_local_interface = 100; 221 223 226 public static final int _tk_component = 101; 227 229 232 public static final int _tk_home = 102; 233 235 238 public static final int _tk_event = 103; 239 241 247 250 public static String 251 toString(int kind) 252 { 253 switch(kind) 254 { 255 case _tk_null : 256 return "null"; 257 case _tk_void : 258 return "void"; 259 case _tk_short : 260 return "short"; 261 case _tk_long : 262 return "long"; 263 case _tk_ushort : 264 return "ushort"; 265 case _tk_ulong : 266 return "ulong"; 267 case _tk_float : 268 return "float"; 269 case _tk_double : 270 return "double"; 271 case _tk_boolean : 272 return "boolean"; 273 case _tk_char : 274 return "char"; 275 case _tk_octet : 276 return "octet"; 277 case _tk_any : 278 return "any"; 279 case _tk_TypeCode : 280 return "typecode"; 281 case _tk_Principal : 282 return "principal"; 283 case _tk_objref : 284 return "objref"; 285 case _tk_struct : 286 return "struct"; 287 case _tk_union : 288 return "union"; 289 case _tk_enum : 290 return "enum"; 291 case _tk_string : 292 return "string"; 293 case _tk_sequence : 294 return "sequence"; 295 case _tk_array : 296 return "array"; 297 case _tk_alias : 298 return "alias"; 299 case _tk_exception : 300 return "exception"; 301 case _tk_longlong : 302 return "longlong"; 303 case _tk_ulonglong : 304 return "ulonglong"; 305 case _tk_longdouble : 306 return "longdouble"; 307 case _tk_wchar : 308 return "wchar"; 309 case _tk_wstring : 310 return "wstring"; 311 case _tk_fixed : 312 return "fixed"; 313 case _tk_value_box : 314 return "value_box"; 315 case _tk_value : 316 return "value"; 317 case _tk_native : 318 return "native"; 319 case _tk_abstract_interface : 320 return "abstract_interface"; 321 case _tk_local_interface : 322 return "local_interface"; 323 case _tk_interface : 324 return "interface"; 325 case _tk_component : 326 return "component"; 327 case _tk_home : 328 return "home"; 329 case _tk_event : 330 return "event"; 331 default : 332 return "null"; 333 } 334 } 335 } 336 | Popular Tags |