Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIExtensionPointFilter.cpp
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
18 
19 namespace berry {
20 
22  : m_Self(concept)
23 {
24 }
25 
27 {
28 
29 }
30 
32 {
33  return m_Self.get() == nullptr;
34 }
35 
37 {
38  return m_Self.get();
39 }
40 
42 {
43  return m_Self->Matches(target);
44 }
45 
46 }
IExtensionPointFilter(const Concept *concept)
bool Matches(const IExtensionPoint *target) const