KiCad PCB EDA Suite
|
The footprint portion of the PLUGIN API, and only for the PCB_IO_KICAD_LEGACY, so therefore is private to this implementation file, i.e. More...
Public Member Functions | |
LP_CACHE (PCB_IO_KICAD_LEGACY *aOwner, const wxString &aLibraryPath) | |
void | Load () |
void | ReadAndVerifyHeader (LINE_READER *aReader) |
void | SkipIndex (LINE_READER *aReader) |
void | LoadModules (LINE_READER *aReader) |
bool | IsModified () |
Static Public Member Functions | |
static long long | GetTimestamp (const wxString &aLibPath) |
Public Attributes | |
PCB_IO_KICAD_LEGACY * | m_owner |
wxString | m_lib_path |
FOOTPRINT_MAP | m_footprints |
bool | m_writable |
bool | m_cache_dirty |
long long | m_cache_timestamp |
The footprint portion of the PLUGIN API, and only for the PCB_IO_KICAD_LEGACY, so therefore is private to this implementation file, i.e.
not placed into a header.
Definition at line 3002 of file pcb_io_kicad_legacy.cpp.
LP_CACHE::LP_CACHE | ( | PCB_IO_KICAD_LEGACY * | aOwner, |
const wxString & | aLibraryPath ) |
Definition at line 3033 of file pcb_io_kicad_legacy.cpp.
References m_cache_dirty, m_cache_timestamp, m_lib_path, m_owner, and m_writable.
|
static |
Definition at line 3051 of file pcb_io_kicad_legacy.cpp.
Referenced by PCB_IO_KICAD_LEGACY::GetLibraryTimestamp(), IsModified(), and Load().
bool LP_CACHE::IsModified | ( | ) |
Definition at line 3043 of file pcb_io_kicad_legacy.cpp.
References GetTimestamp(), m_cache_dirty, m_cache_timestamp, and m_lib_path.
void LP_CACHE::Load | ( | ) |
Definition at line 3062 of file pcb_io_kicad_legacy.cpp.
References GetTimestamp(), LoadModules(), m_cache_dirty, m_cache_timestamp, m_lib_path, ReadAndVerifyHeader(), and SkipIndex().
void LP_CACHE::LoadModules | ( | LINE_READER * | aReader | ) |
Definition at line 3139 of file pcb_io_kicad_legacy.cpp.
References LINE_READER::Line(), m_footprints, m_owner, LINE_READER::ReadLine(), ReplaceIllegalFileNameChars(), FOOTPRINT::SetFPID(), StrPurge(), SZ, and TESTLINE.
Referenced by Load().
void LP_CACHE::ReadAndVerifyHeader | ( | LINE_READER * | aReader | ) |
Definition at line 3079 of file pcb_io_kicad_legacy.cpp.
References _, delims, m_lib_path, m_owner, pcbIUScale, LINE_READER::ReadLine(), SZ, TESTLINE, and THROW_IO_ERROR.
Referenced by Load().
void LP_CACHE::SkipIndex | ( | LINE_READER * | aReader | ) |
Definition at line 3108 of file pcb_io_kicad_legacy.cpp.
References exit, LINE_READER::Line(), LINE_READER::ReadLine(), and TESTLINE.
Referenced by Load().
bool LP_CACHE::m_cache_dirty |
Definition at line 3026 of file pcb_io_kicad_legacy.cpp.
Referenced by IsModified(), Load(), and LP_CACHE().
long long LP_CACHE::m_cache_timestamp |
Definition at line 3028 of file pcb_io_kicad_legacy.cpp.
Referenced by IsModified(), Load(), and LP_CACHE().
FOOTPRINT_MAP LP_CACHE::m_footprints |
Definition at line 3023 of file pcb_io_kicad_legacy.cpp.
Referenced by LoadModules().
wxString LP_CACHE::m_lib_path |
Definition at line 3022 of file pcb_io_kicad_legacy.cpp.
Referenced by IsModified(), Load(), LP_CACHE(), and ReadAndVerifyHeader().
PCB_IO_KICAD_LEGACY* LP_CACHE::m_owner |
Definition at line 3021 of file pcb_io_kicad_legacy.cpp.
Referenced by LoadModules(), LP_CACHE(), and ReadAndVerifyHeader().
bool LP_CACHE::m_writable |
Definition at line 3024 of file pcb_io_kicad_legacy.cpp.
Referenced by LP_CACHE().