public class TCKind extends Object
TCKind ,它指定了一个TypeCode对象的种类。
每种原始和必需的IDL数据类型都有一种。
TCKind包括:
int常量,一种用于各种IDL数据类型。 这些int常量可以使用switch语句。 TCKind常数,一种用于各种IDL数据类型。 每个TCKind实例的value字段使用与实例所代表的IDL数据类型相对应的int常数进行初始化。 from_int用于转换int成其相应的TCKind实例 例:
org.omg.CORBA.TCKind k = org.omg.CORBA.TCKind.from_int(
org.omg.CORBA.TCKind._tk_string); 变量k代表TCKind的IDL类型string ,即tk_string 。 value用于访问_value字段的TCKind常数 例:
int i = org.omg.CORBA.TCKind.tk_char.value(); 变量i表示9,IDL数据类型为char的值。 TCKind实例的value字段是用于IIOP消息中的TypeCode对象的CDR编码。
| Modifier and Type | Field and Description |
|---|---|
static int |
_tk_abstract_interface
int常数为IDL数据类型
abstract interface 。
|
static int |
_tk_alias
int常数为IDL数据类型
alias 。
|
static int |
_tk_any
int常数为IDL数据类型
any 。
|
static int |
_tk_array
int常数为IDL数据类型
array 。
|
static int |
_tk_boolean
int常数为IDL数据类型
boolean 。
|
static int |
_tk_char
int常数为IDL数据类型
char 。
|
static int |
_tk_double
int常数为IDL数据类型
double 。
|
static int |
_tk_enum
int常数为IDL数据类型
枚举 。
|
static int |
_tk_except
int常数为IDL数据类型
except 。
|
static int |
_tk_fixed
int常量为IDL数据类型
fixed 。
|
static int |
_tk_float
int常数为IDL数据类型
float 。
|
static int |
_tk_long
int常数为IDL数据类型
long 。
|
static int |
_tk_longdouble
int常数为IDL数据类型
longdouble 。
|
static int |
_tk_longlong
int常数为IDL数据类型
longlong 。
|
static int |
_tk_native
int常数为IDL数据类型
native 。
|
static int |
_tk_null
int常数为
null IDL数据类型。
|
static int |
_tk_objref
int常数为IDL数据类型
objref 。
|
static int |
_tk_octet
int常数为IDL数据类型
octet 。
|
static int |
_tk_Principal
int常数为IDL数据类型
Principal 。
|
static int |
_tk_sequence
int常数为IDL数据类型
sequence 。
|
static int |
_tk_short
int常数为IDL数据类型
short 。
|
static int |
_tk_string
int常数为IDL数据类型
string 。
|
static int |
_tk_struct
int常数为IDL数据类型
struct 。
|
static int |
_tk_TypeCode
int常数为IDL数据类型
TypeCode 。
|
static int |
_tk_ulong
int常数为IDL数据类型
ulong 。
|
static int |
_tk_ulonglong
int常数为IDL数据类型
ulonglong 。
|
static int |
_tk_union
int常数为IDL数据类型
union 。
|
static int |
_tk_ushort
int常数为IDL数据类型
ushort 。
|
static int |
_tk_value
int常量为IDL数据类型
value 。
|
static int |
_tk_value_box
int常数为IDL数据类型
value_box 。
|
static int |
_tk_void
int常量为IDL数据类型
void 。
|
static int |
_tk_wchar
int常数为IDL数据类型
wchar 。
|
static int |
_tk_wstring
int常数为IDL数据类型
wstring 。
|
static TCKind |
tk_abstract_interface
TCKind常数,其
value字段用
TCKind._tk_abstract_interface 。
|
static TCKind |
tk_alias
TCKind常数,其
value字段用
TCKind._tk_alias 。
|
static TCKind |
tk_any
TCKind常数,其
value字段用
TCKind._tk_any 。
|
static TCKind |
tk_array
TCKind常数,其
value字段用
TCKind._tk_array 。
|
static TCKind |
tk_boolean
TCKind常数的
value字段用
TCKind._tk_boolean 。
|
static TCKind |
tk_char
TCKind常数,其
value字段用
TCKind._tk_char 。
|
static TCKind |
tk_double
TCKind常数,其
value字段用
TCKind._tk_double 。
|
static TCKind |
tk_enum
TCKind常数,其
value字段用
TCKind._tk_enum 。
|
static TCKind |
tk_except
TCKind常数,其
value字段用
TCKind._tk_except 。
|
static TCKind |
tk_fixed
TCKind常数,其
value字段用
TCKind._tk_fixed 。
|
static TCKind |
tk_float
TCKind常数,其
value字段用
TCKind._tk_float 。
|
static TCKind |
tk_long
TCKind常数,其
value字段用
TCKind._tk_long 。
|
static TCKind |
tk_longdouble
TCKind常数,其
value字段用
TCKind._tk_longdouble 。
|
static TCKind |
tk_longlong
TCKind常数,其
value字段用
TCKind._tk_longlong 。
|
static TCKind |
tk_native
TCKind常数的
value字段用
TCKind._tk_native 。
|
static TCKind |
tk_null
TCKind常数,其
value字段用
TCKind._tk_null 。
|
static TCKind |
tk_objref
TCKind常数的
value字段被初始化为
TCKind._tk_objref 。
|
static TCKind |
tk_octet
TCKind常数,其
value字段用
TCKind._tk_octet 。
|
static TCKind |
tk_Principal
TCKind常数,其
value字段用
TCKind._tk_Principal 。
|
static TCKind |
tk_sequence
TCKind常数,其
value字段用
TCKind._tk_sequence 。
|
static TCKind |
tk_short
TCKind常数,其
value字段用
TCKind._tk_short 。
|
static TCKind |
tk_string
TCKind常数,其
value字段用
TCKind._tk_string 。
|
static TCKind |
tk_struct
TCKind常数,其
value字段用
TCKind._tk_struct 。
|
static TCKind |
tk_TypeCode
TCKind常数,其
value字段用
TCKind._tk_TypeCode 。
|
static TCKind |
tk_ulong
TCKind常数,其
value字段用
TCKind._tk_ulong 。
|
static TCKind |
tk_ulonglong
TCKind常数,其
value字段用
TCKind._tk_ulonglong 。
|
static TCKind |
tk_union
TCKind常数,其
value字段用
TCKind._tk_union 。
|
static TCKind |
tk_ushort
TCKind常数,其
value字段用
TCKind._tk_ushort 。
|
static TCKind |
tk_value
TCKind常数,其
value字段用
TCKind._tk_value 。
|
static TCKind |
tk_value_box
TCKind常数,其
value字段用
TCKind._tk_value_box 。
|
static TCKind |
tk_void
TCKind常数,其
value字段用
TCKind._tk_void 。
|
static TCKind |
tk_wchar
TCKind常数,其
value字段用
TCKind._tk_wchar 。
|
static TCKind |
tk_wstring
TCKind常数,其
value字段用
TCKind._tk_wstring 。
|
| Modifier | Constructor and Description |
|---|---|
protected |
TCKind(int _value)
已弃用
不要使用这个构造函数,因为这个方法应该根据OMG规范是私有的。
改用
from_int(int) 。
|
public static final int _tk_null
int常数为
null IDL数据类型。
public static final int _tk_void
int常数为IDL数据类型
void 。
public static final int _tk_short
int常数为IDL数据类型
short 。
public static final int _tk_long
int常数为IDL数据类型
long 。
public static final int _tk_ushort
int常量为IDL数据类型
ushort 。
public static final int _tk_ulong
int常数为IDL数据类型
ulong 。
public static final int _tk_float
int常数为IDL数据类型
float 。
public static final int _tk_double
int常数为IDL数据类型
double 。
public static final int _tk_boolean
int常数为IDL数据类型
boolean 。
public static final int _tk_char
int常数为IDL数据类型
char 。
public static final int _tk_octet
int常数为IDL数据类型
octet 。
public static final int _tk_any
int常数为IDL数据类型
any 。
public static final int _tk_TypeCode
int常数为IDL数据类型
TypeCode 。
public static final int _tk_Principal
int常数为IDL数据类型
Principal 。
public static final int _tk_objref
int常数为IDL数据类型
objref 。
public static final int _tk_struct
int常数为IDL数据类型
struct 。
public static final int _tk_union
int常数为IDL数据类型
union 。
public static final int _tk_enum
int常数为IDL数据类型
枚举 。
public static final int _tk_string
int常量为IDL数据类型
string 。
public static final int _tk_sequence
int常数为IDL数据类型
sequence 。
public static final int _tk_array
int常数为IDL数据类型
array 。
public static final int _tk_alias
int常数为IDL数据类型
alias 。
public static final int _tk_except
int常数为IDL数据类型
except 。
public static final int _tk_longlong
int常数为IDL数据类型
longlong 。
public static final int _tk_ulonglong
int常数为IDL数据类型
ulonglong 。
public static final int _tk_longdouble
int常数为IDL数据类型
longdouble 。
public static final int _tk_wchar
int常数为IDL数据类型
wchar 。
public static final int _tk_wstring
int常量为IDL数据类型
wstring 。
public static final int _tk_fixed
int常数为IDL数据类型
fixed 。
public static final int _tk_value
int常数为IDL数据类型
value 。
public static final int _tk_value_box
int常数为IDL数据类型
value_box 。
public static final int _tk_native
int常数为IDL数据类型
native 。
public static final int _tk_abstract_interface
int常数为IDL数据类型
abstract interface 。
public static final TCKind tk_null
TCKind常数,其
value字段用
TCKind._tk_null 。
public static final TCKind tk_void
TCKind常数,其
value字段用
TCKind._tk_void 。
public static final TCKind tk_short
TCKind常数,其
value字段用
TCKind._tk_short 。
public static final TCKind tk_long
TCKind常数,其
value字段用
TCKind._tk_long 。
public static final TCKind tk_ushort
TCKind常数,其
value字段用
TCKind._tk_ushort 。
public static final TCKind tk_ulong
TCKind常数的
value字段用
TCKind._tk_ulong 。
public static final TCKind tk_float
TCKind常数,其
value字段用
TCKind._tk_float 。
public static final TCKind tk_double
TCKind常数,其
value字段用
TCKind._tk_double 。
public static final TCKind tk_boolean
TCKind常数,其
value字段用
TCKind._tk_boolean 。
public static final TCKind tk_char
TCKind常数,其
value字段用
TCKind._tk_char 。
public static final TCKind tk_octet
TCKind常数,其
value字段用
TCKind._tk_octet 。
public static final TCKind tk_any
TCKind常数,其
value字段用
TCKind._tk_any 。
public static final TCKind tk_TypeCode
TCKind常数,其
value字段用
TCKind._tk_TypeCode 。
public static final TCKind tk_Principal
TCKind常数,其
value字段用
TCKind._tk_Principal 。
public static final TCKind tk_objref
TCKind常数,其
value字段用
TCKind._tk_objref 。
public static final TCKind tk_struct
TCKind常数,其
value字段用
TCKind._tk_struct 。
public static final TCKind tk_union
TCKind常数,其
value字段用
TCKind._tk_union 。
public static final TCKind tk_enum
TCKind常数,其
value字段用
TCKind._tk_enum 。
public static final TCKind tk_string
TCKind常数,其
value字段用
TCKind._tk_string 。
public static final TCKind tk_sequence
TCKind常数,其
value字段用
TCKind._tk_sequence 。
public static final TCKind tk_array
TCKind常数,其
value字段用
TCKind._tk_array 。
public static final TCKind tk_alias
TCKind常数,其
value字段用
TCKind._tk_alias 。
public static final TCKind tk_except
TCKind常数的
value字段用
TCKind._tk_except 。
public static final TCKind tk_longlong
TCKind常数,其
value字段用
TCKind._tk_longlong 。
public static final TCKind tk_ulonglong
TCKind常数的
value字段用
TCKind._tk_ulonglong 。
public static final TCKind tk_longdouble
TCKind常数,其
value字段用
TCKind._tk_longdouble 。
public static final TCKind tk_wchar
TCKind常数,其
value字段用
TCKind._tk_wchar 。
public static final TCKind tk_wstring
TCKind常数,其
value字段用
TCKind._tk_wstring 。
public static final TCKind tk_fixed
TCKind常数,其
value字段用
TCKind._tk_fixed 。
public static final TCKind tk_value
TCKind常数,其
value字段用
TCKind._tk_value 。
public static final TCKind tk_value_box
TCKind常数,其
value字段用
TCKind._tk_value_box 。
public static final TCKind tk_native
TCKind常数,其
value字段用
TCKind._tk_native 。
public static final TCKind tk_abstract_interface
TCKind常数,其
value字段用
TCKind._tk_abstract_interface 。
@Deprecated protected TCKind(int _value)
TCKind实例,使用给定的
int 。
_value - 转换int 。
它必须是一个int在类中的常量TCKind 。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.