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
berryParameterization.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 BERRYPARAMETERIZATION_H_
19
#define BERRYPARAMETERIZATION_H_
20
21
#include <
org_blueberry_core_commands_Export.h
>
22
23
#include <QString>
24
25
#include <
berrySmartPointer.h
>
26
27
namespace
berry
{
28
29
struct
IParameter;
30
40
class
BERRY_COMMANDS
Parameterization
{
41
42
private
:
43
48
static
const
uint
HASH_CODE_NOT_COMPUTED;
// = 0;
49
53
static
const
uint
HASH_FACTOR;
// = 89;
54
58
static
const
uint
HASH_INITIAL;
59
64
mutable
uint
hashCode;
65
70
SmartPointer<const IParameter>
parameter;
71
76
QString value;
77
78
79
public
:
80
90
Parameterization
(
const
SmartPointer<const IParameter>
parameter,
const
QString& value);
91
95
Parameterization
(
const
Parameterization
& p);
96
97
Parameterization
& operator=(
const
Parameterization
& p);
98
99
/* (non-Javadoc)
100
* @see java.lang.Object#equals(java.lang.Object)
101
*/
102
bool
operator==
(
const
Parameterization
& parameterization)
const
;
103
104
operator
bool()
const
;
105
111
SmartPointer<const IParameter>
GetParameter()
const
;
112
118
QString GetValue()
const
;
119
129
QString GetValueName()
const
;
130
131
/*
132
* @see java.lang.Object#hashCode()
133
*/
134
uint
HashCode()
const
;
135
};
136
137
}
138
139
#endif
/* BERRYPARAMETERIZATION_H_ */
berry::Parameterization
Definition:
berryParameterization.h:40
berry
Definition:
QmitkPropertyItemModel.h:27
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:25
mitk::operator==
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
Definition:
mitkInteractionEvent.cpp:77
BERRY_COMMANDS
#define BERRY_COMMANDS
Definition:
org_blueberry_core_commands_Export.h:23
uint
unsigned int uint
Definition:
NativeHeadCTSegmentation.cpp:46
org_blueberry_core_commands_Export.h
berrySmartPointer.h
git
MITK
Plugins
org.blueberry.core.commands
src
berryParameterization.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1