Interface Definition List (IDL) scoped names are mapped to C++
scopes as follows:
- IDL modules are mapped to C++ namespaces. IDL definitions occurring within
a module are mapped to corresponding C++ definitions within the C++ 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.
- If an IDL identifier is the same as the name of a C++ keyword, the IDL
identifier is mapped to the same identifier prepended with "_cxx_". For example,
an IDL identifier named "class" is mapped to "_cxx_class".