Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
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
17
#include "
berryIExtensionPointFilter.h
"
18
19
namespace
berry
{
20
21
IExtensionPointFilter::IExtensionPointFilter
(
const
IExtensionPointFilter::Concept
* concept)
22
: m_Self(concept)
23
{
24
}
25
26
IExtensionPointFilter::Concept::~Concept
()
27
{
28
29
}
30
31
bool
IExtensionPointFilter::IsNull
()
const
32
{
33
return
m_Self.get() ==
nullptr
;
34
}
35
36
const
IExtensionPointFilter::Concept
*
IExtensionPointFilter::GetConcept
()
const
37
{
38
return
m_Self.get();
39
}
40
41
bool
IExtensionPointFilter::Matches
(
const
IExtensionPoint
* target)
const
42
{
43
return
m_Self->Matches(target);
44
}
45
46
}
berry
Definition:
QmitkPropertyItemModel.h:27
berry::IExtensionPoint
Definition:
berryIExtensionPoint.h:60
berryIExtensionPointFilter.h
berry::IExtensionPointFilter::IExtensionPointFilter
IExtensionPointFilter(const Concept *concept)
Definition:
berryIExtensionPointFilter.cpp:21
berry::IExtensionPointFilter::Concept
Definition:
berryIExtensionPointFilter.h:38
berry::IExtensionPointFilter::IsNull
bool IsNull() const
Definition:
berryIExtensionPointFilter.cpp:31
berry::IExtensionPointFilter::GetConcept
const Concept * GetConcept() const
Definition:
berryIExtensionPointFilter.cpp:36
berry::IExtensionPointFilter::Matches
bool Matches(const IExtensionPoint *target) const
Definition:
berryIExtensionPointFilter.cpp:41
berry::IExtensionPointFilter::Concept::~Concept
virtual ~Concept()
Definition:
berryIExtensionPointFilter.cpp:26
git
MITK
Plugins
org.blueberry.core.runtime
src
registry
berryIExtensionPointFilter.cpp
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1