29#ifndef FOOTPRINT_INFO_H_
30#define FOOTPRINT_INFO_H_
33#include <boost/ptr_container/ptr_vector.hpp>
47class wxTopLevelWindow;
73 wxString
GetName()
const override {
return m_fpname; }
79 return LIB_ID( m_nickname, m_fpname );
105 return m_unique_pad_count;
122 bool InLibrary(
const wxString& aLibrary )
const;
164 m_lib_table( nullptr )
180 return m_list.size();
184 const std::vector<std::unique_ptr<FOOTPRINT_INFO>>&
GetList()
const
197 FOOTPRINT_INFO* GetFootprintInfo(
const wxString& aFootprintName );
203 const wxString& aFootprintName );
213 return *m_list[aIdx];
218 return m_errors.size();
223 std::unique_ptr<IO_ERROR> error;
225 m_errors.pop( error );
244 void DisplayErrors( wxTopLevelWindow* aCaller =
nullptr );
263 std::vector<std::unique_ptr<FOOTPRINT_INFO>>
m_list;
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...
A logical library item identifier and consists of various portions much like a URI.
A mix-in to provide polymorphism between items stored in libraries (symbols, aliases and footprints).
virtual std::vector< SEARCH_TERM > GetSearchTerms()
A progress reporter interface for use in multi-threaded environments.
Synchronized, locking queue.
bool operator<(const DESIGN_BLOCK_INFO &lhs, const DESIGN_BLOCK_INFO &rhs)
#define APIEXPORT
Macros which export functions from a DLL/DSO.