Medical Imaging Interaction Toolkit  2018.4.99-b585543d
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 // __mitkLocaleSwitch_h
#define MITKCORE_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Convenience class to temporarily change the current locale.