MCPcopy Create free account
hub / github.com/COVESA/vsomeip / find_option

Method find_option

implementation/service_discovery/src/message_impl.cpp:166–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166std::shared_ptr<option_impl> message_impl::find_option(const std::shared_ptr<option_impl>& _option) const {
167 for (auto its_option : options_) {
168 if (its_option->equals(*_option))
169 return its_option;
170 }
171 return nullptr;
172}
173
174int16_t message_impl::get_option_index(const std::shared_ptr<option_impl>& _option) const {
175 int16_t i = 0;

Callers

nothing calls this directly

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected