| 53 | |
| 54 | template <typename Key> |
| 55 | int find( |
| 56 | OpenDDS::DCPS::DomainParticipantImpl::TopicMap& c, |
| 57 | const Key& key, |
| 58 | OpenDDS::DCPS::DomainParticipantImpl::TopicMap::mapped_type*& value) |
| 59 | { |
| 60 | OpenDDS::DCPS::DomainParticipantImpl::TopicMap::iterator iter = |
| 61 | c.find(key); |
| 62 | |
| 63 | if (iter == c.end()) { |
| 64 | return -1; |
| 65 | } |
| 66 | |
| 67 | value = &iter->second; |
| 68 | return 0; |
| 69 | } |
| 70 | |
| 71 | DDS::PropertySeq filter_properties(const DDS::PropertySeq& properties, const std::string& prefix) |
| 72 | { |
no test coverage detected