Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
berryIParameterValueConverter.h
Go to the documentation of this file.
1
/*===================================================================
2
3
BlueBerry Platform
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
18
#ifndef BERRYABSTRACTPARAMETERVALUECONVERTER_H_
19
#define BERRYABSTRACTPARAMETERVALUECONVERTER_H_
20
21
#include <
berryObject.h
>
22
#include <
berryMacros.h
>
23
24
#include <
org_blueberry_core_commands_Export.h
>
25
26
namespace
berry
{
27
55
struct
BERRY_COMMANDS
IParameterValueConverter
{
56
57
virtual
~
IParameterValueConverter
();
58
71
//virtual bool IsCompatible(const Object::ConstPointer value) const = 0;
72
86
virtual
Object::Pointer
ConvertToObject(
const
QString& parameterValue) = 0;
87
100
virtual
QString ConvertToString(
const
Object::Pointer
& parameterValue) = 0;
101
102
};
103
104
}
105
106
Q_DECLARE_INTERFACE(
berry::IParameterValueConverter
,
"org.blueberry.core.commands.IParameterValueConverter"
)
107
108
#endif
/* BERRYABSTRACTPARAMETERVALUECONVERTER_H_ */
berry
Definition:
QmitkPropertyItemModel.h:27
berryMacros.h
berry::SmartPointer< Self >
BERRY_COMMANDS
#define BERRY_COMMANDS
Definition:
org_blueberry_core_commands_Export.h:23
berry::IParameterValueConverter
Definition:
berryIParameterValueConverter.h:55
berryObject.h
org_blueberry_core_commands_Export.h
git
MITK
Plugins
org.blueberry.core.commands
src
berryIParameterValueConverter.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1