MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / find

Function find

dds/DCPS/DomainParticipantImpl.cpp:55–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 2

create_topic_iMethod · 0.70

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected