24 #ifndef CLEANUP_ITEM_H 25 #define CLEANUP_ITEM_H 61 wxString
GetErrorText(
int aErrorCode = -1,
bool aTranslate =
true )
const;
91 std::shared_ptr<RC_ITEM>
GetItem(
int aIndex )
override 122 #endif // CLEANUP_ITEM_H
CLEANUP_ITEM(int aErrorCode)
A holder for a rule check item, DRC in Pcbnew or ERC in Eeschema.
VECTOR_CLEANUP_ITEMS_PROVIDER(std::vector< std::shared_ptr< CLEANUP_ITEM > > *aList)
int GetCount(int aSeverity=-1) override
void DeleteAllItems(bool aIncludeExclusions, bool aDeep) override
void DeleteItem(int aIndex, bool aDeep) override
Remove (and optionally deletes) the indexed item from the list.
Provide an abstract interface of a RC_ITEM* list manager.
wxString GetErrorText() const
std::vector< std::shared_ptr< CLEANUP_ITEM > > * m_sourceVector
VECTOR_CLEANUP_ITEMS_PROVIDER is an implementation of the interface named RC_ITEMS_PROVIDER which use...
std::shared_ptr< RC_ITEM > GetItem(int aIndex) override
Retrieve a RC_ITEM by index.
void SetSeverities(int aSeverities) override
std::shared_ptr< CLEANUP_ITEM > GetCleanupItem(int aIndex)
Base PCB main window class for Pcbnew, Gerbview, and CvPcb footprint viewer.