Medical Imaging Interaction Toolkit  2023.04.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 {
23  class PropertyListDeserializer : public itk::Object
24  {
25  public:
27  itkFactorylessNewMacro(Self) // is this needed? should never be instantiated, only subclasses should
28  itkCloneMacro(Self);
29  itkSetStringMacro(Filename);
30  itkGetStringMacro(Filename);
31 
36  virtual bool Deserialize();
37 
39 
40  protected:
42  ~PropertyListDeserializer() override;
43 
44  std::string m_Filename;
46  };
47 
48 } // namespace
49 
50 #endif
mitk::PropertyListDeserializer::m_Filename
std::string m_Filename
Definition: mitkPropertyListDeserializer.h:44
mitk::PropertyListDeserializer::~PropertyListDeserializer
~PropertyListDeserializer() override
itk::SmartPointer< Self >
mitk::PropertyListDeserializer::Deserialize
virtual bool Deserialize()
Reads a propertylist from file.
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::PropertyListDeserializer
Deserializes a mitk::PropertyList.
Definition: mitkPropertyListDeserializer.h:23
mitk::PropertyListDeserializer::PropertyListDeserializer
PropertyListDeserializer()
mitk::PropertyListDeserializer::GetOutput
virtual PropertyList::Pointer GetOutput()
mitk::PropertyListDeserializer::m_PropertyList
PropertyList::Pointer m_PropertyList
Definition: mitkPropertyListDeserializer.h:45
mitkPropertyList.h
mitk::PropertyListDeserializer::mitkClassMacroItkParent
mitkClassMacroItkParent(PropertyListDeserializer, itk::Object)