Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkBasePropertySerializer.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,
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 #ifndef mitkSerializeBaseProperty_h_included
18 #define mitkSerializeBaseProperty_h_included
19 
20 #include "mitkSerializerMacros.h"
22 
23 #include "mitkBaseProperty.h"
24 #include <itkObjectFactoryBase.h>
25 
26 #include <tinyxml.h>
27 
28 namespace mitk
29 {
42  {
43  public:
45 
46  itkSetConstObjectMacro(Property, BaseProperty);
47 
54  virtual TiXmlElement *Serialize();
55 
63  virtual BaseProperty::Pointer Deserialize(TiXmlElement *);
64 
65  protected:
67  virtual ~BasePropertySerializer();
68 
70  };
71 
72 } // namespace
73 
74 #endif
DataCollection - Class to facilitate loading/accessing structured data.
Abstract base class for properties.
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:53
Base class for objects that serialize BaseProperty types.
BaseProperty::ConstPointer m_Property
#define MITKSCENESERIALIZATIONBASE_EXPORT