KiCad PCB EDA Suite
|
Helper class for creating a footprint library cache. More...
#include <pcb_io_kicad_sexpr.h>
Public Member Functions | |
FP_CACHE_ITEM (FOOTPRINT *aFootprint, const WX_FILENAME &aFileName) | |
const WX_FILENAME & | GetFileName () const |
void | SetFilePath (const wxString &aFilePath) |
const FOOTPRINT * | GetFootprint () const |
Private Attributes | |
WX_FILENAME | m_filename |
std::unique_ptr< FOOTPRINT > | m_footprint |
Helper class for creating a footprint library cache.
The new footprint library design is a file path of individual footprint files that contain a single footprint per file. This class is a helper only for the footprint portion of the PLUGIN API, and only for the #PCB_PLUGIN plugin. It is private to this implementation file so it is not placed into a header.
Definition at line 202 of file pcb_io_kicad_sexpr.h.
FP_CACHE_ITEM::FP_CACHE_ITEM | ( | FOOTPRINT * | aFootprint, |
const WX_FILENAME & | aFileName | ||
) |
Definition at line 79 of file pcb_io_kicad_sexpr.cpp.
|
inline |
Definition at line 210 of file pcb_io_kicad_sexpr.h.
References m_filename.
|
inline |
Definition at line 212 of file pcb_io_kicad_sexpr.h.
References m_footprint.
|
inline |
Definition at line 211 of file pcb_io_kicad_sexpr.h.
References m_filename, and WX_FILENAME::SetPath().
|
private |
Definition at line 204 of file pcb_io_kicad_sexpr.h.
Referenced by GetFileName(), and SetFilePath().
|
private |
Definition at line 205 of file pcb_io_kicad_sexpr.h.
Referenced by GetFootprint().