Medical Imaging Interaction Toolkit  2018.4.99-f51274ea
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 
40  IExtensionPointFilter(const Concept* concept);
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
#define org_blueberry_core_runtime_EXPORT