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-lower/src/lower.rs
Testslowering.rs
Status✓ — parsed and validated.

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