KiCad PCB EDA Suite
Loading...
Searching...
No Matches
FLAT_MATCHER Struct Reference

Public Member Functions

bool bind (FOOTPRINT *aRef, FOOTPRINT *aTarget, std::vector< int > &aAdded)
 
bool pair (size_t aIndex, FOOTPRINT *aChoice)
 
bool extend (size_t aIndex)
 

Public Attributes

const std::map< int, std::vector< FOOTPRINT * > > & m_netOwners
 
const std::set< int > & m_internal
 
const std::set< FOOTPRINT * > & m_leaves
 
const std::set< FOOTPRINT * > & m_claimed
 
const std::vector< FOOTPRINT * > & m_order
 
bool m_loose
 
TMATCH::COMPONENT_MATCHES m_map = {}
 
std::set< FOOTPRINT * > m_used = {}
 
std::map< int, int > m_netMap = {}
 
std::set< int > m_netsTaken = {}
 
int m_budget = 10000
 

Detailed Description

Definition at line 1216 of file multichannel_tool.cpp.

Member Function Documentation

◆ bind()

bool FLAT_MATCHER::bind ( FOOTPRINT * aRef,
FOOTPRINT * aTarget,
std::vector< int > & aAdded )
inline

◆ extend()

bool FLAT_MATCHER::extend ( size_t aIndex)
inline

◆ pair()

bool FLAT_MATCHER::pair ( size_t aIndex,
FOOTPRINT * aChoice )
inline

Definition at line 1267 of file multichannel_tool.cpp.

References bind(), extend(), m_map, m_netMap, m_netsTaken, m_order, and m_used.

Referenced by extend().

Member Data Documentation

◆ m_budget

int FLAT_MATCHER::m_budget = 10000

Definition at line 1229 of file multichannel_tool.cpp.

Referenced by extend().

◆ m_claimed

const std::set<FOOTPRINT*>& FLAT_MATCHER::m_claimed

Definition at line 1221 of file multichannel_tool.cpp.

Referenced by extend().

◆ m_internal

const std::set<int>& FLAT_MATCHER::m_internal

Definition at line 1219 of file multichannel_tool.cpp.

Referenced by bind().

◆ m_leaves

const std::set<FOOTPRINT*>& FLAT_MATCHER::m_leaves

Definition at line 1220 of file multichannel_tool.cpp.

Referenced by extend().

◆ m_loose

bool FLAT_MATCHER::m_loose

Definition at line 1223 of file multichannel_tool.cpp.

Referenced by extend().

◆ m_map

TMATCH::COMPONENT_MATCHES FLAT_MATCHER::m_map = {}

Definition at line 1225 of file multichannel_tool.cpp.

Referenced by pair().

◆ m_netMap

std::map<int, int> FLAT_MATCHER::m_netMap = {}

Definition at line 1227 of file multichannel_tool.cpp.

Referenced by bind(), extend(), and pair().

◆ m_netOwners

const std::map<int, std::vector<FOOTPRINT*> >& FLAT_MATCHER::m_netOwners

Definition at line 1218 of file multichannel_tool.cpp.

Referenced by extend().

◆ m_netsTaken

std::set<int> FLAT_MATCHER::m_netsTaken = {}

Definition at line 1228 of file multichannel_tool.cpp.

Referenced by bind(), and pair().

◆ m_order

const std::vector<FOOTPRINT*>& FLAT_MATCHER::m_order

Definition at line 1222 of file multichannel_tool.cpp.

Referenced by extend(), and pair().

◆ m_used

std::set<FOOTPRINT*> FLAT_MATCHER::m_used = {}

Definition at line 1226 of file multichannel_tool.cpp.

Referenced by extend(), and pair().


The documentation for this struct was generated from the following file: