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 |
| Implementation | idl-rust/src/bitset_emit.rs |
| Tests | bitfield_validation.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