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

Method equals

implementation/service_discovery/src/selective_option_impl.cpp:22–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20selective_option_impl::~selective_option_impl() { }
21
22bool selective_option_impl::equals(const option_impl& _other) const {
23 bool is_equal(option_impl::equals(_other));
24 if (is_equal) {
25 const selective_option_impl& its_other = dynamic_cast<const selective_option_impl&>(_other);
26 is_equal = (clients_ == its_other.clients_);
27 }
28 return is_equal;
29}
30
31std::set<client_t> selective_option_impl::get_clients() const {
32 std::set<client_t> its_clients(clients_);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected