KiCad PCB EDA Suite
Loading...
Searching...
No Matches
import_net_names.h File Reference
#include <map>
#include <wx/string.h>

Go to the source code of this file.

Functions

bool ApplyImportedNetNameMap (BOARD &aBoard, const std::map< wxString, wxString > &aNames, REPORTER &aReporter)
 Apply caller-selected imported net names without changing net identity or connectivity.
 

Function Documentation

◆ ApplyImportedNetNameMap()

bool ApplyImportedNetNameMap ( BOARD & aBoard,
const std::map< wxString, wxString > & aNames,
REPORTER & aReporter )

Apply caller-selected imported net names without changing net identity or connectivity.

Missing source nets are ignored. Invalid names or collisions reject the entire operation.

Definition at line 27 of file import_net_names.cpp.

References BOARD::GetDesignSettings(), BOARD_DESIGN_SETTINGS::m_NetSettings, and BOARD::RenameNets().

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PCBNEW_JOBS_HANDLER::JobImport(), and PCB_EDIT_FRAME::OpenProjectFiles().