IDL 4.2 · §7.4.13.4.7

Bitmask

A bitmask is a set of named bit flags backed by an unsigned integer, with optional @position for explicit bit indices. Values combine with bitwise OR.

Example

@bit_bound(8)
bitmask Permissions {
  READ,
  WRITE,
  @position(4) EXECUTE,
};

ZeroDDS support

OMG IDL 4.2 section§7.4.13.4.7
Implementationidl-lower/src/complete.rs
Testsvalidation.rs
Status✓ — parsed and validated.

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