How to apply content filtering on sequence

2 posts / 0 new
Last post
Offline
Last seen: 9 years 5 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 year 4 months ago
Joined: 01/16/2013
Posts: 128

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