Table 13-1: EAServer Manager, CORBA IDL, and C++ datatype mappings
EAServer Manager
|
CORBA IDL type
|
Argument mode
|
IDL C++ type
|
integer<16>
|
short
|
in
inout
out
return
|
CORBA::Short
CORBA::Short&
CORBA::Short_out
CORBA::Short
|
integer<32>
|
long
|
in
inout
out
return
|
CORBA::Long
CORBA::Long&
CORBA::Long_out
CORBA::Long
|
integer<64>
|
long long
|
in
inout
out
return
|
CORBA::LongLong
CORBA::LongLong&
CORBA::LongLong_out
CORBA::LongLong
Define JAG_LONGLONG
Because there is no standard C++ type for
an signed 64-bit integer, you must define the JAG_LONGLONG
macro as your compiler’s type for a signed 64-bit integer.
|
float
|
float
|
in
inout
out
return
|
CORBA::Float
CORBA::Float&
CORBA::Float_out
CORBA::Float
|
double
|
double
|
in
inout
out
return
|
CORBA::Double
CORBA::Double&
CORBA::Double_out
CORBA::Double
|
boolean
|
boolean
|
in
inout
out
return
|
CORBA::Boolean
CORBA::Boolean&
CORBA::Boolean_out
CORBA::Boolean
|
string
|
string
|
in
inout
out
return
|
char*
char*&
CORBA::String_out
char*
|
binary
|
BCD::Binary
|
in
inout
out
return
|
BCD::Binary&
BCD::Binary&
BCD::Binary_out
BCD::Binary*
|
decimal
|
BCD::Decimal
|
in
inout
out
return
|
BCD::Decimal&
BCD::Decimal&
BCD::Decimal_out
BCD::Decimal*
|
money
|
BCD::Money
|
in
inout
out
return
|
BCD::Money&
BCD::Money&
BCD::Money_out
BCD::Money*
|
date
|
MJD::Date
|
in
inout
out
return
|
MJD::Date&
MJD::Date&
MJD::Date_out
MJD::Date
|
time
|
MJD::Time
|
in
inout
out
return
|
MJD::Time&
MJD::Time&
MJD::Time_out
MJD::Time
|
timestamp
|
MJD::Timestamp
|
in
inout
out
return
|
MJD::Timestamp&
MJD::Timestamp&
MJD::Timestamp_out
MJD::Timestamp
|
ResultSet
|
TabularResults::
ResultSet
|
return
|
TabularResults::ResultSet*
|
ResultSets
|
TabularResults::
ResultSets
|
return
|
TabularResults::ResultSets*
|