|
KiCad PCB EDA Suite
|
This is the minimal equivalent to the SCH_REFERENCE so we can provide similar non-null guarantees throughout the data model. More...
#include <footprint_fields_data_model.h>
Public Member Functions | |
| FOOTPRINT_REF (FOOTPRINT &aFootprint) | |
| FOOTPRINT & | GetFootprint () const |
| bool | operator== (const FOOTPRINT_REF &aOther) const |
Private Attributes | |
| FOOTPRINT * | m_footprint |
This is the minimal equivalent to the SCH_REFERENCE so we can provide similar non-null guarantees throughout the data model.
Otherwise we'll end up passing in a raw FOOTPRINT* the data model row and we'll have to deal with the possibility of null pointers.
Definition at line 37 of file footprint_fields_data_model.h.
|
inlineexplicit |
Definition at line 40 of file footprint_fields_data_model.h.
References m_footprint.
Referenced by operator==().
|
inline |
Definition at line 45 of file footprint_fields_data_model.h.
References m_footprint.
Referenced by FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::getAttributeValue(), FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::getDataStoreKey(), FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::getFieldResolvedLiveValue(), FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::getItemIdentifier(), LIB_FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::getItemIdentifier(), LIB_FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::getLiveFieldValue(), FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::getLiveFieldValueForVariant(), FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::resolveTextVars(), and FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::setAttributeValue().
|
inline |
Definition at line 46 of file footprint_fields_data_model.h.
References FOOTPRINT_REF(), and m_footprint.
|
private |
Definition at line 49 of file footprint_fields_data_model.h.
Referenced by FOOTPRINT_REF(), GetFootprint(), and operator==().