| 
    KiCad PCB EDA Suite
    
   | 
 
#include <sch_draw_panel.h>#include <libraries/legacy_symbol_library.h>#include <confirm.h>#include <connection_graph.h>#include <invoke_sch_dialog.h>#include <kiway.h>#include <symbol_viewer_frame.h>#include <project_rescue.h>#include <project_sch.h>#include <sch_edit_frame.h>#include <string_utils.h>#include <wildcards_and_files_ext.h>#include <wx/msgdlg.h>#include <cctype>#include <map>#include <pgm_base.h>#include <libraries/symbol_library_adapter.h>Go to the source code of this file.
Functions | |
| static bool | sort_by_libid (const SCH_SYMBOL *ref, SCH_SYMBOL *cmp) | 
| static void | getSymbols (SCHEMATIC *aSchematic, std::vector< SCH_SYMBOL * > &aSymbols) | 
| Fill a vector with all of the project's symbols, to ease iterating over them.   | |
| static LIB_SYMBOL * | findSymbol (const wxString &aName, LEGACY_SYMBOL_LIBS *aLibs, bool aCached) | 
| Search the libraries for the first symbol with a given name.   | |
| static wxFileName | GetRescueLibraryFileName (SCHEMATIC *aSchematic) | 
      
  | 
  static | 
Search the libraries for the first symbol with a given name.
| aName | - name to search for | 
| aLibs | - the loaded SYMBOL_LIBS | 
| aCached | - whether we are looking for the cached symbol | 
Definition at line 87 of file project_rescue.cpp.
Referenced by RESCUE_CACHE_CANDIDATE::FindRescues(), and RESCUE_SYMBOL_LIB_TABLE_CANDIDATE::FindRescues().
      
  | 
  static | 
Definition at line 109 of file project_rescue.cpp.
References SCHEMATIC::GetFileName(), and FILEEXT::LegacySymbolLibFileExtension.
Referenced by RESCUE_SYMBOL_LIB_TABLE_CANDIDATE::FindRescues(), LEGACY_RESCUER::OpenRescueLibrary(), SYMBOL_LIB_TABLE_RESCUER::OpenRescueLibrary(), and SYMBOL_LIB_TABLE_RESCUER::WriteRescueLibrary().
      
  | 
  static | 
Fill a vector with all of the project's symbols, to ease iterating over them.
The list is sorted by LIB_ID, therefore symbols using the same library symbol are grouped, allowing later faster calculations (one library search by group of symbols)
| aSymbols | is a vector that will take the symbols. | 
Definition at line 61 of file project_rescue.cpp.
References SCH_SCREENS::GetFirst(), SCH_SCREENS::GetNext(), SCHEMATIC::Root(), SCH_SYMBOL_T, and sort_by_libid().
Referenced by RESCUER::RESCUER().
      
  | 
  static | 
Definition at line 46 of file project_rescue.cpp.
References SCH_SYMBOL::GetLibId().