Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkXMLPreferencesStorage.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 mitkXMLPreferencesStorage_h
14 #define mitkXMLPreferencesStorage_h
15 
17 
18 namespace mitk
19 {
33  {
34  public:
43  explicit XMLPreferencesStorage(const fs::path& filename);
44 
46 
52  void Flush() override;
53  };
54 }
55 
56 #endif
The backend for persistent preferences.
XML file-backed implementation of IPreferencesStorage.
void Flush() override
Serialize the entire preferences tree to the backing XML file.
XMLPreferencesStorage(const fs::path &filename)
Construct storage backed by the given XML file.
Find image slices visible on a given plane.