Medical Imaging Interaction Toolkit  2021.10.00
Medical Imaging Interaction Toolkit
mitkLookupTablePropertySerializer.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 mitkLookupTablePropertySerializer_h_included
14 #define mitkLookupTablePropertySerializer_h_included
15 
18 
19 namespace mitk
20 {
33  {
34  public:
36  itkFactorylessNewMacro(Self)
37  itkCloneMacro(Self)
38 
39 
45  tinyxml2::XMLElement *Serialize(tinyxml2::XMLDocument& doc) override;
46 
47  BaseProperty::Pointer Deserialize(const tinyxml2::XMLElement *element) override;
48 
49  protected:
52  };
53 }
54 // important to put this into the GLOBAL namespace (because it starts with 'namespace mitk')
55 MITK_REGISTER_SERIALIZER(LookupTablePropertySerializer);
56 
57 #endif
#define MITK_REGISTER_SERIALIZER(classname)
DataCollection - Class to facilitate loading/accessing structured data.
Base class for objects that serialize BaseData types.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
Base class for objects that serialize BaseProperty types.
#define MITKSCENESERIALIZATIONBASE_EXPORT