MCPcopy Create free account
hub / github.com/MITK/MITK / IsEqual

Method IsEqual

Modules/Core/src/Interactions/mitkMouseMoveEvent.cpp:48–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48bool mitk::MouseMoveEvent::IsEqual(const mitk::InteractionEvent &interactionEvent) const
49{
50 const auto &mpe = static_cast<const mitk::MouseMoveEvent &>(interactionEvent);
51 return (this->GetModifiers() == mpe.GetModifiers() && this->GetButtonStates() == mpe.GetButtonStates() &&
52 Superclass::IsEqual(interactionEvent));
53}
54
55bool mitk::MouseMoveEvent::IsSuperClassOf(const InteractionEvent::Pointer &baseClass) const
56{

Callers

nothing calls this directly

Calls 3

GetModifiersMethod · 0.95
GetButtonStatesMethod · 0.95
IsEqualFunction · 0.85

Tested by

no test coverage detected