Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitkNavigationToolStorageSerializer.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 mitkNavigationToolStorageSerializer_h
14 #define mitkNavigationToolStorageSerializer_h
15 
16 //itk headers
17 #include <itkObjectFactory.h>
18 
19 //mitk headers
20 #include <mitkCommon.h>
22 #include <MitkIGTExports.h>
23 
24 namespace mitk {
31  class MITKIGT_EXPORT NavigationToolStorageSerializer : public itk::Object
32  {
33  public:
35  itkFactorylessNewMacro(Self);
36  itkCloneMacro(Self);
37 
43  void Serialize(const std::string& filename, mitk::NavigationToolStorage::Pointer storage);
44 
45  protected:
48 
49  std::string convertIntToString(int i);
50 
51  std::string m_tempDirectory;
52 
53  };
54 } // namespace mitk
55 #endif
mitk::NavigationToolStorageSerializer::m_tempDirectory
std::string m_tempDirectory
Definition: mitkNavigationToolStorageSerializer.h:51
mitkClassMacroItkParent
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:45
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitkCommon.h
mitkNavigationToolStorage.h
mitk::NavigationToolStorageSerializer
This class offers methods to save an object of the class NavigationToolStorage to the harddisc.
Definition: mitkNavigationToolStorageSerializer.h:31