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

Method equals

implementation/service_discovery/src/configuration_option_impl.cpp:22–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20configuration_option_impl::~configuration_option_impl() { }
21
22bool configuration_option_impl::equals(const option_impl& _other) const {
23 bool is_equal(option_impl::equals(_other));
24
25 if (is_equal) {
26 const configuration_option_impl& its_other = dynamic_cast<const configuration_option_impl&>(_other);
27 is_equal = (configuration_ == its_other.configuration_);
28 }
29
30 return is_equal;
31}
32
33void configuration_option_impl::add_item(const std::string& _key, const std::string& _value) {
34 configuration_[_key] = _value;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected