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
berryObjectTypeInfo.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 "
berryObjectTypeInfo.h
"
18
19
namespace
berry
{
20
21
ObjectTypeInfo::ObjectTypeInfo
()
22
{
23
24
}
25
26
ObjectTypeInfo::ObjectTypeInfo
(
const
Reflection::TypeInfo
&typeInfo)
27
: Reflection::TypeInfo(typeInfo)
28
{
29
}
30
31
bool
ObjectTypeInfo::operator==
(
const
Object
*other)
const
32
{
33
if
(
const
ObjectTypeInfo
* otherStr = dynamic_cast<const ObjectTypeInfo*>(other))
34
{
35
return
static_cast<
const
Reflection::TypeInfo
&
>
(*this) ==
static_cast<
const
Reflection::TypeInfo
&
>
(*otherStr);
36
}
37
return
false
;
38
}
39
40
bool
ObjectTypeInfo::operator==
(
const
Reflection::TypeInfo
&other)
const
41
{
42
return
static_cast<
const
Reflection::TypeInfo
&
>
(*this) == other;
43
}
44
45
}
46
berry::ObjectTypeInfo
Definition:
berryObjectTypeInfo.h:26
berry
Definition:
QmitkPropertyItemModel.h:27
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:78
berry::ObjectTypeInfo::ObjectTypeInfo
ObjectTypeInfo()
Definition:
berryObjectTypeInfo.cpp:21
berry::Reflection::TypeInfo
Definition:
berryReflection.h:143
berry::ObjectTypeInfo::operator==
bool operator==(const Object *other) const override
Definition:
berryObjectTypeInfo.cpp:31
berryObjectTypeInfo.h
git
MITK
Plugins
org.blueberry.core.runtime
src
berryObjectTypeInfo.cpp
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1