|
KiCad PCB EDA Suite
|
Save and restore the static ODB++ exporter formatting state. More...
Public Member Functions | |
| ODB_EXPORT_STATE_GUARD () | |
| ~ODB_EXPORT_STATE_GUARD () | |
Public Attributes | |
| double | m_scale |
| double | m_symbolScale |
| int | m_sigfig |
| std::string | m_unitsStr |
Save and restore the static ODB++ exporter formatting state.
SaveBoard() writes these, so without a guard the sigfig this test asks for would follow the shared qa_pcbnew binary into every later ODB++ test.
Definition at line 46 of file test_odb_drill_tools.cpp.
|
inline |
Definition at line 48 of file test_odb_drill_tools.cpp.
References m_scale, m_sigfig, m_symbolScale, and m_unitsStr.
|
inline |
Definition at line 56 of file test_odb_drill_tools.cpp.
References m_scale, PCB_IO_ODBPP::m_scale, m_sigfig, PCB_IO_ODBPP::m_sigfig, m_symbolScale, PCB_IO_ODBPP::m_symbolScale, m_unitsStr, and PCB_IO_ODBPP::m_unitsStr.
| double ODB_EXPORT_STATE_GUARD::m_scale |
Definition at line 64 of file test_odb_drill_tools.cpp.
Referenced by ODB_EXPORT_STATE_GUARD(), and ~ODB_EXPORT_STATE_GUARD().
| int ODB_EXPORT_STATE_GUARD::m_sigfig |
Definition at line 66 of file test_odb_drill_tools.cpp.
Referenced by ODB_EXPORT_STATE_GUARD(), and ~ODB_EXPORT_STATE_GUARD().
| double ODB_EXPORT_STATE_GUARD::m_symbolScale |
Definition at line 65 of file test_odb_drill_tools.cpp.
Referenced by ODB_EXPORT_STATE_GUARD(), and ~ODB_EXPORT_STATE_GUARD().
| std::string ODB_EXPORT_STATE_GUARD::m_unitsStr |
Definition at line 67 of file test_odb_drill_tools.cpp.
Referenced by ODB_EXPORT_STATE_GUARD(), and ~ODB_EXPORT_STATE_GUARD().