24#ifndef SEARCH_HANDLERS_H
25#define SEARCH_HANDLERS_H
51 if( aRow >=
static_cast<int>(
m_hitlist.size() ) )
63 void Sort(
int aCol,
bool aAscending, std::vector<long>* aSelection )
override;
64 void SelectItems( std::vector<long>& aItemRows )
override;
79 int Search(
const wxString& aQuery )
override;
90 int Search(
const wxString& aQuery )
override;
101 int Search(
const wxString& aQuery )
override;
112 int Search(
const wxString& aQuery )
override;
int Search(const wxString &aQuery) override
wxString getResultCell(const SCH_SEARCH_HIT &hit, int aCol) override
int Search(const wxString &aQuery) override
wxString getResultCell(const SCH_SEARCH_HIT &aHit, int aCol) override
Schematic editor (Eeschema) main window.
Base class for any item which can be embedded within the SCHEMATIC container class,...
virtual wxString getResultCell(const SCH_SEARCH_HIT &hit, int aCol)=0
std::vector< SCH_SEARCH_HIT > m_hitlist
void SelectItems(std::vector< long > &aItemRows) override
void FindAll(const std::function< bool(SCH_ITEM *, SCH_SHEET_PATH *)> &aCollector)
void Sort(int aCol, bool aAscending, std::vector< long > *aSelection) override
void ActivateItem(long aItemRow) override
wxString GetResultCell(int aRow, int aCol) override
SCH_SEARCH_HANDLER(const wxString &aName, SCH_EDIT_FRAME *aFrame)
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
wxString getResultCell(const SCH_SEARCH_HIT &aHit, int aCol) override
int Search(const wxString &aQuery) override
int Search(const wxString &aQuery) override
wxString getResultCell(const SCH_SEARCH_HIT &hit, int aCol) override
SCH_SHEET_PATH * sheetPath