Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkPropertyListDeserializer.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 mitkPropertyListDeserializer_h
14 #define mitkPropertyListDeserializer_h
15 
16 #include <mitkPropertyList.h>
17 
18 namespace mitk
19 {
31  class PropertyListDeserializer : public itk::Object
32  {
33  public:
35  itkFactorylessNewMacro(Self)
36  itkCloneMacro(Self);
37 
39  itkSetStringMacro(Filename);
41  itkGetStringMacro(Filename);
42 
54  virtual bool Deserialize();
55 
62  virtual PropertyList::Pointer GetOutput();
63 
64  protected:
67 
68  std::string m_Filename;
70  };
71 
72 } // namespace
73 
74 #endif
Deserializes a mitk::PropertyList from an XML file.
virtual bool Deserialize()
Read a PropertyList from the configured XML file.
mitkClassMacroItkParent(PropertyListDeserializer, itk::Object)
virtual PropertyList::Pointer GetOutput()
Retrieve the deserialized PropertyList.
PropertyList::Pointer m_PropertyList
The deserialized property list.
std::string m_Filename
Path to the XML file to deserialize.
Key-value list holding instances of BaseProperty.
Find image slices visible on a given plane.