57 wxString
GetErrorText(
int aErrorCode = -1,
bool aTranslate =
true )
const;
81 int GetCount(
int aSeverity = -1 )
const override
86 std::shared_ptr<RC_ITEM>
GetItem(
int aIndex )
const override
Base PCB main window class for Pcbnew, Gerbview, and CvPcb footprint viewer.
Provide an abstract interface of a RC_ITEM* list manager.
A holder for a rule check item, DRC in Pcbnew or ERC in Eeschema.
wxString GetErrorText() const
An implementation of the interface named RC_ITEMS_PROVIDER which uses a vector of pointers to CLEANUP...
std::shared_ptr< CLEANUP_ITEM > GetCleanupItem(int aIndex)
int GetCount(int aSeverity=-1) const override
void SetSeverities(int aSeverities) override
std::shared_ptr< RC_ITEM > GetItem(int aIndex) const override
Retrieve a RC_ITEM by index.
void DeleteItem(int aIndex, bool aDeep) override
Remove (and optionally deletes) the indexed item from the list.
VECTOR_CLEANUP_ITEMS_PROVIDER(std::vector< std::shared_ptr< CLEANUP_ITEM > > *aList)
std::vector< std::shared_ptr< CLEANUP_ITEM > > * m_sourceVector
@ CLEANUP_DUPLICATE_TRACK
@ CLEANUP_ZERO_LENGTH_TRACK
@ CLEANUP_DUPLICATE_GRAPHIC