Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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 {
47  {
48  explicit LocaleSwitch(const char *newLocale);
49 
50  ~LocaleSwitch();
51 
52  LocaleSwitch(LocaleSwitch &) = delete;
53  LocaleSwitch operator=(LocaleSwitch &) = delete;
54 
55  private:
56  struct Impl;
57  Impl *m_LocaleSwitchImpl;
58  };
59 }
60 
61 #endif // __mitkLocaleSwitch_h
#define MITKCORE_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Convenience class to temporarily change the current locale.