KiCad PCB EDA Suite
|
#include <kiface_base.h>
#include <env_vars.h>
#include <lib_id.h>
#include <lib_table_lexer.h>
#include <paths.h>
#include <pgm_base.h>
#include <search_stack.h>
#include <settings/kicad_settings.h>
#include <settings/settings_manager.h>
#include <systemdirsappend.h>
#include <wildcards_and_files_ext.h>
#include <design_block_info.h>
#include <design_block_lib_table.h>
#include <design_block.h>
#include <wx/dir.h>
#include <wx/hash.h>
Go to the source code of this file.
Classes | |
class | PCM_DESIGN_BLOCK_LIB_TRAVERSER |
Macros | |
#define | OPT_SEP '|' |
options separator character | |
Functions | |
static void | setLibNickname (DESIGN_BLOCK *aModule, const wxString &aNickname, const wxString &aDesignBlockName) |
Variables | |
DESIGN_BLOCK_LIB_TABLE | GDesignBlockTable |
The global design block library table. | |
DESIGN_BLOCK_LIST_IMPL | GDesignBlockList |
The global footprint info table. | |
static const wxChar | global_tbl_name [] = wxT( "design-block-lib-table" ) |
#define OPT_SEP '|' |
options separator character
Definition at line 43 of file design_block_lib_table.cpp.
|
static |
Definition at line 351 of file design_block_lib_table.cpp.
References DESIGN_BLOCK::GetLibId(), LIB_ID::GetLibItemName(), LIB_ID::GetLibNickname(), LIB_ID::SetLibNickname(), UTF8::size(), and UTF8::wx_str().
Referenced by DESIGN_BLOCK_LIB_TABLE::DesignBlockLoad(), and FP_LIB_TABLE::FootprintLoad().
DESIGN_BLOCK_LIST_IMPL GDesignBlockList |
The global footprint info table.
This is performance-intensive to build so we keep a hash-stamped global version. Any deviation from the request vs. stored hash will result in it being rebuilt.
Definition at line 53 of file design_block_lib_table.cpp.
Referenced by DESIGN_BLOCK_LIB_TABLE::GetGlobalList().
DESIGN_BLOCK_LIB_TABLE GDesignBlockTable |
The global design block library table.
This is not dynamically allocated because in a multiple project environment we must keep its address constant (since it is the fallback table for multiple projects).
Definition at line 48 of file design_block_lib_table.cpp.
Referenced by DESIGN_BLOCK_LIB_TABLE::GetGlobalLibTable().
|
static |
Definition at line 59 of file design_block_lib_table.cpp.
Referenced by SYMBOL_LIB_TABLE::GetGlobalTableFileName(), DESIGN_BLOCK_LIB_TABLE::GetGlobalTableFileName(), FP_LIB_TABLE::GetGlobalTableFileName(), SYMBOL_LIB_TABLE::GetSymbolLibTableFileName(), DESIGN_BLOCK_LIB_TABLE::LoadGlobalTable(), FP_LIB_TABLE::LoadGlobalTable(), and SYMBOL_LIB_TABLE::LoadGlobalTable().