How to apply content filtering on sequence

2 posts / 0 new
Last post
Offline
Last seen: 5 years 9 months ago
Joined: 11/06/2014
Posts: 1
How to apply content filtering on sequence

hi,

 

I'm using following idl 

 

struct contentfilter {

typedef KVPair
{
string key;
string value;
}

typedef sequence<KVpair> seq;

};

I need to filter using any key or any value. how can i acheive this?
 
sara's picture
Offline
Last seen: 1 month 1 day ago
Joined: 01/16/2013
Posts: 125

Hi vishu2111.

You can filter on a key or on any other member. There are a couple of examples that you may find handy to start with this:

https://community.rti.com/examples/content-filtered-topic

https://community.rti.com/examples/content-filtered-topic-string-filter

Take a look and let me know if you need anything else.

Thanks,

Sara