Medical Imaging Interaction Toolkit  2018.4.99-93926fb8
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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkSerializeBaseProperty_h_included
14 #define mitkSerializeBaseProperty_h_included
15 
16 #include "mitkSerializerMacros.h"
18 
19 #include "mitkBaseProperty.h"
20 #include <itkObjectFactoryBase.h>
21 
22 #include <tinyxml.h>
23 
24 namespace mitk
25 {
38  {
39  public:
41 
42  itkSetConstObjectMacro(Property, BaseProperty);
43 
50  virtual TiXmlElement *Serialize();
51 
59  virtual BaseProperty::Pointer Deserialize(TiXmlElement *);
60 
61  protected:
63  ~BasePropertySerializer() override;
64 
66  };
67 
68 } // namespace
69 
70 #endif
DataCollection - Class to facilitate loading/accessing structured data.
Abstract base class for properties.
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:49
Base class for objects that serialize BaseProperty types.
BaseProperty::ConstPointer m_Property
#define MITKSCENESERIALIZATIONBASE_EXPORT