|
KiCad PCB EDA Suite
|
Implements the RC_ITEM_RESOLVER interface to resolve PCB items by their KIID. More...
#include <drc_item.h>
Public Member Functions | |
| BOARD_RC_ITEM_RESOLVER (const BOARD &aBoard) | |
| EDA_ITEM * | doResolveItemById (const KIID &aKiid) const override |
| The actual resolution logic for an item by its KIID, must be implemented against the actual item store of the inheriting class. | |
| EDA_ITEM * | ResolveItemById (const KIID &aKiid) const |
| Resolve an item by its KIID. | |
Private Attributes | |
| const BOARD & | m_board |
| std::unordered_set< KIID > | m_resolutionMisses |
| Store of missed resolution attempts (KIIDs that could not be resolved). | |
Implements the RC_ITEM_RESOLVER interface to resolve PCB items by their KIID.
Definition at line 348 of file drc_item.h.
|
inlineexplicit |
Definition at line 351 of file drc_item.h.
References m_board.
The actual resolution logic for an item by its KIID, must be implemented against the actual item store of the inheriting class.
| aKiid | The KIID of the item to resolve. |
Implements RC_ITEM_RESOLVER.
Definition at line 772 of file drc_item.cpp.
References m_board.
Resolve an item by its KIID.
| aKiid | The KIID of the item to resolve. |
Definition at line 98 of file rc_item.h.
References doResolveItemById(), m_resolutionMisses, and niluuid.
Referenced by BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), RC_ITEM::GetJsonViolation(), and RC_ITEM::ShowReport().
|
private |
Definition at line 359 of file drc_item.h.
Referenced by BOARD_RC_ITEM_RESOLVER(), and doResolveItemById().
|
mutableprivateinherited |
Store of missed resolution attempts (KIIDs that could not be resolved).
Definition at line 128 of file rc_item.h.
Referenced by ResolveItemById().