|
KiCad PCB EDA Suite
|
Classes | |
| class | BACKTRACK_STAGE |
| class | COMPONENT |
| class | CONNECTION_GRAPH |
| struct | ISOMORPHISM_PARAMS |
| class | PIN |
| struct | SIDE_INVENTORY |
| struct | TOPOLOGY_MISMATCH_REASON |
Typedefs | |
| typedef std::map< FOOTPRINT *, FOOTPRINT * > | COMPONENT_MATCHES |
Functions | |
| std::unordered_map< int, int > | buildBaseNetMapping (const BACKTRACK_STAGE &aMatches) |
| bool | checkCandidateNetConsistency (const std::unordered_map< int, int > &aBaseMapping, COMPONENT *aRef, COMPONENT *aTgt, TOPOLOGY_MISMATCH_REASON &aReason, const std::unordered_set< int > &aExternalNets) |
| static SIDE_INVENTORY | takeInventory (const std::vector< COMPONENT * > &aComponents) |
| static bool | sameFootprintInventory (const std::vector< COMPONENT * > &aRefComponents, const std::vector< COMPONENT * > &aTargetComponents, std::vector< TOPOLOGY_MISMATCH_REASON > &aMismatchReasons) |
| typedef std::map<FOOTPRINT*, FOOTPRINT*> TMATCH::COMPONENT_MATCHES |
Definition at line 187 of file topo_match.h.
| std::unordered_map< int, int > TMATCH::buildBaseNetMapping | ( | const BACKTRACK_STAGE & | aMatches | ) |
Definition at line 139 of file topo_match.cpp.
References TMATCH::BACKTRACK_STAGE::GetMatchingComponentPairs().
Referenced by TMATCH::CONNECTION_GRAPH::findMatchingComponents().
| bool TMATCH::checkCandidateNetConsistency | ( | const std::unordered_map< int, int > & | aBaseMapping, |
| COMPONENT * | aRef, | ||
| COMPONENT * | aTgt, | ||
| TOPOLOGY_MISMATCH_REASON & | aReason, | ||
| const std::unordered_set< int > & | aExternalNets ) |
Definition at line 157 of file topo_match.cpp.
References _, BOARD_ITEM::GetBoard(), TMATCH::COMPONENT::GetParent(), FOOTPRINT::GetReferenceAsString(), TMATCH::TOPOLOGY_MISMATCH_REASON::m_candidate, TMATCH::TOPOLOGY_MISMATCH_REASON::m_reason, TMATCH::TOPOLOGY_MISMATCH_REASON::m_reference, TMATCH::COMPONENT::Pins(), and traceTopoMatch.
Referenced by TMATCH::CONNECTION_GRAPH::findMatchingComponents().
|
static |
Definition at line 671 of file topo_match.cpp.
References _, TMATCH::SIDE_INVENTORY::counts, TMATCH::SIDE_INVENTORY::footprintOf, TMATCH::TOPOLOGY_MISMATCH_REASON::m_candidate, TMATCH::TOPOLOGY_MISMATCH_REASON::m_reason, TMATCH::TOPOLOGY_MISMATCH_REASON::m_reference, TMATCH::SIDE_INVENTORY::partsUsing, TMATCH::SIDE_INVENTORY::repeatedRefs, and takeInventory().
Referenced by TMATCH::CONNECTION_GRAPH::FindIsomorphism().
|
static |
Definition at line 645 of file topo_match.cpp.
References _, TMATCH::SIDE_INVENTORY::counts, TMATCH::SIDE_INVENTORY::footprintOf, TMATCH::SIDE_INVENTORY::partsUsing, and TMATCH::SIDE_INVENTORY::repeatedRefs.
Referenced by sameFootprintInventory().