Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
berryIExtensionPointFilter.h
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 
13 #ifndef BERRYIEXTENSIONPOINTFILTER_H
14 #define BERRYIEXTENSIONPOINTFILTER_H
15 
17 
18 #include <memory>
19 
20 namespace berry {
21 
22 struct IExtensionPoint;
23 
33 {
35  virtual bool Matches(const IExtensionPoint* target) const = 0;
36 
37  virtual ~Concept();
38  };
39 
41 
42  bool IsNull() const;
43 
44  const Concept* GetConcept() const;
45 
54  bool Matches(const IExtensionPoint* target) const;
55 
56 private:
57 
58  std::shared_ptr<const Concept> m_Self;
59 };
60 
61 }
62 
63 #endif // BERRYIEXTENSIONPOINTFILTER_H
org_blueberry_core_runtime_Export.h
berry::IExtensionPointFilter
Definition: berryIExtensionPointFilter.h:32
org_blueberry_core_runtime_EXPORT
#define org_blueberry_core_runtime_EXPORT
Definition: org_blueberry_core_runtime_Export.h:26
berry::IExtensionPointFilter::Concept
Definition: berryIExtensionPointFilter.h:34
berry
Definition: QmitkPropertyItemModel.h:24
berry::IExtensionPoint
Definition: berryIExtensionPoint.h:55