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
mitkBasePropertySerializer.cpp
Go to the documentation of this file.
1
/*===================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
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 "
mitkBasePropertySerializer.h
"
18
19
mitk::BasePropertySerializer::BasePropertySerializer
()
20
{
21
}
22
23
mitk::BasePropertySerializer::~BasePropertySerializer
()
24
{
25
}
26
27
TiXmlElement *
mitk::BasePropertySerializer::Serialize
()
28
{
29
MITK_INFO
<< this->GetNameOfClass() <<
" is asked to serialize an object "
<< (
const
void
*)this->m_Property;
30
31
return
nullptr
;
32
}
33
34
mitk::BaseProperty::Pointer
mitk::BasePropertySerializer::Deserialize
(TiXmlElement *)
35
{
36
MITK_ERROR
<< this->GetNameOfClass() <<
" is asked to deserialize an object but has no implementation. This is bad."
;
37
return
nullptr
;
38
}
mitkBasePropertySerializer.h
mitk::BasePropertySerializer::~BasePropertySerializer
virtual ~BasePropertySerializer()
Definition:
mitkBasePropertySerializer.cpp:23
MITK_INFO
#define MITK_INFO
Definition:
mitkLogMacros.h:22
MITK_ERROR
#define MITK_ERROR
Definition:
mitkLogMacros.h:24
mitk::BasePropertySerializer::Deserialize
virtual BaseProperty::Pointer Deserialize(TiXmlElement *)
Deserializes given TiXmlElement.
Definition:
mitkBasePropertySerializer.cpp:34
mitk::BasePropertySerializer::Serialize
virtual TiXmlElement * Serialize()
Serializes given BaseProperty object.
Definition:
mitkBasePropertySerializer.cpp:27
itk::SmartPointer< Self >
mitk::BasePropertySerializer::BasePropertySerializer
BasePropertySerializer()
Definition:
mitkBasePropertySerializer.cpp:19
git
MITK
Modules
SceneSerializationBase
src
mitkBasePropertySerializer.cpp
Generated on Fri Feb 3 2017 20:51:53 for Medical Imaging Interaction Toolkit by
1.8.9.1