Medical Imaging Interaction Toolkit  2018.4.99-1640525a
Medical Imaging Interaction Toolkit
berryIExtensionPointFilter.cpp
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
14 
15 namespace berry {
16 
18  : m_Self(concept)
19 {
20 }
21 
23 {
24 
25 }
26 
28 {
29  return m_Self.get() == nullptr;
30 }
31 
33 {
34  return m_Self.get();
35 }
36 
38 {
39  return m_Self->Matches(target);
40 }
41 
42 }
IExtensionPointFilter(const Concept *concept)
bool Matches(const IExtensionPoint *target) const