DDS-XTypes 1.4b1 RTF Avatar
  1. OMG Issue

DDSXTY14 — extensible sequence of enums

  • Key: DDSXTY14-195
  • Status: open   Implementation work Blocked
  • Source: MIT/Lincoln Laboratory ( Mr. Daniel Herring)
  • Summary:

    Consider the following IDL fragment
    enum E

    { E1 ... EN }

    typedef sequence<E, N> SeqE;
    struct S

    { SeqE value; }

    If the user wants to extend E with additional values, then @try_construct(USE_DEFAULT) allows the subscriber to replace unknown values with a default.
    Q1: Where should this annotation be applied – in the definition of SeqE or S?

    If the user wants to extend SeqE with added length, then @try_construct(TRIM) allows the subscriber to shorten samples as needed.

    Q2: If the user needs to extend both E and SeqE, then how can they use both annotations at the same time?

  • Reported: DDS-XTypes 1.3 — Tue, 3 Feb 2026 15:00 GMT
  • Updated: Wed, 4 Feb 2026 23:42 GMT