KiCad PCB EDA Suite
|
Helper object to filter a list of libraries. More...
#include <symbol_library_common.h>
Public Member Functions | |
SYMBOL_LIBRARY_FILTER () | |
void | AddLib (const wxString &aLibName) |
Add aLibName to the allowed libraries list. | |
void | LoadFrom (const wxString &aLibName) |
Add aLibName to the allowed libraries list. | |
void | ClearLibList () |
Clear the allowed libraries list (allows all libraries). | |
void | FilterPowerSymbols (bool aFilterEnable) |
Enable or disable the filtering of power symbols. | |
bool | GetFilterPowerSymbols () const |
const wxArrayString & | GetAllowedLibList () const |
const wxString & | GetLibSource () const |
Private Attributes | |
wxArrayString | m_allowedLibs |
List of filtered library names. | |
bool | m_filterPowerSymbols |
Enable or disable power symbol filtering. | |
bool | m_forceLoad |
Force loading symbol from library m_allowedLibs[0]. | |
Helper object to filter a list of libraries.
Definition at line 59 of file symbol_library_common.h.
|
inline |
Definition at line 62 of file symbol_library_common.h.
References m_filterPowerSymbols, and m_forceLoad.
|
inline |
Add aLibName to the allowed libraries list.
Definition at line 71 of file symbol_library_common.h.
References m_allowedLibs, and m_forceLoad.
|
inline |
Clear the allowed libraries list (allows all libraries).
Definition at line 91 of file symbol_library_common.h.
References m_allowedLibs, and m_forceLoad.
|
inline |
Enable or disable the filtering of power symbols.
Definition at line 100 of file symbol_library_common.h.
References m_filterPowerSymbols.
|
inline |
Definition at line 114 of file symbol_library_common.h.
References m_allowedLibs.
Referenced by PANEL_SYMBOL_CHOOSER::PANEL_SYMBOL_CHOOSER().
|
inline |
Definition at line 108 of file symbol_library_common.h.
References m_filterPowerSymbols.
Referenced by DIALOG_SYMBOL_CHOOSER::DIALOG_SYMBOL_CHOOSER(), and PANEL_SYMBOL_CHOOSER::PANEL_SYMBOL_CHOOSER().
|
inline |
Definition at line 120 of file symbol_library_common.h.
References dummy, m_allowedLibs, and m_forceLoad.
|
inline |
Add aLibName to the allowed libraries list.
Definition at line 81 of file symbol_library_common.h.
References m_allowedLibs, and m_forceLoad.
|
private |
List of filtered library names.
Definition at line 131 of file symbol_library_common.h.
Referenced by AddLib(), ClearLibList(), GetAllowedLibList(), GetLibSource(), and LoadFrom().
|
private |
Enable or disable power symbol filtering.
Definition at line 132 of file symbol_library_common.h.
Referenced by FilterPowerSymbols(), GetFilterPowerSymbols(), and SYMBOL_LIBRARY_FILTER().
|
private |
Force loading symbol from library m_allowedLibs[0].
Definition at line 133 of file symbol_library_common.h.
Referenced by AddLib(), ClearLibList(), GetLibSource(), LoadFrom(), and SYMBOL_LIBRARY_FILTER().