| 
    KiCad PCB EDA Suite
    
   | 
 
An implementation of the RC_ITEM_LIST interface which uses the global SHEETLIST to fulfill the contract. More...
#include <erc_settings.h>
  
Public Member Functions | |
| SHEETLIST_ERC_ITEMS_PROVIDER (SCHEMATIC *aSchematic) | |
| SHEETLIST_ERC_ITEMS_PROVIDER (const SHEETLIST_ERC_ITEMS_PROVIDER &)=delete | |
| SHEETLIST_ERC_ITEMS_PROVIDER & | operator= (const SHEETLIST_ERC_ITEMS_PROVIDER &)=delete | 
| 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< ERC_ITEM > | GetERCItem (int aIndex) const | 
| void | DeleteItem (int aIndex, bool aDeep) override | 
| Remove (and optionally deletes) the indexed item from the list.   | |
Private Member Functions | |
| void | visitMarkers (std::function< void(SCH_MARKER *)> aVisitor) const | 
Private Attributes | |
| SCHEMATIC * | m_schematic | 
| int | m_severities | 
| std::vector< SCH_MARKER * > | m_filteredMarkers | 
An implementation of the RC_ITEM_LIST interface which uses the global SHEETLIST to fulfill the contract.
Definition at line 241 of file erc_settings.h.
      
  | 
  inline | 
Definition at line 249 of file erc_settings.h.
References m_schematic, and m_severities.
Referenced by operator=(), and SHEETLIST_ERC_ITEMS_PROVIDER().
      
  | 
  delete | 
References SHEETLIST_ERC_ITEMS_PROVIDER().
      
  | 
  overridevirtual | 
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 454 of file erc_settings.cpp.
References SCH_SCREENS::DeleteMarker(), m_filteredMarkers, and m_schematic.
      
  | 
  overridevirtual | 
Implements RC_ITEMS_PROVIDER.
Definition at line 413 of file erc_settings.cpp.
References RC_ITEM::GetErrorCode(), MARKER_BASE::GetRCItem(), ERC_SETTINGS::GetSeverity(), MARKER_BASE::IsExcluded(), m_filteredMarkers, m_schematic, RPT_SEVERITY_EXCLUSION, and visitMarkers().
Referenced by BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), ERC_REPORT::GetTextReport(), and ERC_REPORT::WriteJsonReport().
| std::shared_ptr< ERC_ITEM > SHEETLIST_ERC_ITEMS_PROVIDER::GetERCItem | ( | int | aIndex | ) | const | 
Definition at line 440 of file erc_settings.cpp.
References MARKER_BASE::GetRCItem(), and m_filteredMarkers.
Referenced by GetItem().
      
  | 
  overridevirtual | 
Retrieve a RC_ITEM by index.
Implements RC_ITEMS_PROVIDER.
Definition at line 448 of file erc_settings.cpp.
References GetERCItem().
Referenced by BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), ERC_REPORT::GetTextReport(), and ERC_REPORT::WriteJsonReport().
      
  | 
  delete | 
References SHEETLIST_ERC_ITEMS_PROVIDER().
      
  | 
  overridevirtual | 
Implements RC_ITEMS_PROVIDER.
Definition at line 382 of file erc_settings.cpp.
References RC_ITEM::GetErrorCode(), MARKER_BASE::GetRCItem(), ERC_SETTINGS::GetSeverity(), MARKER_BASE::IsExcluded(), m_filteredMarkers, m_schematic, m_severities, RPT_SEVERITY_EXCLUSION, and visitMarkers().
Referenced by BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), ERC_REPORT::GetTextReport(), and ERC_REPORT::WriteJsonReport().
      
  | 
  private | 
Definition at line 339 of file erc_settings.cpp.
References MARKER_BASE::GetMarkerType(), MARKER_BASE::GetRCItem(), m_schematic, MARKER_BASE::MARKER_ERC, and SCH_MARKER_T.
Referenced by GetCount(), and SetSeverities().
      
  | 
  private | 
Definition at line 246 of file erc_settings.h.
Referenced by DeleteItem(), GetCount(), GetERCItem(), and SetSeverities().
      
  | 
  private | 
Definition at line 244 of file erc_settings.h.
Referenced by DeleteItem(), GetCount(), SetSeverities(), SHEETLIST_ERC_ITEMS_PROVIDER(), and visitMarkers().
      
  | 
  private | 
Definition at line 245 of file erc_settings.h.
Referenced by SetSeverities(), and SHEETLIST_ERC_ITEMS_PROVIDER().