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

Method IsEqual

Modules/Core/src/Interactions/mitkInteractionKeyEvent.cpp:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36bool mitk::InteractionKeyEvent::IsEqual(const mitk::InteractionEvent &interactionEvent) const
37{
38 const auto &keyEvent = static_cast<const Self &>(interactionEvent);
39 return (this->GetModifiers() == keyEvent.GetModifiers() && this->GetKey() == keyEvent.GetKey() &&
40 Superclass::IsEqual(interactionEvent));
41}
42
43bool mitk::InteractionKeyEvent::IsSuperClassOf(const InteractionEvent::Pointer &baseClass) const
44{

Callers

nothing calls this directly

Calls 3

GetModifiersMethod · 0.95
GetKeyMethod · 0.95
IsEqualFunction · 0.85

Tested by

no test coverage detected