Mapping for predefined EAServer Manager datatypes

Table 13-1 lists the datatypes in EAServer Manager, the equivalent CORBA IDL types, and the C++ datatypes used in stub methods. You can also define additional types in IDL; when you generate stubs and skeletons, these are translated to C++ types using the standard CORBA IDL to C++ type mappings. For example, The BCD and MJD CORBA IDL modules define types to represent binary data, fixed-point numeric data, dates, and times. For details, see the generated Interface Repository documentation for these IDL modules.

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

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*