|
KiCad PCB EDA Suite
|
Set C LC_CTYPE on non-Windows hosts and restore the previous locale. More...
#include <odb_test_utils.h>
Public Member Functions | |
| SCOPED_C_CTYPE () | |
| ~SCOPED_C_CTYPE () | |
| bool | Ok () const |
Private Attributes | |
| std::string | m_previous |
| bool | m_ok = true |
Set C LC_CTYPE on non-Windows hosts and restore the previous locale.
Definition at line 41 of file odb_test_utils.h.
|
inline |
Definition at line 44 of file odb_test_utils.h.
References m_ok, and m_previous.
|
inline |
Definition at line 51 of file odb_test_utils.h.
References m_previous.
|
inline |
Definition at line 53 of file odb_test_utils.h.
References m_ok.
|
private |
Definition at line 57 of file odb_test_utils.h.
Referenced by Ok(), and SCOPED_C_CTYPE().
|
private |
Definition at line 56 of file odb_test_utils.h.
Referenced by SCOPED_C_CTYPE(), and ~SCOPED_C_CTYPE().