Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitkIPreferencesStorage.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 mitkIPreferencesStorage_h
14
#define mitkIPreferencesStorage_h
15
16
#include <
mitkIPreferences.h
>
17
18
#include <
MitkCoreExports.h
>
19
20
#include <
mitkFileSystem.h
>
21
#include <memory>
22
23
namespace
mitk
24
{
31
class
MITKCORE_EXPORT
IPreferencesStorage
32
{
33
public
:
39
explicit
IPreferencesStorage
(
const
fs::path& filename);
40
44
virtual
~
IPreferencesStorage
();
45
51
virtual
IPreferences
* GetRoot();
52
56
virtual
const
IPreferences
* GetRoot()
const
;
57
61
virtual
fs::path GetFilename()
const
;
62
68
virtual
void
Flush() = 0;
69
70
protected
:
71
fs::path
m_Filename
;
72
std::unique_ptr<IPreferences>
m_Root
;
73
};
74
}
75
76
#endif
mitk::IPreferencesStorage
The backend for persistent preferences.
Definition:
mitkIPreferencesStorage.h:31
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::IPreferencesStorage::m_Root
std::unique_ptr< IPreferences > m_Root
Definition:
mitkIPreferencesStorage.h:72
MitkCoreExports.h
mitk::IPreferencesStorage::m_Filename
fs::path m_Filename
Definition:
mitkIPreferencesStorage.h:71
mitkIPreferences.h
mitk::IPreferences
Interface to application preferences.
Definition:
mitkIPreferences.h:50
mitkFileSystem.h
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
src
MITK
Modules
Core
include
mitkIPreferencesStorage.h
Generated on Sat Nov 23 2024 02:13:12 for Medical Imaging Interaction Toolkit by
1.8.17