Chapter 7 DynamicData API

Connext 5.x and higher does not currently support the DynamicData API described in the Extensible Types specification. User applications should continue using the traditional DynamicData API.

The traditional DynamicData API has been extended to support optional members (see 3.2.2.5 Using Optional Member with DynamicData).

The traditional API does not currently support setting/getting the value of a DynamicData sample using member IDs as defined in the Extensible types specification. The member values of the following types should be accessed using the member name:

  • Unions
  • Struct
  • Valuetypes

Although it is possible to use the member_id field in the get/set operations provided by the DynamicData API, the meaning of the ID in the API is not compliant with the member ID described in the Extensible Types specification.

For example, in the Extensible Types specification, the members of a union are identified by both the case values associated with them and their member IDs. When using the DynamicData API to set/get the value of a union member, the member_id parameter in the APIs corresponds to the case value of the member instead of the member ID.