KiCad PCB EDA Suite
Loading...
Searching...
No Matches
LP_CACHE Struct Reference

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_LEGACYm_owner
 
wxString m_lib_path
 
FOOTPRINT_MAP m_footprints
 
bool m_writable
 
bool m_cache_dirty
 
long long m_cache_timestamp
 

Detailed Description

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 2960 of file pcb_io_kicad_legacy.cpp.

Constructor & Destructor Documentation

◆ LP_CACHE()

LP_CACHE::LP_CACHE ( PCB_IO_KICAD_LEGACY aOwner,
const wxString &  aLibraryPath 
)

Definition at line 2991 of file pcb_io_kicad_legacy.cpp.

Member Function Documentation

◆ GetTimestamp()

long long LP_CACHE::GetTimestamp ( const wxString &  aLibPath)
static

◆ IsModified()

bool LP_CACHE::IsModified ( )

◆ Load()

◆ LoadModules()

◆ ReadAndVerifyHeader()

void LP_CACHE::ReadAndVerifyHeader ( LINE_READER aReader)

◆ SkipIndex()

void LP_CACHE::SkipIndex ( LINE_READER aReader)

Definition at line 3061 of file pcb_io_kicad_legacy.cpp.

References exit, LINE_READER::Line(), LINE_READER::ReadLine(), and TESTLINE.

Referenced by Load().

Member Data Documentation

◆ m_cache_dirty

bool LP_CACHE::m_cache_dirty

Definition at line 2984 of file pcb_io_kicad_legacy.cpp.

Referenced by IsModified(), and Load().

◆ m_cache_timestamp

long long LP_CACHE::m_cache_timestamp

Definition at line 2986 of file pcb_io_kicad_legacy.cpp.

Referenced by IsModified(), and Load().

◆ m_footprints

◆ m_lib_path

wxString LP_CACHE::m_lib_path

◆ m_owner

PCB_IO_KICAD_LEGACY* LP_CACHE::m_owner

Definition at line 2979 of file pcb_io_kicad_legacy.cpp.

Referenced by LoadModules(), and ReadAndVerifyHeader().

◆ m_writable

bool LP_CACHE::m_writable

Definition at line 2982 of file pcb_io_kicad_legacy.cpp.

Referenced by PCB_IO_KICAD_LEGACY::IsLibraryWritable().


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