This section describes the CORBA IDL mapping to C++ as implemented in NonStop DOM. The implementation is consistent with C++ mapping described in the ORB Portability Joint Submission, Part 1 of 2, orbos/97-04-14. It is assumed that the C++ compiler is (except where noted) compliant with the proposed C++ ANSI/ISO Standard. See the Bibliography for details.
IDL methods can be written in and invoked from within C++ because IDL provides CORBA mapping to the following C++ language elements:
IDL identifiers are mapped to C++ identifiers of the same name. If an IDL definition contains an identifier that matches a C++ keyword, the IDL identifier is preceded by underscore cxx underscore:
_cxx
_keyword
For example, new
would map to _cxx_new.