IDL 4.2 · §7.4.13.4.6

Bitset

A bitset packs named bitfields into a compact backing integer. ZeroDDS validates total width against the declared (or inferred) base type and emits accessor code per field.

Example

bitset Flags {
  bitfield<3> mode;
  bitfield<1> active;
  bitfield<4> priority;
};

ZeroDDS support

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