Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef __mitkLocaleSwitch_h
18 #define __mitkLocaleSwitch_h
19 
20 #include "MitkCoreExports.h"
21 
22 namespace mitk
23 {
51  {
52  explicit LocaleSwitch(const char *newLocale);
53 
54  ~LocaleSwitch();
55 
56  LocaleSwitch(LocaleSwitch &) = delete;
57  LocaleSwitch operator=(LocaleSwitch &) = delete;
58 
59  private:
60  struct Impl;
61  Impl *m_LocaleSwitchImpl;
62  };
63 }
64 
65 #endif // __mitkLocaleSwitch_h
#define MITKCORE_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
Convenience class to temporarily change the current locale.