Table 7-1 lists the CORBA IDL types predefined in EAServer and the equivalent C++ datatypes. 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.
CORBA IDL type |
Argument mode |
IDL C++ type |
---|---|---|
short |
in inout out return |
CORBA::Short CORBA::Short& CORBA::Short_out CORBA::Short |
long |
in inout out return |
CORBA::Long CORBA::Long& CORBA::Long_out CORBA::Long |
long long |
in inout out return |
CORBA::LongLong CORBA::LongLong& CORBA::LongLong_out CORBA::LongLong |
float |
in inout out return |
CORBA::Float CORBA::Float& CORBA::Float_out CORBA::Float |
double |
in inout out return |
CORBA::Double CORBA::Double& CORBA::Double_out CORBA::Double |
boolean |
in inout out return |
CORBA::Boolean CORBA::Boolean& CORBA::Boolean_out CORBA::Boolean |
string |
in inout out return |
char* char*& CORBA::String_out char* |
BCD::Binary |
in inout out return |
BCD::Binary& BCD::Binary& BCD::Binary_out BCD::Binary* |
BCD::Decimal |
in inout out return |
BCD::Decimal& BCD::Decimal& BCD::Decimal_out BCD::Decimal* |
BCD::Money |
in inout out return |
BCD::Money& BCD::Money& BCD::Money_out BCD::Money* |
MJD::Date |
in inout out return |
MJD::Date& MJD::Date& MJD::Date_out MJD::Date |
MJD::Time |
in inout out return |
MJD::Time& MJD::Time& MJD::Time_out MJD::Time |
MJD::Timestamp |
in inout out return |
MJD::Timestamp& MJD::Timestamp& MJD::Timestamp_out MJD::Timestamp |
TabularResults:: ResultSet |
return |
TabularResults::ResultSet* |
TabularResults:: ResultSets |
return |
TabularResults::ResultSets* |