![]() |
IDL scoped names are mapped to C++ scopes as follows.
- In the IBM C++ bindings, IDL modules are, by default, mapped to C++ classes of the same name. If the programmer using the bindings #defines _USE_NAMESPACE before including the bindings, then the bindings map the IDL module to a C++ namespace of the same name. IDL definitions occurring within a module are mapped to corresponding C++ definitions within the C++ module class or namespace.
- IDL interfaces are mapped to C++ classes. All IDL constructs defined within an interface are mapped to corresponding C++ definitions within the C++ interface class.
- Every use in IDL of a C++ keyword (such as "class") is mapped into the same identifier with a leading underscore.