Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkNavigationToolStorageDeserializer.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 NAVIGATIONTOOLSTORAGEDESERIALIZER_H_INCLUDED
18 #define NAVIGATIONTOOLSTORAGEDESERIALIZER_H_INCLUDED
19 
20 //itk headers
21 #include <itkObjectFactory.h>
22 
23 //mitk headers
24 #include <mitkCommon.h>
25 #include <mitkDataStorage.h>
27 #include <MitkIGTExports.h>
28 
29 namespace mitk {
36  class MITKIGT_EXPORT NavigationToolStorageDeserializer : public itk::Object
37  {
38  public:
41 
49  mitk::NavigationToolStorage::Pointer Deserialize(std::string filename);
50 
51  itkGetMacro(ErrorMessage,std::string);
52 
53  protected:
56 
57  std::string m_ErrorMessage;
58 
60 
61  std::string m_tempDirectory;
62 
63  std::string convertIntToString(int i);
64 
68  void decomressFiles(std::string file,std::string path);
69 
70  };
71 } // namespace mitk
72 #endif //NAVIGATIONTOOLSTORAGEDESERIALIZER
itk::SmartPointer< Self > Pointer
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:76
DataCollection - Class to facilitate loading/accessing structured data.
static const std::string filename
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:53
This class offers methods to load an object of the class NavigationToolStorage from the harddisc...