ページの先頭行へ戻る
Interstage Application Server リファレンスマニュアル(API編)

2.10.2 CORBA::TypeCode::kind()

名前

  CORBA::TypeCode::kind

形式

  #include <orb_cplus.h>
  CORBA::TCKind CORBA::TypeCode::kind(
        CORBA::Environment &env);

機能説明

  TypeCodeオブジェクトの属性情報を返します。属性情報には以下のものがあります。

  CORBA::tk_null          0L
  CORBA::tk_void          1L
  CORBA::tk_short         2L
  CORBA::tk_long          3L
  CORBA::tk_ushort        4L
  CORBA::tk_ulong         5L
  CORBA::tk_float         6L
  CORBA::tk_double        7L
  CORBA::tk_boolean       8L
  CORBA::tk_char          9L
  CORBA::tk_octet         10L
  CORBA::tk_any           11L
  CORBA::tk_TypeCode      12L
  CORBA::tk_Principal     13L
  CORBA::tk_objref        14L
  CORBA::tk_struct        15L
  CORBA::tk_union         16L
  CORBA::tk_enum          17L
  CORBA::tk_string        18L
  CORBA::tk_sequence      19L
  CORBA::tk_array         20L
  CORBA::tk_alias         21L
  CORBA::tk_except        22L
  CORBA::tk_longlong      23L
  CORBA::tk_longdouble    25L
  CORBA::tk_wchar         26L
  CORBA::tk_wstring       27L

パラメタ

  env

  例外情報が格納される構造体。

復帰値

  正常終了した場合は、属性情報を返します。
  異常終了した場合は、CORBA::tk_nullを返します。