Medical Imaging Interaction Toolkit  2024.06.99-35a6d053
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  {
59  explicit LocaleSwitch(const char *newLocale);
60 
61  ~LocaleSwitch();
62 
63  LocaleSwitch(LocaleSwitch &) = delete;
64  LocaleSwitch operator=(LocaleSwitch &) = delete;
65 
66  private:
67  struct Impl;
68  Impl *m_LocaleSwitchImpl;
69  };
70 }
71 
72 #endif
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MitkCoreExports.h
mitk::LocaleSwitch
Convenience class to temporarily change the current locale.
Definition: mitkLocaleSwitch.h:57
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15