Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
mitkIPropertyExtensions.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 mitkIPropertyExtensions_h
14 #define mitkIPropertyExtensions_h
15 
16 #include <MitkCoreExports.h>
17 #include <mitkPropertyExtension.h>
18 #include <mitkServiceInterface.h>
19 #include <string>
20 
21 namespace mitk
22 {
33  {
34  public:
35  virtual ~IPropertyExtensions();
36 
45  virtual bool AddExtension(const std::string &propertyName,
47  const std::string &className = "",
48  bool overwrite = false) = 0;
49 
56  virtual PropertyExtension::Pointer GetExtension(const std::string &propertyName,
57  const std::string &className = "") = 0;
58 
65  virtual bool HasExtension(const std::string &propertyName, const std::string &className = "") = 0;
66 
71  virtual void RemoveAllExtensions(const std::string &className = "") = 0;
72 
78  virtual void RemoveExtension(const std::string &propertyName, const std::string &className = "") = 0;
79  };
80 }
81 
82 MITK_DECLARE_SERVICE_INTERFACE(mitk::IPropertyExtensions, "org.mitk.IPropertyExtensions")
83 
84 #endif
mitk::IPropertyExtensions
Interface of property extensions service.
Definition: mitkIPropertyExtensions.h:32
mitkServiceInterface.h
itk::SmartPointer< Self >
mitkPropertyExtension.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MitkCoreExports.h
MITK_DECLARE_SERVICE_INTERFACE
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
Definition: mitkServiceInterface.h:26
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15