Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
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 fs::path &filename)
 
 ~XMLPreferencesStorage () override
 
void Flush () override
 Write the in-memory preferences to disk. More...
 
- Public Member Functions inherited from mitk::IPreferencesStorage
 IPreferencesStorage (const fs::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 fs::path GetFilename () const
 Get the filename of the preferences storage. More...
 

Additional Inherited Members

- Protected Attributes inherited from mitk::IPreferencesStorage
fs::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 fs::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: