| 
    KiCad PCB EDA Suite
    
   | 
 
#include <footprint_info_impl.h>
  
Public Member Functions | |
| FOOTPRINT_INFO_IMPL (FOOTPRINT_LIST *aOwner, const wxString &aNickname, const wxString &aFootprintName) | |
| FOOTPRINT_INFO_IMPL (const wxString &aNickname, const wxString &aFootprintName, const wxString &aDescription, const wxString &aKeywords, int aOrderNum, unsigned int aPadCount, unsigned int aUniquePadCount) | |
| FOOTPRINT_INFO_IMPL (const wxString &aNickname, const wxString &aFootprintName) | |
| const wxString & | GetFootprintName () const | 
| wxString | GetLibNickname () const override | 
| wxString | GetName () const override | 
| int | GetPinCount () override | 
| The pin count for symbols or the unique pad count for footprints.   | |
| LIB_ID | GetLIB_ID () const override | 
| wxString | GetDesc () override | 
| wxString | GetKeywords () | 
| std::vector< SEARCH_TERM > | GetSearchTerms () override | 
| unsigned | GetPadCount () | 
| unsigned | GetUniquePadCount () | 
| int | GetOrderNum () | 
| bool | InLibrary (const wxString &aLibrary) const | 
| Test if the FOOTPRINT_INFO object was loaded from aLibrary.   | |
| virtual void | GetChooserFields (std::map< wxString, wxString > &aColumnMap) | 
| Retrieves a key/value map of the fields on this item that should be exposed to the library browser/chooser for displaying in columns, searching, etc.   | |
| virtual bool | IsRoot () const | 
| For items having aliases, IsRoot() indicates the principal item.   | |
| virtual wxString | GetFootprint () | 
| For items with footprint fields.   | |
| virtual int | GetSubUnitCount () const | 
| For items with units, return the number of units.   | |
| virtual wxString | GetUnitName (int aUnit) const | 
| For items with units, return an identifier for unit x.   | |
Protected Member Functions | |
| virtual void | load () override | 
| lazily load stuff not filled in by constructor. This may throw IO_ERRORS.   | |
| void | ensure_loaded () | 
Protected Attributes | |
| FOOTPRINT_LIST * | m_owner | 
| provides access to FP_LIB_TABLE   | |
| bool | m_loaded | 
| wxString | m_nickname | 
| library as known in FP_LIB_TABLE   | |
| wxString | m_fpname | 
| Module name.   | |
| int | m_num | 
| Order number in the display list.   | |
| unsigned | m_pad_count | 
| Number of pads.   | |
| unsigned | m_unique_pad_count | 
| Number of unique pads.   | |
| wxString | m_doc | 
| Footprint description.   | |
| wxString | m_keywords | 
| Footprint keywords.   | |
Definition at line 34 of file footprint_info_impl.h.
      
  | 
  inline | 
Definition at line 37 of file footprint_info_impl.h.
References load(), FOOTPRINT_INFO::m_fpname, FOOTPRINT_INFO::m_loaded, FOOTPRINT_INFO::m_nickname, FOOTPRINT_INFO::m_num, FOOTPRINT_INFO::m_owner, FOOTPRINT_INFO::m_pad_count, and FOOTPRINT_INFO::m_unique_pad_count.
      
  | 
  inline | 
Definition at line 51 of file footprint_info_impl.h.
References FOOTPRINT_INFO::m_doc, FOOTPRINT_INFO::m_fpname, FOOTPRINT_INFO::m_keywords, FOOTPRINT_INFO::m_loaded, FOOTPRINT_INFO::m_nickname, FOOTPRINT_INFO::m_num, FOOTPRINT_INFO::m_owner, FOOTPRINT_INFO::m_pad_count, and FOOTPRINT_INFO::m_unique_pad_count.
      
  | 
  inline | 
Definition at line 69 of file footprint_info_impl.h.
References FOOTPRINT_INFO::m_fpname, FOOTPRINT_INFO::m_loaded, FOOTPRINT_INFO::m_nickname, and FOOTPRINT_INFO::m_owner.
      
  | 
  inlineprotectedinherited | 
Definition at line 130 of file footprint_info.h.
References load(), and m_loaded.
Referenced by GetDesc(), GetKeywords(), GetOrderNum(), GetPadCount(), and GetUniquePadCount().
      
  | 
  inlinevirtualinherited | 
Retrieves a key/value map of the fields on this item that should be exposed to the library browser/chooser for displaying in columns, searching, etc.
Reimplemented in LIB_SYMBOL.
Definition at line 57 of file lib_tree_item.h.
Referenced by LIB_TREE_NODE_ITEM::LIB_TREE_NODE_ITEM(), and LIB_TREE_NODE_ITEM::Update().
      
  | 
  inlineoverridevirtualinherited | 
Implements LIB_TREE_ITEM.
Definition at line 82 of file footprint_info.h.
References ensure_loaded(), and m_doc.
Referenced by CVPCB_MAINFRAME::DisplayStatus(), and GetSearchTerms().
      
  | 
  inlinevirtualinherited | 
For items with footprint fields.
Reimplemented in LIB_SYMBOL.
Definition at line 69 of file lib_tree_item.h.
Referenced by LIB_TREE_NODE_ITEM::LIB_TREE_NODE_ITEM().
      
  | 
  inlineinherited | 
Definition at line 69 of file footprint_info.h.
References m_fpname.
Referenced by CVPCB_MAINFRAME::AutomaticFootprintMatching(), and FOOTPRINT_FILTER::ITERATOR::FootprintFilterMatch().
      
  | 
  inlineinherited | 
Definition at line 88 of file footprint_info.h.
References ensure_loaded(), and m_keywords.
Referenced by CVPCB_MAINFRAME::DisplayStatus(), and GetSearchTerms().
      
  | 
  inlineoverridevirtualinherited | 
Implements LIB_TREE_ITEM.
Definition at line 77 of file footprint_info.h.
References m_fpname, and m_nickname.
Referenced by GetSearchTerms().
      
  | 
  inlineoverridevirtualinherited | 
Implements LIB_TREE_ITEM.
Definition at line 71 of file footprint_info.h.
References m_nickname.
Referenced by CVPCB_MAINFRAME::DisplayStatus(), FOOTPRINT_FILTER::ITERATOR::FootprintFilterMatch(), GetSearchTerms(), and DISPLAY_FOOTPRINTS_FRAME::InitDisplay().
      
  | 
  inlineoverridevirtualinherited | 
Implements LIB_TREE_ITEM.
Definition at line 73 of file footprint_info.h.
References m_fpname.
Referenced by GetSearchTerms().
      
  | 
  inlineinherited | 
Definition at line 108 of file footprint_info.h.
References ensure_loaded(), and m_num.
      
  | 
  inlineinherited | 
Definition at line 96 of file footprint_info.h.
References ensure_loaded(), and m_pad_count.
      
  | 
  inlineoverridevirtualinherited | 
The pin count for symbols or the unique pad count for footprints.
Reimplemented from LIB_TREE_ITEM.
Definition at line 75 of file footprint_info.h.
References GetUniquePadCount().
      
  | 
  overridevirtualinherited | 
Reimplemented from LIB_TREE_ITEM.
Definition at line 73 of file footprint_info.cpp.
References Format(), GetDesc(), GetKeywords(), GetLIB_ID(), GetLibNickname(), and GetName().
Referenced by FOOTPRINT_FILTER::ITERATOR::increment().
      
  | 
  inlinevirtualinherited | 
For items with units, return the number of units.
Reimplemented in LIB_SYMBOL.
Definition at line 79 of file lib_tree_item.h.
Referenced by LIB_TREE_NODE_ITEM::LIB_TREE_NODE_ITEM(), and LIB_TREE_NODE_ITEM::Update().
      
  | 
  inlineinherited | 
Definition at line 102 of file footprint_info.h.
References ensure_loaded(), and m_unique_pad_count.
Referenced by GetPinCount(), and FOOTPRINT_FILTER::ITERATOR::PinCountMatch().
      
  | 
  inlinevirtualinherited | 
For items with units, return an identifier for unit x.
Reimplemented in LIB_SYMBOL.
Definition at line 84 of file lib_tree_item.h.
Referenced by LIB_TREE_NODE_UNIT::LIB_TREE_NODE_UNIT().
      
  | 
  inherited | 
Test if the FOOTPRINT_INFO object was loaded from aLibrary.
| aLibrary | is the nickname of the library to test. | 
Definition at line 94 of file footprint_info.cpp.
References m_nickname.
Referenced by FOOTPRINT_FILTER::ITERATOR::increment().
      
  | 
  inlinevirtualinherited | 
For items having aliases, IsRoot() indicates the principal item.
Reimplemented in LIB_SYMBOL.
Definition at line 64 of file lib_tree_item.h.
Referenced by LIB_TREE_NODE_ITEM::LIB_TREE_NODE_ITEM(), and LIB_TREE_NODE_ITEM::Update().
      
  | 
  overrideprotectedvirtual | 
lazily load stuff not filled in by constructor. This may throw IO_ERRORS.
Reimplemented from FOOTPRINT_INFO.
Definition at line 43 of file footprint_info_impl.cpp.
References DO_NOT_INCLUDE_NPTH, FP_LIB_TABLE::GetEnumeratedFootprint(), FOOTPRINT::GetKeywords(), FOOTPRINT::GetLibDescription(), FOOTPRINT::GetPadCount(), FOOTPRINT::GetUniquePadCount(), FOOTPRINT_INFO::m_doc, FOOTPRINT_INFO::m_fpname, FOOTPRINT_INFO::m_keywords, FOOTPRINT_INFO::m_loaded, FOOTPRINT_INFO::m_nickname, FOOTPRINT_INFO::m_owner, FOOTPRINT_INFO::m_pad_count, and FOOTPRINT_INFO::m_unique_pad_count.
Referenced by FOOTPRINT_INFO_IMPL().
      
  | 
  protectedinherited | 
Footprint description.
Definition at line 148 of file footprint_info.h.
Referenced by BASIC_FOOTPRINT_INFO::BASIC_FOOTPRINT_INFO(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), GetDesc(), and FOOTPRINT_INFO_IMPL::load().
      
  | 
  protectedinherited | 
Module name.
Definition at line 144 of file footprint_info.h.
Referenced by BASIC_FOOTPRINT_INFO::BASIC_FOOTPRINT_INFO(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), GetFootprintName(), GetLIB_ID(), GetName(), FOOTPRINT_INFO_IMPL::load(), and operator<.
      
  | 
  protectedinherited | 
Footprint keywords.
Definition at line 149 of file footprint_info.h.
Referenced by BASIC_FOOTPRINT_INFO::BASIC_FOOTPRINT_INFO(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), GetKeywords(), and FOOTPRINT_INFO_IMPL::load().
      
  | 
  protectedinherited | 
Definition at line 141 of file footprint_info.h.
Referenced by BASIC_FOOTPRINT_INFO::BASIC_FOOTPRINT_INFO(), ensure_loaded(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), and FOOTPRINT_INFO_IMPL::load().
      
  | 
  protectedinherited | 
library as known in FP_LIB_TABLE
Definition at line 143 of file footprint_info.h.
Referenced by BASIC_FOOTPRINT_INFO::BASIC_FOOTPRINT_INFO(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), GetLIB_ID(), GetLibNickname(), InLibrary(), FOOTPRINT_INFO_IMPL::load(), and operator<.
      
  | 
  protectedinherited | 
Order number in the display list.
Definition at line 145 of file footprint_info.h.
Referenced by FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), and GetOrderNum().
      
  | 
  protectedinherited | 
provides access to FP_LIB_TABLE
Definition at line 139 of file footprint_info.h.
Referenced by FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), and FOOTPRINT_INFO_IMPL::load().
      
  | 
  protectedinherited | 
Number of pads.
Definition at line 146 of file footprint_info.h.
Referenced by BASIC_FOOTPRINT_INFO::BASIC_FOOTPRINT_INFO(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), GetPadCount(), and FOOTPRINT_INFO_IMPL::load().
      
  | 
  protectedinherited | 
Number of unique pads.
Definition at line 147 of file footprint_info.h.
Referenced by BASIC_FOOTPRINT_INFO::BASIC_FOOTPRINT_INFO(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), FOOTPRINT_INFO_IMPL::FOOTPRINT_INFO_IMPL(), GetUniquePadCount(), and FOOTPRINT_INFO_IMPL::load().