JavaTM 2 Platform
Standard Ed. 6

类 org.omg.CORBA.TCKind
的使用

使用 TCKind 的软件包
org.omg.CORBA 提供 OMG CORBA API 到 JavaTM 编程语言的映射,包括 ORB 类,如果已实现该类,则程序员可以使用此类作为全功能对象请求代理(Object Request Broker,ORB)。 
org.omg.DynamicAny 提供一些类和接口使得在运行时能够遍历与 any 有关联的数据值,并提取数据值的基本成分。 
 

org.omg.CORBATCKind 的使用
 

声明为 TCKindorg.omg.CORBA 中的字段
static TCKind TCKind.tk_abstract_interface
          TCKind 常量,使用 TCKind._tk_abstract_interface 初始化其 value 字段。
static TCKind TCKind.tk_alias
          TCKind 常量,使用 TCKind._tk_alias 初始化其 value 字段。
static TCKind TCKind.tk_any
          TCKind 常量,使用 TCKind._tk_any 初始化其 value 字段。
static TCKind TCKind.tk_array
          TCKind 常量,使用 TCKind._tk_array 初始化其 value 字段。
static TCKind TCKind.tk_boolean
          TCKind 常量,使用 TCKind._tk_boolean 初始化其 value 字段。
static TCKind TCKind.tk_char
          TCKind 常量,使用 TCKind._tk_char 初始化其 value 字段。
static TCKind TCKind.tk_double
          TCKind 常量,使用 TCKind._tk_double 初始化其 value 字段。
static TCKind TCKind.tk_enum
          TCKind 常量,使用 TCKind._tk_enum 初始化其 value 字段。
static TCKind TCKind.tk_except
          TCKind 常量,使用 TCKind._tk_except 初始化其 value 字段。
static TCKind TCKind.tk_fixed
          TCKind 常量,使用 TCKind._tk_fixed 初始化其 value 字段。
static TCKind TCKind.tk_float
          TCKind 常量,使用 TCKind._tk_float 初始化其 value 字段。
static TCKind TCKind.tk_long
          TCKind 常量,使用 TCKind._tk_long 初始化其 value 字段。
static TCKind TCKind.tk_longdouble
          TCKind 常量,使用 TCKind._tk_longdouble 初始化其 value 字段。
static TCKind TCKind.tk_longlong
          TCKind 常量,使用 TCKind._tk_longlong 初始化其 value 字段。
static TCKind TCKind.tk_native
          TCKind 常量,使用 TCKind._tk_native 初始化其 value 字段。
static TCKind TCKind.tk_null
          TCKind 常量,使用 TCKind._tk_null 初始化其 value 字段。
static TCKind TCKind.tk_objref
          TCKind 常量,使用 TCKind._tk_objref 初始化其 value 字段。
static TCKind TCKind.tk_octet
          TCKind 常量,使用 TCKind._tk_octet 初始化其 value 字段。
static TCKind TCKind.tk_Principal
          TCKind 常量,使用 TCKind._tk_Principal 初始化其 value 字段。
static TCKind TCKind.tk_sequence
          TCKind 常量,使用 TCKind._tk_sequence 初始化其 value 字段。
static TCKind TCKind.tk_short
          TCKind 常量,使用 TCKind._tk_short 初始化其 value 字段。
static TCKind TCKind.tk_string
          TCKind 常量,使用 TCKind._tk_string 初始化其 value 字段。
static TCKind TCKind.tk_struct
          TCKind 常量,使用 TCKind._tk_struct 初始化其 value 字段。
static TCKind TCKind.tk_TypeCode
          TCKind 常量,使用 TCKind._tk_TypeCode 初始化其 value 字段。
static TCKind TCKind.tk_ulong
          TCKind 常量,使用 TCKind._tk_ulong 初始化其 value 字段。
static TCKind TCKind.tk_ulonglong
          TCKind 常量,使用 TCKind._tk_ulonglong 初始化其 value 字段。
static TCKind TCKind.tk_union
          TCKind 常量,使用 TCKind._tk_union 初始化其 value 字段。
static TCKind TCKind.tk_ushort
          TCKind 常量,使用 TCKind._tk_ushort 初始化其 value 字段。
static TCKind TCKind.tk_value
          TCKind 常量,使用 TCKind._tk_value 初始化其 value 字段。
static TCKind TCKind.tk_value_box
          TCKind 常量,使用 TCKind._tk_value_box 初始化其 value 字段。
static TCKind TCKind.tk_void
          TCKind 常量,使用 TCKind._tk_void 初始化其 value 字段。
static TCKind TCKind.tk_wchar
          TCKind 常量,使用 TCKind._tk_wchar 初始化其 value 字段。
static TCKind TCKind.tk_wstring
          TCKind 常量,使用 TCKind._tk_wstring 初始化其 value 字段。
 

返回 TCKindorg.omg.CORBA 中的方法
 TCKind DynStruct.current_member_kind()
          已过时。 返回描述当前成员的种类的 TCKind 对象。
 TCKind DynValue.current_member_kind()
          已过时。 返回描述当前成员的 TCKind 对象。
 TCKind DynUnion.discriminator_kind()
          已过时。 返回与此 union 的鉴别符关联的 TCKind 对象。
static TCKind TCKind.from_int(int i)
          将给定 int 值转换成相应的 TCKind 实例。
abstract  TCKind TypeCode.kind()
          检索此 TypeCode 对象的种类。
 TCKind DynUnion.member_kind()
          已过时。 返回与此 union 成员关联的 TCKind。
 

参数类型为 TCKindorg.omg.CORBA 中的方法
abstract  TypeCode ORB.get_primitive_tc(TCKind tcKind)
          检索表示给定基本 IDL 类型的 TypeCode 对象。
 

org.omg.DynamicAnyTCKind 的使用
 

返回 TCKindorg.omg.DynamicAny 中的方法
 TCKind DynStructOperations.current_member_kind()
          返回与当前位置的成员关联的 TCKind。
 TCKind DynValueOperations.current_member_kind()
          返回与当前位置的成员关联的 TCKind。
 TCKind _DynStructStub.current_member_kind()
          返回与当前位置的成员关联的 TCKind。
 TCKind _DynValueStub.current_member_kind()
          返回与当前位置的成员有关联的 TCKind。
 TCKind DynUnionOperations.discriminator_kind()
          返回鉴别符 TypeCode 的 TCKind 值。
 TCKind _DynUnionStub.discriminator_kind()
          返回鉴别符 TypeCode 的 TCKind 值。
 TCKind DynUnionOperations.member_kind()
          返回当前活动成员 TypeCode 的 TCKind 值。
 TCKind _DynUnionStub.member_kind()
          返回当前活动成员 TypeCode 的 TCKind 值。
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only