Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkLocaleSwitch.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 mitkLocaleSwitch_h
14 #define mitkLocaleSwitch_h
15 
16 #include <MitkCoreExports.h>
17 
18 namespace mitk
19 {
58  {
67  explicit LocaleSwitch(const char *newLocale);
68 
73 
76 
77  private:
78  struct Impl;
79  Impl *m_LocaleSwitchImpl;
80  };
81 }
82 
83 #endif
#define MITKCORE_EXPORT
Find image slices visible on a given plane.
Convenience class to temporarily change the current locale.
LocaleSwitch(const char *newLocale)
Construct a LocaleSwitch and install the given locale.
LocaleSwitch operator=(LocaleSwitch &)=delete
LocaleSwitch(LocaleSwitch &)=delete
~LocaleSwitch()
Destroy the LocaleSwitch and restore the previous locale.