Medical Imaging Interaction Toolkit  2016.11.0
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,
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 #ifndef mitkIPropertyExtensions_h
18 #define mitkIPropertyExtensions_h
19 
20 #include <MitkCoreExports.h>
21 #include <mitkPropertyExtension.h>
22 #include <mitkServiceInterface.h>
23 #include <string>
24 
25 namespace mitk
26 {
37  {
38  public:
39  virtual ~IPropertyExtensions();
40 
49  virtual bool AddExtension(const std::string &propertyName,
51  const std::string &className = "",
52  bool overwrite = false) = 0;
53 
60  virtual PropertyExtension::Pointer GetExtension(const std::string &propertyName,
61  const std::string &className = "") = 0;
62 
69  virtual bool HasExtension(const std::string &propertyName, const std::string &className = "") = 0;
70 
75  virtual void RemoveAllExtensions(const std::string &className = "") = 0;
76 
82  virtual void RemoveExtension(const std::string &propertyName, const std::string &className = "") = 0;
83  };
84 }
85 
86 MITK_DECLARE_SERVICE_INTERFACE(mitk::IPropertyExtensions, "org.mitk.IPropertyExtensions")
87 
88 #endif
#define MITKCORE_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Interface of property extensions service.
MITK_DECLARE_SERVICE_INTERFACE(mitk::ISimulationService,"org.mitk.ISimulationService")