Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
See IPreferencesStorage. More...
#include <mitkXMLPreferencesStorage.h>
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 IPreferences * | GetRoot () |
Get the preferences root node. More... | |
virtual const IPreferences * | GetRoot () 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< IPreferences > | m_Root |
See IPreferencesStorage.
Definition at line 23 of file mitkXMLPreferencesStorage.h.
|
explicit |
|
override |
|
overridevirtual |
Write the in-memory preferences to disk.
Usually called by clients indirectly through IPreferences::Flush().
Implements mitk::IPreferencesStorage.