| 
    KiCad PCB EDA Suite
    
   | 
 
An implementation of the interface named RC_ITEMS_PROVIDER which uses a vector of pointers to CLEANUP_ITEMs to fulfill the interface. More...
#include <cleanup_item.h>
  
Public Member Functions | |
| VECTOR_CLEANUP_ITEMS_PROVIDER (std::vector< std::shared_ptr< CLEANUP_ITEM > > *aList) | |
| void | SetSeverities (int aSeverities) override | 
| int | GetCount (int aSeverity=-1) const override | 
| std::shared_ptr< RC_ITEM > | GetItem (int aIndex) const override | 
| Retrieve a RC_ITEM by index.   | |
| std::shared_ptr< CLEANUP_ITEM > | GetCleanupItem (int aIndex) | 
| void | DeleteItem (int aIndex, bool aDeep) override | 
| Remove (and optionally deletes) the indexed item from the list.   | |
Private Attributes | |
| std::vector< std::shared_ptr< CLEANUP_ITEM > > * | m_sourceVector | 
An implementation of the interface named RC_ITEMS_PROVIDER which uses a vector of pointers to CLEANUP_ITEMs to fulfill the interface.
No ownership is taken of the vector.
Definition at line 69 of file cleanup_item.h.
      
  | 
  inline | 
Definition at line 72 of file cleanup_item.h.
References m_sourceVector.
      
  | 
  inlineoverridevirtual | 
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. | 
Implements RC_ITEMS_PROVIDER.
Definition at line 96 of file cleanup_item.h.
References m_sourceVector.
      
  | 
  inline | 
Definition at line 91 of file cleanup_item.h.
References m_sourceVector.
      
  | 
  inlineoverridevirtual | 
Implements RC_ITEMS_PROVIDER.
Definition at line 81 of file cleanup_item.h.
References m_sourceVector.
      
  | 
  inlineoverridevirtual | 
Retrieve a RC_ITEM by index.
Implements RC_ITEMS_PROVIDER.
Definition at line 86 of file cleanup_item.h.
References m_sourceVector.
      
  | 
  inlineoverridevirtual | 
Implements RC_ITEMS_PROVIDER.
Definition at line 77 of file cleanup_item.h.
      
  | 
  private | 
Definition at line 106 of file cleanup_item.h.
Referenced by DeleteItem(), GetCleanupItem(), GetCount(), GetItem(), and VECTOR_CLEANUP_ITEMS_PROVIDER().