casting

5 posts / 0 new
Last post
Offline
Last seen: 4 years 4 months ago
Joined: 08/13/2014
Posts: 55
Casting dds::core::vector<dds::core::string> to std::vector<std::string>

Hi

I have an IDL file like below:

module myIDL {  struct payload { sequence name; sequence value; string moduleName; //@key }; // end of payload}; // end of module 

In my code, I want to cast the received data from my data writer like below:

std::vector names = data.name();

Subscribe to RSS - casting