KiCad PCB EDA Suite
|
Provide an abstract interface of a RC_ITEM* list manager. More...
#include <rc_item.h>
Public Member Functions | |
virtual void | SetSeverities (int aSeverities)=0 |
virtual int | GetCount (int aSeverity=-1) const =0 |
virtual std::shared_ptr< RC_ITEM > | GetItem (int aIndex) const =0 |
Retrieve a RC_ITEM by index. | |
virtual void | DeleteItem (int aIndex, bool aDeep)=0 |
Remove (and optionally deletes) the indexed item from the list. | |
virtual | ~RC_ITEMS_PROVIDER () |
Provide an abstract interface of a RC_ITEM* list manager.
The details of the actual list architecture are hidden from the caller. Any class that implements this interface can then be used by a RC_TREE_MODEL class without it knowing the actual architecture of the list.
|
inlinevirtual |
|
pure virtual |
Remove (and optionally deletes) the indexed item from the list.
aDeep | If true, the source item should be deleted as well as its entry in the list. |
Implemented in SHEETLIST_ERC_ITEMS_PROVIDER, VECTOR_CLEANUP_ITEMS_PROVIDER, and DRC_ITEMS_PROVIDER.
|
pure virtual |
Implemented in SHEETLIST_ERC_ITEMS_PROVIDER, VECTOR_CLEANUP_ITEMS_PROVIDER, and DRC_ITEMS_PROVIDER.
|
pure virtual |
Retrieve a RC_ITEM by index.
Implemented in SHEETLIST_ERC_ITEMS_PROVIDER, VECTOR_CLEANUP_ITEMS_PROVIDER, and DRC_ITEMS_PROVIDER.
|
pure virtual |
Implemented in SHEETLIST_ERC_ITEMS_PROVIDER, VECTOR_CLEANUP_ITEMS_PROVIDER, and DRC_ITEMS_PROVIDER.