IDL 4.2 · §7.4.1

Module

A module introduces a named scope, the IDL equivalent of a namespace. Modules nest and may be reopened; ZeroDDS maps each level to a nested namespace/module in every target language.

Example

module Sensors {
  module Lidar {
    struct Scan { /* … */ };
  };
};

ZeroDDS support

OMG IDL 4.2 section§7.4.1
Implementationidl/src/ast
Testsparse_omg.rs
Status✓ RC3 — parsed, validated and code-generated across all target languages.

See also: IDL construct coverage · idl-4.2 audit · OMG IDL 4.2 spec