20#ifndef _SYMBOL_LIBRARY_COMMON_H_
21#define _SYMBOL_LIBRARY_COMMON_H_
45 bool operator() (
const wxString& aItem1,
const wxString& aItem2 )
const
47 return aItem1 < aItem2;
71 void AddLib(
const wxString& aLibName )
122 static wxString
dummy;
Define a library symbol object.
A shim class between EDA_DRAW_FRAME and several derived classes: SYMBOL_EDIT_FRAME,...
Helper object to filter a list of libraries.
bool m_forceLoad
Force loading symbol from library m_allowedLibs[0].
void FilterPowerSymbols(bool aFilterEnable)
Enable or disable the filtering of power symbols.
bool GetFilterPowerSymbols() const
wxArrayString m_allowedLibs
List of filtered library names.
void ClearLibList()
Clear the allowed libraries list (allows all libraries).
void AddLib(const wxString &aLibName)
Add aLibName to the allowed libraries list.
void LoadFrom(const wxString &aLibName)
Add aLibName to the allowed libraries list.
const wxArrayString & GetAllowedLibList() const
bool m_filterPowerSymbols
Enable or disable power symbol filtering.
const wxString & GetLibSource() const
std::vector< FAB_LAYER_COLOR > dummy
Symbol library map sorting helper.Symbol library map sorted by the symbol name.
bool operator()(const wxString &aItem1, const wxString &aItem2) const
std::map< wxString, LIB_SYMBOL *, LibSymbolMapSort > LIB_SYMBOL_MAP