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

Method get_option

implementation/service_discovery/src/message_impl.cpp:185–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185std::shared_ptr<option_impl> message_impl::get_option(int16_t _index) const {
186 if (_index > -1) {
187 size_t its_index = static_cast<size_t>(_index);
188 if (its_index < options_.size())
189 return options_[its_index];
190 }
191 return nullptr;
192}
193
194uint32_t message_impl::get_options_length() {
195 return options_length_;

Callers 1

get_selective_optionMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected