Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkIPropertyAliases.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 mitkIPropertyAliases_h
18 #define mitkIPropertyAliases_h
19 
20 #include <MitkCoreExports.h>
21 #include <mitkServiceInterface.h>
22 #include <string>
23 #include <vector>
24 
25 namespace mitk
26 {
36  {
37  public:
38  virtual ~IPropertyAliases();
39 
47  virtual bool AddAlias(const std::string &propertyName,
48  const std::string &alias,
49  const std::string &className = "") = 0;
50 
57  virtual std::vector<std::string> GetAliases(const std::string &propertyName, const std::string &className = "") = 0;
58 
65  virtual std::string GetPropertyName(const std::string &alias, const std::string &className = "") = 0;
66 
73  virtual bool HasAliases(const std::string &propertyName, const std::string &className = "") = 0;
74 
81  virtual void RemoveAlias(const std::string &propertyName,
82  const std::string &alias,
83  const std::string &className = "") = 0;
84 
90  virtual void RemoveAliases(const std::string &propertyName, const std::string &className = "") = 0;
91 
96  virtual void RemoveAllAliases(const std::string &className = "") = 0;
97  };
98 }
99 
100 MITK_DECLARE_SERVICE_INTERFACE(mitk::IPropertyAliases, "org.mitk.IPropertyAliases")
101 
102 #endif
Interface of property aliases service.
#define MITKCORE_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
MITK_DECLARE_SERVICE_INTERFACE(mitk::ISimulationService,"org.mitk.ISimulationService")