KiCad PCB EDA Suite
Loading...
Searching...
No Matches
FOOTPRINT_REF Class Reference

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)
 
FOOTPRINTGetFootprint () const
 
bool operator== (const FOOTPRINT_REF &aOther) const
 

Private Attributes

FOOTPRINTm_footprint
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FOOTPRINT_REF()

FOOTPRINT_REF::FOOTPRINT_REF ( FOOTPRINT & aFootprint)
inlineexplicit

Definition at line 40 of file footprint_fields_data_model.h.

References m_footprint.

Referenced by operator==().

Member Function Documentation

◆ GetFootprint()

◆ operator==()

bool FOOTPRINT_REF::operator== ( const FOOTPRINT_REF & aOther) const
inline

Definition at line 46 of file footprint_fields_data_model.h.

References FOOTPRINT_REF(), and m_footprint.

Member Data Documentation

◆ m_footprint

FOOTPRINT* FOOTPRINT_REF::m_footprint
private

Definition at line 49 of file footprint_fields_data_model.h.

Referenced by FOOTPRINT_REF(), GetFootprint(), and operator==().


The documentation for this class was generated from the following file: