00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date$ 00006 Version: $Revision: 1.12 $ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 #ifndef mitkPropertyListDeserializer_h_included 00019 #define mitkPropertyListDeserializer_h_included 00020 00021 #include "SceneSerializationExports.h" 00022 00023 #include "mitkPropertyList.h" 00024 00025 namespace mitk 00026 { 00027 00031 class SceneSerialization_EXPORT PropertyListDeserializer : public itk::Object 00032 { 00033 public: 00034 00035 mitkClassMacro( PropertyListDeserializer, itk::Object ); 00036 itkNewMacro(Self); // is this needed? should never be instantiated, only subclasses should 00037 00038 itkSetStringMacro(Filename); 00039 itkGetStringMacro(Filename); 00040 00045 virtual bool Deserialize(); 00046 00047 virtual PropertyList::Pointer GetOutput(); 00048 00049 protected: 00050 00051 PropertyListDeserializer(); 00052 virtual ~PropertyListDeserializer(); 00053 00054 std::string m_Filename; 00055 PropertyList::Pointer m_PropertyList; 00056 }; 00057 00058 } // namespace 00059 00060 #endif 00061