Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berryIParameterValueConverter.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 
14 #ifndef BERRYABSTRACTPARAMETERVALUECONVERTER_H_
15 #define BERRYABSTRACTPARAMETERVALUECONVERTER_H_
16 
17 #include <berryObject.h>
18 #include <berryMacros.h>
19 
21 
22 namespace berry {
23 
51 
52  virtual ~IParameterValueConverter();
53 
67  virtual Object::Pointer ConvertToObject(const QString& parameterValue) = 0;
68 
81  virtual QString ConvertToString(const Object::Pointer& parameterValue) = 0;
82 
83 };
84 
85 }
86 
87 Q_DECLARE_INTERFACE(berry::IParameterValueConverter, "org.blueberry.core.commands.IParameterValueConverter")
88 
89 #endif /* BERRYABSTRACTPARAMETERVALUECONVERTER_H_ */
org_blueberry_core_commands_Export.h
berryMacros.h
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
BERRY_COMMANDS
#define BERRY_COMMANDS
Definition: org_blueberry_core_commands_Export.h:26
berry::IParameterValueConverter
Definition: berryIParameterValueConverter.h:50
berryObject.h
berry
Definition: QmitkPropertyItemModel.h:24