IDL constant declarations

Constants are declared in Interface Declaration Language (IDL) just as in C++ except that the type of the constant must be a valid IDL type. IDL constant declarations take the following form:

const const-type identifier=constant-expression;

The const-type must be a valid IDL integer, char, wchar, boolean, floating point, string, wstring, octet, or enum type. The identifier is the name of the constant being defined. The constant-expression is a constant expression as in C or C++ and can include the following that are usual in the C and C++ programming languages:


Related reference
IDL interface declarations



Searchable topic ID:   rcor_idltcb
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_idltcb.html

Library | Support | Terms of Use | Feedback