|
KiCad PCB EDA Suite
|
A structure for storing weighted search terms. More...
#include <eda_pattern_match.h>
Public Member Functions | |
| SEARCH_TERM (const wxString &aText, int aScore, bool aIsName=false) | |
Public Attributes | |
| wxString | Text |
| int | Score |
| bool | Normalized |
| bool | IsName |
| True if this term is the item's own name or LIB_ID rather than an incidental field (keyword, description, footprint, etc). | |
A structure for storing weighted search terms.
Definition at line 43 of file eda_pattern_match.h.
|
inline |
Definition at line 45 of file eda_pattern_match.h.
References IsName, Normalized, Score, and Text.
| bool SEARCH_TERM::IsName |
True if this term is the item's own name or LIB_ID rather than an incidental field (keyword, description, footprint, etc).
Only these terms can promote a node into the exact-match sort tier; see EDA_COMBINED_MATCHER::ScoreTerms.
Definition at line 59 of file eda_pattern_match.h.
Referenced by SEARCH_TERM().
| bool SEARCH_TERM::Normalized |
Definition at line 54 of file eda_pattern_match.h.
Referenced by SEARCH_TERM().
| int SEARCH_TERM::Score |
Definition at line 53 of file eda_pattern_match.h.
Referenced by SEARCH_TERM().
| wxString SEARCH_TERM::Text |
Definition at line 52 of file eda_pattern_match.h.
Referenced by SEARCH_TERM().