Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef mitkPropertyListDeserializer_h_included
18 #define mitkPropertyListDeserializer_h_included
19 
20 #include "mitkPropertyList.h"
21 
22 namespace mitk
23 {
27  class PropertyListDeserializer : public itk::Object
28  {
29  public:
31  itkFactorylessNewMacro(Self) // is this needed? should never be instantiated, only subclasses should
32  itkCloneMacro(Self)
33 
34  itkSetStringMacro(Filename);
35  itkGetStringMacro(Filename);
36 
41  virtual bool Deserialize();
42 
44 
45  protected:
47  virtual ~PropertyListDeserializer();
48 
49  std::string m_Filename;
51  };
52 
53 } // namespace
54 
55 #endif
DataCollection - Class to facilitate loading/accessing structured data.
virtual bool Deserialize()
Reads a propertylist from file.
Deserializes a mitk::PropertyList.
mitkClassMacroItkParent(PropertyListDeserializer, itk::Object)
virtual PropertyList::Pointer GetOutput()