MCPcopy Create free account
hub / github.com/CppMicroServices/CppMicroServices / operator==

Method operator==

framework/src/bundle/BundleEvent.cpp:92–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 bool
93 BundleEvent::operator==(BundleEvent const& evt) const
94 {
95 if (!(*this) && !evt)
96 return true;
97 if (!(*this) || !evt)
98 return false;
99 return GetType() == evt.GetType() && GetBundle() == evt.GetBundle() && GetOrigin() == evt.GetOrigin();
100 }
101
102 std::ostream&
103 operator<<(std::ostream& os, BundleEvent::Type eventType)

Callers

nothing calls this directly

Calls 4

GetBundleFunction · 0.85
GetOriginMethod · 0.80
GetTypeMethod · 0.45
GetBundleMethod · 0.45

Tested by

no test coverage detected