optional member

4 posts / 0 new
Last post
Offline
Last seen: 3 weeks 1 day 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: 3 years 3 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