Interstage Application Server アプリケーション作成ガイド (CORBAサービス編) |
目次
索引
![]() ![]() |
第5章 アプリケーションの開発(C++言語) | > 5.5 データ型に対するマッピング |
クライアント/サーバアプリケーションでパラメタ受渡しに使用するデータ型を以下に示します。
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 |
クライアントアプリケーションのin、inoutパラメタ、およびサーバアプリケーションのout、inoutパラメタ復帰値では、文字列型、シーケンス型、構造体、共用体、配列データ型でNULLポインタを設定することができません。
目次
索引
![]() ![]() |