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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
berryHandleObjectManager.cpp
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
#include "
berryHandleObjectManager.h
"
18
19
#include "
berryHandleObject.h
"
20
21
namespace
berry
22
{
23
24
void
HandleObjectManager::CheckId
(
const
QString&
id
)
const
25
{
26
if
(
id
.isEmpty())
27
{
28
throw
ctkInvalidArgumentException(
29
"The handle object must not have a zero-length identifier"
);
30
}
31
}
32
33
QSet<QString>
HandleObjectManager::GetDefinedHandleObjectIds
()
const
34
{
35
QSet<QString> definedHandleObjectIds;
36
definedHandleObjectIds.reserve(
definedHandleObjects
.size());
37
foreach
(
HandleObject::Pointer
ho,
definedHandleObjects
)
38
{
39
definedHandleObjectIds.insert(ho->GetId());
40
}
41
return
definedHandleObjectIds;
42
}
43
44
}
berry
Definition:
QmitkPropertyItemModel.h:27
berryHandleObjectManager.h
berry::HandleObjectManager::GetDefinedHandleObjectIds
QSet< QString > GetDefinedHandleObjectIds() const
Definition:
berryHandleObjectManager.cpp:33
berry::SmartPointer< Self >
berry::HandleObjectManager::CheckId
void CheckId(const QString &id) const
Definition:
berryHandleObjectManager.cpp:24
berry::HandleObjectManager::definedHandleObjects
HandleObjectsSet definedHandleObjects
Definition:
berryHandleObjectManager.h:53
berryHandleObject.h
git
MITK
Plugins
org.blueberry.core.commands
src
common
berryHandleObjectManager.cpp
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1