IDL 4.2 · §7.4.1.4.4

Primitive types

The built-in scalar types: integer (short / long / long long, signed + unsigned, plus int8/16/32/64), floating-point (float, double, long double), char, wchar, octet and boolean. Each has a fixed XCDR2 wire encoding.

Example

struct Reading {
  unsigned long  seq;
  double         value;
  octet          quality;
  boolean        valid;
};

ZeroDDS support

OMG IDL 4.2 section§7.4.1.4.4
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