optional member

4 posts / 0 new
Last post
Offline
Last seen: 1 month 2 weeks ago
Joined: 01/13/2016
Posts: 58
how to set and get value of optional members?

Hi, everyone

I have a idl defined like this:

struct StdEntity

{

    boolean valid; //@Optional

    char id[20];

    long type[100]; //@Optional

    double val[1500]; 

};

the member valid and val does not transfer every time, so i want known that how to set and get value for these optional members.

thanks for any help

Keywords:
4 posts / 0 new
Last post
Offline
Last seen: 2 years 11 months ago
Joined: 07/26/2021
Posts: 2
DynamicData: get name of optional members modern C++

we're developing an test interface to test some DDS applications, which parses JSON-Topics to IDL-Topics.

Subscribe to RSS - optional member