| 
    KiCad PCB EDA Suite
    
   | 
 
Interface for a pattern matcher for which there are several implementations. More...
#include <eda_pattern_match.h>
  
Classes | |
| struct | FIND_RESULT | 
Public Member Functions | |
| virtual | ~EDA_PATTERN_MATCH () | 
| virtual bool | SetPattern (const wxString &aPattern)=0 | 
| Set the pattern against which candidates will be matched.   | |
| virtual wxString const & | GetPattern () const =0 | 
| Return the pattern passed to SetPattern().   | |
| virtual FIND_RESULT | Find (const wxString &aCandidate) const =0 | 
| Return the location and possibly length of a match if a given candidate string matches the set pattern.   | |
Interface for a pattern matcher for which there are several implementations.
Definition at line 64 of file eda_pattern_match.h.
      
  | 
  inlinevirtual | 
Definition at line 83 of file eda_pattern_match.h.
      
  | 
  pure virtual | 
Return the location and possibly length of a match if a given candidate string matches the set pattern.
Otherwise, return an invalid FIND_RESULT.
Implemented in EDA_PATTERN_MATCH_REGEX, EDA_PATTERN_MATCH_RELATIONAL, EDA_PATTERN_MATCH_SUBSTR, and EDA_PATTERN_MATCH_WILDCARD.
      
  | 
  pure virtual | 
Return the pattern passed to SetPattern().
Implemented in EDA_PATTERN_MATCH_REGEX, EDA_PATTERN_MATCH_RELATIONAL, EDA_PATTERN_MATCH_SUBSTR, and EDA_PATTERN_MATCH_WILDCARD.
      
  | 
  pure virtual | 
Set the pattern against which candidates will be matched.
Implemented in EDA_PATTERN_MATCH_REGEX, EDA_PATTERN_MATCH_REGEX_ANCHORED, EDA_PATTERN_MATCH_RELATIONAL, EDA_PATTERN_MATCH_SUBSTR, EDA_PATTERN_MATCH_WILDCARD, and EDA_PATTERN_MATCH_WILDCARD_ANCHORED.