Interstage Application Server アプリケーション作成ガイド (CORBAサービス編)
目次 索引 前ページ次ページ

第4章 アプリケーションの開発(C言語)> 4.7 データ型に対するマッピング

4.7.11 パラメタ受渡しで使用するデータ型

 クライアント/サーバアプリケーションでパラメタ受渡に使用するデータ型を以下に示します。

CORBAデータ型

in

out

inout

復帰

long

long

long*

long*

long

short

short

short*

short*

short

unsigned long

unsigned long

unsigned long*

unsigned long*

unsigned long

unsigned short

unsigned short

unsigned short*

unsigned short*

unsigned short

long long

long long

long long*

long long*

long long

float

float

float*

float*

float

double

double

double*

double*

double

long double

long double

long double*

long double*

long double

char

char

char*

char*

char

wchar

wchar

wchar*

wchar*

wchar

octet

octet

octet*

octet*

octet

Boolean

boolean

boolean*

boolean*

boolean

enum

enum

enum*

enum*

enum

string

char*

char**

char**

char*

wstring

wchar*

wchar**

wchar**

wchar*

any

any*

any**

any*

any*

sequence

sequence*

sequence**

sequence*

sequence*

struct

固定長

struct*

struct*

struct*

struct

可変長

struct*

struct**

struct*

struct*

union

固定長

union*

union*

union*

union

可変長

union*

union**

union*

union*

array(配列)

固定長

array

array

array

array slice*

可変長

array

array slice**

array

array slice*

Object

CORBA_Object

CORBA_Object*

CORBA_Object*

CORBA_Object

TypeCode

CORBA_TypeCode

CORBA_TypeCode*

CORBA_TypeCode*

CORBA_TypeCode

注意事項

(1)NULLポインタの設定について

 クライアントアプリケーションのin、inoutパラメタ、およびサーバアプリケーションのout、 inoutパラメタ復帰値では、文字列型、シーケンス型、構造体、共用型、配列データ型でNULLポインタを設定することができません。


目次 索引 前ページ次ページ

All Rights Reserved, Copyright(C) 富士通株式会社 2005