NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkNamedLookupTablePropertySerializer.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef niftkNamedLookupTablePropertySerializer_h
16 #define niftkNamedLookupTablePropertySerializer_h
17 
18 #include <mitkLookupTablePropertySerializer.h>
19 
20 namespace niftk
21 {
22 
26 class NamedLookupTablePropertySerializer : public mitk::LookupTablePropertySerializer
27 {
28 public:
29 
30  mitkClassMacro(NamedLookupTablePropertySerializer, mitk::LookupTablePropertySerializer)
31  itkNewMacro(Self)
32 
33  virtual TiXmlElement* Serialize() override;
34  virtual mitk::BaseProperty::Pointer Deserialize(TiXmlElement*) override;
35 
36 protected:
37 
40 };
41 
42 }
43 
44 #endif
Serializes NamedLookupTableProperty.
Definition: niftkNamedLookupTablePropertySerializer.h:26
mitkClassMacro(NamedLookupTablePropertySerializer, mitk::LookupTablePropertySerializer) static Pointer New()
NamedLookupTablePropertySerializer()
Definition: niftkNamedLookupTablePropertySerializer.cxx:25
virtual TiXmlElement * Serialize() override
Definition: niftkNamedLookupTablePropertySerializer.cxx:37
virtual mitk::BaseProperty::Pointer Deserialize(TiXmlElement *) override
Definition: niftkNamedLookupTablePropertySerializer.cxx:63
virtual ~NamedLookupTablePropertySerializer()
Definition: niftkNamedLookupTablePropertySerializer.cxx:31
Definition: niftkExceptionObject.h:21