41 std::unique_ptr<BOARD> board;
49 std::map<ZONE*, wxString> originalNames;
52 originalNames[clone.get()] = zone->GetZoneName();
std::unordered_map< ZONE *, std::shared_ptr< ZONE > > & GetZonesCloneMap()
void UpdateClonedZones()
The cloned list is the working storage.
wxString GetUniqueZoneName(const BOARD &aBoard, const wxString &aBaseName, const ZONE *aZone) const
Return a name based on aBaseName that no other zone on aBoard uses.
std::vector< ZONE * > & GetClonedZoneList()
std::shared_ptr< ZONE_SETTINGS > GetZoneSettings(ZONE *aZone)
Handle a list of polygons defining a copper zone.
void LoadBoard(SETTINGS_MANAGER &aSettingsManager, const wxString &aRelPath, std::unique_ptr< BOARD > &aBoard)
BOOST_AUTO_TEST_CASE(HorizontalAlignment)
BOOST_AUTO_TEST_SUITE(CadstarPartParser)
BOOST_REQUIRE_EQUAL(rows.size(), 1)
BOOST_CHECK_EQUAL(std::any_cast< std::string >(rows[0].at("val")), "12345678901234567.89")
BOOST_AUTO_TEST_SUITE_END()