Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
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 (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 mitkIPropertyAliases_h
14 #define mitkIPropertyAliases_h
15 
16 #include <MitkCoreExports.h>
17 #include <mitkServiceInterface.h>
18 #include <string>
19 #include <vector>
20 
21 namespace mitk
22 {
32  {
33  public:
34  virtual ~IPropertyAliases();
35 
43  virtual bool AddAlias(const std::string &propertyName,
44  const std::string &alias,
45  const std::string &className = "") = 0;
46 
53  virtual std::vector<std::string> GetAliases(const std::string &propertyName, const std::string &className = "") = 0;
54 
61  virtual std::string GetPropertyName(const std::string &alias, const std::string &className = "") = 0;
62 
69  virtual bool HasAliases(const std::string &propertyName, const std::string &className = "") = 0;
70 
77  virtual void RemoveAlias(const std::string &propertyName,
78  const std::string &alias,
79  const std::string &className = "") = 0;
80 
86  virtual void RemoveAliases(const std::string &propertyName, const std::string &className = "") = 0;
87 
92  virtual void RemoveAllAliases(const std::string &className = "") = 0;
93  };
94 }
95 
96 MITK_DECLARE_SERVICE_INTERFACE(mitk::IPropertyAliases, "org.mitk.IPropertyAliases")
97 
98 #endif
mitk::IPropertyAliases
Interface of property aliases service.
Definition: mitkIPropertyAliases.h:31
mitkServiceInterface.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
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