| 
    KiCad PCB EDA Suite
    
   | 
 
Instantiate the current locale within a scope in which you are expecting exceptions to be thrown. More...
#include <locale_io.h>
Public Member Functions | |
| LOCALE_IO () | |
| ~LOCALE_IO () | |
Private Attributes | |
| wxLocale * | m_wxLocale | 
| std::string | m_user_locale | 
Instantiate the current locale within a scope in which you are expecting exceptions to be thrown.
The constructor sets a "C" language locale option, to read/print files with floating point numbers. The destructor insures that the default locale is restored whether an exception is thrown or not.
Definition at line 40 of file locale_io.h.
| LOCALE_IO::LOCALE_IO | ( | ) | 
Definition at line 83 of file locale_io.cpp.
References locale_count(), m_user_locale, and m_wxLocale.
| LOCALE_IO::~LOCALE_IO | ( | ) | 
Definition at line 106 of file locale_io.cpp.
References locale_count(), m_user_locale, and m_wxLocale.
      
  | 
  private | 
Definition at line 50 of file locale_io.h.
Referenced by LOCALE_IO(), and ~LOCALE_IO().
      
  | 
  private | 
Definition at line 49 of file locale_io.h.
Referenced by LOCALE_IO(), and ~LOCALE_IO().