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

Function get_property

performance-tests/bench/builder/Common.cpp:170–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170Builder::ConstPropertyIndex
171get_property(
172 const Builder::PropertySeq& seq,
173 const std::string& name, Builder::PropertyValueKind kind)
174{
175 for (uint32_t i = 0; i < seq.length(); ++i) {
176 if (name == seq[i].name.in()) {
177 if (seq[i].value._d() == kind) {
178 return ConstPropertyIndex(seq, i);
179 } else {
180 return ConstPropertyIndex();
181 }
182 }
183 }
184 return ConstPropertyIndex();
185}
186
187int
188NullStream::overflow(int c)

Callers 13

on_datareader_reportMethod · 0.85
on_datawriter_reportMethod · 0.85
initMethod · 0.85
initMethod · 0.85
initMethod · 0.85
initMethod · 0.85
set_datawriterMethod · 0.85
ACE_TMAINFunction · 0.85
set_datareaderMethod · 0.85
handle_reportFunction · 0.85

Calls 2

lengthMethod · 0.45
inMethod · 0.45

Tested by

no test coverage detected