DDS X-Types

2 posts / 0 new
Last post
Last seen: 7 years 1 month ago
Joined: 02/17/2017
Posts: 3
DDS Code Generator (X-Types Annotations)


I have a couple of questions about the DDS code generator (5.2.3).

1.  In "RTI_CoreLibrariesAndUtilities_GettingStarted_ExtensibleTypesAddendum.pdf", it states that (sorry about the formatting):

Note: To specify both the “@ID” and “@Optional” annotations, they must be on separate lines:
struct MyType {
long a;
long b;
long c; //@Optional
//@ID 100
long d;

However, this appears not to be the case. In fact, I'd go as far as to say that the code generator will accept any number of annotations on the same line. Is that correct?

Subscribe to RSS - DDS X-Types