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

See IPreferencesStorage. More...

#include <mitkXMLPreferencesStorage.h>

Inheritance diagram for mitk::XMLPreferencesStorage:
Collaboration diagram for mitk::XMLPreferencesStorage:

Public Member Functions

 XMLPreferencesStorage (const std::filesystem::path &filename)
 
 ~XMLPreferencesStorage () override
 
void Flush () override
 Write the in-memory preferences to disk. More...
 
- Public Member Functions inherited from mitk::IPreferencesStorage
 IPreferencesStorage (const std::filesystem::path &filename)
 Constructor. Load preferences from the specified file. More...
 
virtual ~IPreferencesStorage ()
 Destructor. Write preferences to disk for the last time. More...
 
virtual IPreferencesGetRoot ()
 Get the preferences root node. More...
 
virtual const IPreferencesGetRoot () const
 
virtual std::filesystem::path GetFilename () const
 Get the filename of the preferences storage. More...
 

Additional Inherited Members

- Protected Attributes inherited from mitk::IPreferencesStorage
std::filesystem::path m_Filename
 
std::unique_ptr< IPreferencesm_Root
 

Detailed Description

See IPreferencesStorage.

Definition at line 23 of file mitkXMLPreferencesStorage.h.

Constructor & Destructor Documentation

◆ XMLPreferencesStorage()

mitk::XMLPreferencesStorage::XMLPreferencesStorage ( const std::filesystem::path &  filename)
explicit

◆ ~XMLPreferencesStorage()

mitk::XMLPreferencesStorage::~XMLPreferencesStorage ( )
override

Member Function Documentation

◆ Flush()

void mitk::XMLPreferencesStorage::Flush ( )
overridevirtual

Write the in-memory preferences to disk.

Usually called by clients indirectly through IPreferences::Flush().

Implements mitk::IPreferencesStorage.


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