|
KiCad PCB EDA Suite
|
#include <test_pcad_sch_import_fixture.h>
Public Member Functions | |
| PCAD_SCH_IMPORT_FIXTURE () | |
| std::string | GetTestDataDir () |
| void | LoadSchematic (const std::string &aFile) |
| int | CountItemsOfType (KICAD_T aType) |
| int | CountImportedScreens () |
| int | CountWires () |
| int | CountBusSegments () |
| LIB_SYMBOL * | LibSymbolForRefdes (const wxString &aRefdes) |
| The embedded library symbol of the first placed symbol matching the reference. | |
| SCH_SYMBOL * | SymbolForRefdesUnit (const wxString &aRefdes, int aUnit) |
| SCH_PIN * | LibPin (LIB_SYMBOL *aSymbol, const wxString &aNumber) |
| The library pin with the given number, searched across all units. | |
| bool | HasLabel (const wxString &aText, KICAD_T aType=SCH_LABEL_T) |
| SCH_TEXT * | FindText (const wxString &aText) |
| int | CountShapesWithStyle (LINE_STYLE aStyle) |
| Count wire or graphic lines drawn with the given stroke style anywhere in the design. | |
| template<typename FUNC> | |
| void | forEachItemOfType (KICAD_T aType, FUNC aFunc) |
Public Attributes | |
| SCH_IO_PCAD | m_plugin |
| std::unique_ptr< SCHEMATIC > | m_schematic |
| SETTINGS_MANAGER | m_manager |
| SCH_SHEET * | m_loadedRoot = nullptr |
Definition at line 51 of file test_pcad_sch_import_fixture.h.
|
inline |
Definition at line 53 of file test_pcad_sch_import_fixture.h.
References m_manager, and m_schematic.
|
inline |
Definition at line 123 of file test_pcad_sch_import_fixture.h.
References forEachItemOfType(), LAYER_BUS, and SCH_LINE_T.
|
inline |
Definition at line 96 of file test_pcad_sch_import_fixture.h.
References m_schematic.
|
inline |
Definition at line 74 of file test_pcad_sch_import_fixture.h.
References SCH_SCREEN::Items(), and m_schematic.
|
inline |
Count wire or graphic lines drawn with the given stroke style anywhere in the design.
Definition at line 217 of file test_pcad_sch_import_fixture.h.
References forEachItemOfType(), and SCH_SHAPE_T.
|
inline |
Definition at line 109 of file test_pcad_sch_import_fixture.h.
References forEachItemOfType(), LAYER_WIRE, and SCH_LINE_T.
|
inline |
Definition at line 202 of file test_pcad_sch_import_fixture.h.
References forEachItemOfType(), result, and SCH_TEXT_T.
|
inline |
Definition at line 232 of file test_pcad_sch_import_fixture.h.
References SCH_SCREEN::Items(), m_schematic, and EE_RTREE::OfType().
Referenced by CountBusSegments(), CountShapesWithStyle(), CountWires(), FindText(), HasLabel(), LibSymbolForRefdes(), and SymbolForRefdesUnit().
|
inline |
Definition at line 66 of file test_pcad_sch_import_fixture.h.
References KI_TEST::GetEeschemaTestDataDir().
Referenced by LoadSchematic().
|
inline |
Definition at line 188 of file test_pcad_sch_import_fixture.h.
References forEachItemOfType(), and SCH_LABEL_T.
|
inline |
The library pin with the given number, searched across all units.
Definition at line 174 of file test_pcad_sch_import_fixture.h.
References LIB_SYMBOL::GetPins(), and pin.
|
inline |
The embedded library symbol of the first placed symbol matching the reference.
Definition at line 138 of file test_pcad_sch_import_fixture.h.
References forEachItemOfType(), SCH_SYMBOL::GetLibSymbolRef(), SCH_SYMBOL::GetRef(), result, and SCH_SYMBOL_T.
|
inline |
Definition at line 68 of file test_pcad_sch_import_fixture.h.
References BOOST_REQUIRE(), GetTestDataDir(), m_loadedRoot, m_plugin, and m_schematic.
|
inline |
Definition at line 154 of file test_pcad_sch_import_fixture.h.
References forEachItemOfType(), SCH_SYMBOL::GetRef(), SCH_ITEM::GetUnit(), result, and SCH_SYMBOL_T.
| SCH_SHEET* PCAD_SCH_IMPORT_FIXTURE::m_loadedRoot = nullptr |
Definition at line 64 of file test_pcad_sch_import_fixture.h.
Referenced by LoadSchematic().
| SETTINGS_MANAGER PCAD_SCH_IMPORT_FIXTURE::m_manager |
Definition at line 63 of file test_pcad_sch_import_fixture.h.
Referenced by PCAD_SCH_IMPORT_FIXTURE().
| SCH_IO_PCAD PCAD_SCH_IMPORT_FIXTURE::m_plugin |
Definition at line 61 of file test_pcad_sch_import_fixture.h.
Referenced by LoadSchematic().
| std::unique_ptr<SCHEMATIC> PCAD_SCH_IMPORT_FIXTURE::m_schematic |
Definition at line 62 of file test_pcad_sch_import_fixture.h.
Referenced by CountImportedScreens(), CountItemsOfType(), forEachItemOfType(), LoadSchematic(), and PCAD_SCH_IMPORT_FIXTURE().