KiCad PCB EDA Suite
Loading...
Searching...
No Matches
cross-probing.cpp File Reference
#include <kiface_base.h>
#include <kiway.h>
#include <kiway_express.h>
#include <eda_dde.h>
#include <connection_graph.h>
#include <sch_sheet.h>
#include <sch_symbol.h>
#include <sch_reference_list.h>
#include <string_utils.h>
#include <netlist_exporters/netlist_exporter_kicad.h>
#include <project/project_file.h>
#include <project/net_settings.h>
#include <project_sch.h>
#include <richio.h>
#include <symbol_lib_table.h>
#include <tools/sch_actions.h>
#include <tools/sch_editor_control.h>
#include <advanced_config.h>
#include <widgets/sch_design_block_pane.h>
#include <wx/log.h>

Go to the source code of this file.

Functions

bool findSymbolsAndPins (const SCH_SHEET_LIST &aSchematicSheetList, const SCH_SHEET_PATH &aSheetPath, std::unordered_map< wxString, std::vector< SCH_REFERENCE > > &aSyncSymMap, std::unordered_map< wxString, std::unordered_map< wxString, SCH_PIN * > > &aSyncPinMap, bool aRecursive=false)
 
bool sheetContainsOnlyWantedItems (const SCH_SHEET_LIST &aSchematicSheetList, const SCH_SHEET_PATH &aSheetPath, std::unordered_map< wxString, std::vector< SCH_REFERENCE > > &aSyncSymMap, std::unordered_map< wxString, std::unordered_map< wxString, SCH_PIN * > > &aSyncPinMap, std::unordered_map< SCH_SHEET_PATH, bool > &aCache)
 
std::optional< std::tuple< SCH_SHEET_PATH, SCH_ITEM *, std::vector< SCH_ITEM * > > > findItemsFromSyncSelection (const SCHEMATIC &aSchematic, const std::string aSyncStr, bool aFocusOnFirst)
 

Function Documentation

◆ findItemsFromSyncSelection()

std::optional< std::tuple< SCH_SHEET_PATH, SCH_ITEM *, std::vector< SCH_ITEM * > > > findItemsFromSyncSelection ( const SCHEMATIC & aSchematic,
const std::string aSyncStr,
bool aFocusOnFirst )

◆ findSymbolsAndPins()

bool findSymbolsAndPins ( const SCH_SHEET_LIST & aSchematicSheetList,
const SCH_SHEET_PATH & aSheetPath,
std::unordered_map< wxString, std::vector< SCH_REFERENCE > > & aSyncSymMap,
std::unordered_map< wxString, std::unordered_map< wxString, SCH_PIN * > > & aSyncPinMap,
bool aRecursive = false )

◆ sheetContainsOnlyWantedItems()

bool sheetContainsOnlyWantedItems ( const SCH_SHEET_LIST & aSchematicSheetList,
const SCH_SHEET_PATH & aSheetPath,
std::unordered_map< wxString, std::vector< SCH_REFERENCE > > & aSyncSymMap,
std::unordered_map< wxString, std::unordered_map< wxString, SCH_PIN * > > & aSyncPinMap,
std::unordered_map< SCH_SHEET_PATH, bool > & aCache )