|
KiCad PCB EDA Suite
|
Go to the source code of this file.
Typedefs | |
| using | FOOTPRINT_FILTER_IT = FOOTPRINT_FILTER::ITERATOR |
Functions | |
| bool | FootprintFilterMatchesName (const EDA_PATTERN_MATCH &aFilter, const wxString &aLibNickname, const wxString &aFootprintName) |
| Whether a given footprint matches a specified filter. | |
Definition at line 25 of file footprint_filter.cpp.
| bool FootprintFilterMatchesName | ( | const EDA_PATTERN_MATCH & | aFilter, |
| const wxString & | aLibNickname, | ||
| const wxString & | aFootprintName ) |
Whether a given footprint matches a specified filter.
A filter containing ':' is matched against "library:footprint". Any other filter against the footprint name alone. Matching ignores case.
| aFilter | the pattern match filter. This must be lower-cased. |
| aLibNickname | the nickname of the library containing the footprint. |
| aFootprintName | the name of the footprint to check against the filter. |
Definition at line 126 of file footprint_filter.cpp.
References EDA_PATTERN_MATCH::Find(), EDA_PATTERN_MATCH::GetPattern(), and EDA_PATTERN_MATCH::FIND_RESULT::valid().
Referenced by FOOTPRINT_FILTER::ITERATOR::FootprintFilterMatch().