Data type mappings

The WebSphere CORBA valuetype library for C++ provides mappings for the following primitive data types:

Java IDL Type C++ Type
boolean boolean CORBA::Boolean
byte octet CORBA::Octet
char wchar CORBA::Wchar
double double CORBA::Double
float float CORBA::Float
int long CORBA::Long
int unsigned long CORBA::ULong
long long long CORBA::LongLong
long unsigned long long CORBA::ULongLong
byte char CORBA::Char
short short CORBA::Short
short unsigned short CORBA::UShort
void void CORBA::void


Objects behave somewhat differently, as shown in the following examples (Java type-> IDL type-> C++ type):

The IDL definition for the Enumeration valuetype (as generated by the rmic -idl utility) is as follows:

module java {
  module util {
    abstract valuetype Enumeration;
  };
};


Related concepts
CORBA valuetype library for C++



Searchable topic ID:   ccor_vallc2
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/corba/concepts/ccor_vallc2.html

Library | Support | Terms of Use | Feedback