|
KiCad PCB EDA Suite
|
#include <zone_settings_bag.h>
Public Member Functions | |
| ZONE_SETTINGS_BAG (BOARD *aBoard) | |
| ZONE_SETTINGS_BAG (ZONE *aZone, ZONE_SETTINGS *aSettings) | |
| ZONE_SETTINGS_BAG ()=default | |
| std::shared_ptr< ZONE_SETTINGS > | GetZoneSettings (ZONE *aZone) |
| unsigned | GetZonePriority (ZONE *aZone) |
| void | SwapPriority (ZONE *aZOne, ZONE *otherZone) |
| void | UpdateClonedZones () |
| The cloned list is the working storage. | |
| std::vector< ZONE * > & | GetOriginalZoneList () |
| std::vector< ZONE * > & | GetClonedZoneList () |
| std::unordered_map< ZONE *, std::shared_ptr< ZONE > > & | GetZonesCloneMap () |
Private Attributes | |
| std::unordered_map< ZONE *, std::shared_ptr< ZONE > > | m_zonesCloneMap |
| std::unordered_map< ZONE *, std::shared_ptr< ZONE_SETTINGS > > | m_zoneSettings |
| std::unordered_map< ZONE *, std::pair< unsigned, unsigned > > | m_zonePriorities |
| std::vector< ZONE * > | m_clonedZoneList |
| std::vector< ZONE * > | m_originalZoneList |
Definition at line 36 of file zone_settings_bag.h.
| ZONE_SETTINGS_BAG::ZONE_SETTINGS_BAG | ( | BOARD * | aBoard | ) |
Definition at line 32 of file zone_settings_bag.cpp.
References m_clonedZoneList, m_zonePriorities, m_zonesCloneMap, m_zoneSettings, and BOARD::Zones().
| ZONE_SETTINGS_BAG::ZONE_SETTINGS_BAG | ( | ZONE * | aZone, |
| ZONE_SETTINGS * | aSettings ) |
Definition at line 68 of file zone_settings_bag.cpp.
References m_zoneSettings.
|
default |
|
inline |
Definition at line 55 of file zone_settings_bag.h.
References m_clonedZoneList.
|
inline |
Definition at line 54 of file zone_settings_bag.h.
References m_originalZoneList.
| unsigned ZONE_SETTINGS_BAG::GetZonePriority | ( | ZONE * | aZone | ) |
Definition at line 80 of file zone_settings_bag.cpp.
References m_zonePriorities.
|
inline |
Definition at line 56 of file zone_settings_bag.h.
References m_zonesCloneMap.
| std::shared_ptr< ZONE_SETTINGS > ZONE_SETTINGS_BAG::GetZoneSettings | ( | ZONE * | aZone | ) |
Definition at line 74 of file zone_settings_bag.cpp.
References m_zoneSettings.
Definition at line 86 of file zone_settings_bag.cpp.
References m_zonePriorities.
| void ZONE_SETTINGS_BAG::UpdateClonedZones | ( | ) |
The cloned list is the working storage.
Definition at line 92 of file zone_settings_bag.cpp.
References m_clonedZoneList, m_zonePriorities, and m_zoneSettings.
|
private |
Definition at line 62 of file zone_settings_bag.h.
Referenced by GetClonedZoneList(), UpdateClonedZones(), and ZONE_SETTINGS_BAG().
|
private |
Definition at line 63 of file zone_settings_bag.h.
Referenced by GetOriginalZoneList().
|
private |
Definition at line 61 of file zone_settings_bag.h.
Referenced by GetZonePriority(), SwapPriority(), UpdateClonedZones(), and ZONE_SETTINGS_BAG().
Definition at line 59 of file zone_settings_bag.h.
Referenced by GetZonesCloneMap(), and ZONE_SETTINGS_BAG().
|
private |
Definition at line 60 of file zone_settings_bag.h.
Referenced by GetZoneSettings(), UpdateClonedZones(), ZONE_SETTINGS_BAG(), and ZONE_SETTINGS_BAG().