C++ bindings for CORBA Atomic data types

The atomic Interface Definition Language (IDL) data types (long, short, unsigned long, unsigned short, float, double, char, boolean, and octet) are mapped into types defined in corba.h, which are nested within the CORBA scope. See "IDL name scoping" for more information. The first letter of the mapped type is capitalized. For example, to introduce and initialize a local variable named Myvar whose type corresponds to the IDL type named long, a C++ programmer might use the following expression:

CORBA::Long Myvar = 1;

The mapping for the IDL boolean type (CORBA::Boolean) defines only the values 0 and 1. The unsigned long and unsigned short IDL types are mapped to CORBA::ULong and CORBA::UShort, respectively.


Related reference
CORBA C++ bindings for data types
IDL name scoping



Searchable topic ID:   rcor_copadt
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/ref/rcor_copadt.html

Library | Support | Terms of Use | Feedback