| 
    KiCad PCB EDA Suite
    
   | 
 
Match simple substring. More...
#include <eda_pattern_match.h>
  
Public Member Functions | |
| virtual bool | SetPattern (const wxString &aPattern) override | 
| Set the pattern against which candidates will be matched.   | |
| virtual wxString const & | GetPattern () const override | 
| Return the pattern passed to SetPattern().   | |
| virtual FIND_RESULT | Find (const wxString &aCandidate) const override | 
| Return the location and possibly length of a match if a given candidate string matches the set pattern.   | |
Protected Attributes | |
| wxString | m_pattern | 
Match simple substring.
Definition at line 110 of file eda_pattern_match.h.
      
  | 
  overridevirtual | 
Return the location and possibly length of a match if a given candidate string matches the set pattern.
Otherwise, return an invalid FIND_RESULT.
Implements EDA_PATTERN_MATCH.
Definition at line 49 of file eda_pattern_match.cpp.
References m_pattern.
      
  | 
  overridevirtual | 
Return the pattern passed to SetPattern().
Implements EDA_PATTERN_MATCH.
Definition at line 43 of file eda_pattern_match.cpp.
References m_pattern.
      
  | 
  overridevirtual | 
Set the pattern against which candidates will be matched.
Implements EDA_PATTERN_MATCH.
Definition at line 36 of file eda_pattern_match.cpp.
References m_pattern.
      
  | 
  protected | 
Definition at line 119 of file eda_pattern_match.h.
Referenced by Find(), GetPattern(), and SetPattern().