ページの先頭行へ戻る
Interstage Application Server アプリケーション作成ガイド(CORBAサービス編)
Interstage

3.7.1 基本データ型

CORBAで定義されている基本データ型とC言語でのデータ型の対応を以下に示します。


CORBAデータ型

C言語での定義

備考

整数型

long

CORBA_long

  

short

CORBA_short

  

unsigned long

CORBA_unsigned_long

  

unsigned short

CORBA_unsigned_short

  

long long

CORBA_long_long

  

浮動小数点型

float

CORBA_float

  

double

CORBA_double

  

long double

CORBA_long_double

文字型

char

CORBA_char

  

wchar

CORBA_wchar

  

オクテッド型

octet

CORBA_octet

  

ブーリアン型

boolean

CORBA_boolean

  

文字列型

string

CORBA_string

3.7.2 文字列型”参照

wstring

CORBA_wstring

3.7.3 ワイド文字列型”参照

列挙型

enum

CORBA_enum

  

any型

any

CORBA_any

3.7.4 any型”参照

オブジェクトリファレンス

Object

CORBA_Object

  

タイプコード

TypeCode

CORBA_TypeCode