IDL 4.2 · §7.4.13.4.2.1

Sequence

A sequence<T> is a variable-length, ordered collection of T, optionally bounded. Sequences nest and may hold any constructed type; on the wire they are length-prefixed XCDR2.

Example

struct Track {
  sequence point_ids;   // bounded
  sequence    weights;     // unbounded
};

ZeroDDS support

OMG IDL 4.2 section§7.4.13.4.2.1
Implementationidl-rust/src
Testsroundtrip.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