Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
mitk::NavigationToolStorageSerializer Class Reference

This class offers methods to save an object of the class NavigationToolStorage to the harddisc. More...

#include <mitkNavigationToolStorageSerializer.h>

Inheritance diagram for mitk::NavigationToolStorageSerializer:
Collaboration diagram for mitk::NavigationToolStorageSerializer:

Public Member Functions

 mitkClassMacroItkParent (NavigationToolStorageSerializer, itk::Object)
 
Pointer Clone () const
 
void Serialize (const std::string &filename, mitk::NavigationToolStorage::Pointer storage)
 Saves a mitk navigation tool storage to a file. More...
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 NavigationToolStorageSerializer ()
 
 ~NavigationToolStorageSerializer () override
 
std::string convertIntToString (int i)
 

Protected Attributes

std::string m_tempDirectory
 

Detailed Description

This class offers methods to save an object of the class NavigationToolStorage to the harddisc.

Documentation

Definition at line 31 of file mitkNavigationToolStorageSerializer.h.

Constructor & Destructor Documentation

◆ NavigationToolStorageSerializer()

mitk::NavigationToolStorageSerializer::NavigationToolStorageSerializer ( )
protected

◆ ~NavigationToolStorageSerializer()

mitk::NavigationToolStorageSerializer::~NavigationToolStorageSerializer ( )
overrideprotected

Member Function Documentation

◆ Clone()

Pointer mitk::NavigationToolStorageSerializer::Clone ( ) const

◆ convertIntToString()

std::string mitk::NavigationToolStorageSerializer::convertIntToString ( int  i)
protected

◆ mitkClassMacroItkParent()

mitk::NavigationToolStorageSerializer::mitkClassMacroItkParent ( NavigationToolStorageSerializer  ,
itk::Object   
)

◆ New()

static Pointer mitk::NavigationToolStorageSerializer::New ( )
static

◆ Serialize()

void mitk::NavigationToolStorageSerializer::Serialize ( const std::string &  filename,
mitk::NavigationToolStorage::Pointer  storage 
)

Saves a mitk navigation tool storage to a file.

Exceptions
mitk::IGTIOExceptionThrows an exception if the given filename cannot be opened for writing or if the temp directory is not accessible.

Member Data Documentation

◆ m_tempDirectory

std::string mitk::NavigationToolStorageSerializer::m_tempDirectory
protected

Definition at line 51 of file mitkNavigationToolStorageSerializer.h.


The documentation for this class was generated from the following file: