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

Method IsEqual

Modules/Core/src/Interactions/mitkMousePressEvent.cpp:62–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62bool mitk::MousePressEvent::IsEqual(const mitk::InteractionEvent &interactionEvent) const
63{
64 const auto &mpe = static_cast<const mitk::MousePressEvent &>(interactionEvent);
65 return (this->GetEventButton() == mpe.GetEventButton() && this->GetModifiers() == mpe.GetModifiers() &&
66 this->GetButtonStates() == mpe.GetButtonStates() && Superclass::IsEqual(interactionEvent));
67}
68
69bool mitk::MousePressEvent::IsSuperClassOf(const InteractionEvent::Pointer &baseClass) const
70{

Callers

nothing calls this directly

Calls 4

GetEventButtonMethod · 0.95
GetModifiersMethod · 0.95
GetButtonStatesMethod · 0.95
IsEqualFunction · 0.85

Tested by

no test coverage detected