Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
berryParameterization.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 BERRYPARAMETERIZATION_H_
15
#define BERRYPARAMETERIZATION_H_
16
17
#include <
org_blueberry_core_commands_Export.h
>
18
19
#include <QString>
20
21
#include <
berrySmartPointer.h
>
22
23
namespace
berry
{
24
25
struct
IParameter;
26
36
class
BERRY_COMMANDS
Parameterization
{
37
38
private
:
39
44
static
const
uint HASH_CODE_NOT_COMPUTED;
// = 0;
45
49
static
const
uint HASH_FACTOR;
// = 89;
50
54
static
const
uint HASH_INITIAL;
55
60
mutable
uint hashCode;
61
66
SmartPointer<const IParameter>
parameter;
67
72
QString value;
73
74
75
public
:
76
86
Parameterization
(
const
SmartPointer<const IParameter>
parameter,
const
QString& value);
87
91
Parameterization
(
const
Parameterization
& p);
92
93
Parameterization
& operator=(
const
Parameterization
& p);
94
95
/* (non-Javadoc)
96
* @see java.lang.Object#equals(java.lang.Object)
97
*/
98
bool
operator==
(
const
Parameterization
& parameterization)
const
;
99
100
operator
bool()
const
;
101
107
SmartPointer<const IParameter>
GetParameter()
const
;
108
114
QString GetValue()
const
;
115
125
QString GetValueName()
const
;
126
127
/*
128
* @see java.lang.Object#hashCode()
129
*/
130
uint HashCode()
const
;
131
};
132
133
}
134
135
#endif
/* BERRYPARAMETERIZATION_H_ */
org_blueberry_core_commands_Export.h
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
BERRY_COMMANDS
#define BERRY_COMMANDS
Definition:
org_blueberry_core_commands_Export.h:26
mitk::operator==
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
berry::Parameterization
Definition:
berryParameterization.h:36
berrySmartPointer.h
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.core.commands
src
berryParameterization.h
Generated on Mon Jun 17 2024 12:43:21 for Medical Imaging Interaction Toolkit by
1.8.17