-
Key: DDSXTY14-33
-
Status: open Implementation work Blocked
-
Source: Object Computing, Inc. - OCI ( Mr. Adam Mitz)
-
Summary:
The row for ENUM_TYPE in Table 40 defines an enum's holder type.
Footnote 3 on page 63 indicates that the type system is designed to allow a DataReader to consume a byte stream from a differently-typed (but assignable) DataWriter without "requiring the consultation of per-DataWriter type definitions during sample deserialization".
The current definition of Enum Assignability fails in this respect. It needs to prevent enum types from being assignable when their holder types differ.
Also relevant - pgh 2 of 7.2.4.2 "...Enumerated types (Enumeration and Bitmask) are delimited types as their serialized size is fixed"
-
Reported: DDS-XTypes 1.3 — Wed, 26 Aug 2020 18:09 GMT
-
Updated: Wed, 26 Aug 2020 22:09 GMT
DDSXTY14 — Enums with different holder types should not be assignable
- Key: DDSXTY14-33
- OMG Task Force: DDS Extensible Types (DDS-XTYPES) 1.4 RTF