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

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

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

CORBAデータ型

in

out

inout

復帰

long

Long

Long&

Long&

Long

short

Short

Short&

Short&

Short

unsigned long

ULong

ULong&

ULong&

ULong

unsigned short

UShort

UShort&

UShort&

UShort

long long

LongLong

LongLong&

LongLong&

LongLong

float

Float

Float&

Float&

Float

double

Double

Double&

Double&

Double

long double

LongDouble

LongDouble&

LongDouble&

LongDouble

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

const Char*

Char*&

Char*&

Char*

wstring

const WChar*

WChar*&

WChar*&

WChar*

any

const any&

any*&

any&

any*

sequence

const sequence&

sequence*&

sequence&

sequence*

struct

固定長

const struct&

struct&

struct&

struct

可変長

const struct&

struct*&

struct&

struct*

union

固定長

const union&

union&

union&

union

可変長

const union&

union*&

union&

union*

array(配列)

固定長

const array

array

array

array slice*

可変長

const array

array slice*&

array

array slice*

Object

CORBA::Object_ptr

CORBA::Object_ptr&

CORBA::Object_ptr&

CORBA::Object_ptr

TypeCode

CORBA::TypeCode_ptr

CORBA::TypeCode_ptr&

CORBA::TypeCode_ptr&

CORBA::TypeCode_ptr


注意事項

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

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