47 const wxPoint& aRefPos )
void Empty()
Clear the list.
virtual SEARCH_RESULT Visit(INSPECTOR inspector, void *testData, const KICAD_T scanTypes[])
May be re-implemented for each derived class in order to handle all the types given by its member dat...
void SetScanTypes(const KICAD_T *scanTypes)
Record the list of KICAD_T types to consider for collection by the Inspect() function.
std::vector< EDA_ITEM * > m_list
int m_PrimaryLength
The number of items that were originally in the primary list before the m_List2nd was concatenated on...
static const KICAD_T AllItems[]
A scan list for all selectable gerber items.
search types array terminator (End Of Types)
KICAD_T
The set of class identification values stored in EDA_ITEM::m_structType.
void Append(EDA_ITEM *item)
Add an item to the end of the list.
virtual bool HitTest(const wxPoint &aPosition, int aAccuracy=0) const
Test if aPosition is inside or on the boundary of this item.
INSPECTOR_FUNC m_inspector
void Collect(EDA_ITEM *aItem, const KICAD_T aScanList[], const wxPoint &aRefPos)
Scan an EDA_ITEM using this class's Inspector method, which does the collection.
void SetRefPos(const wxPoint &aRefPos)
const KICAD_T * m_scanTypes
SEARCH_RESULT Inspect(EDA_ITEM *testItem, void *testData) override
The examining function within the INSPECTOR which is passed to the Iterate function.
A base class for most all the KiCad significant classes used in schematics and boards.