| 
    KiCad PCB EDA Suite
    
   | 
 
#include "tools/sch_inspection_tool.h"#include "dialog_change_symbols.h"#include <sch_symbol.h>#include <id.h>#include <kiway.h>#include <kiplatform/ui.h>#include <confirm.h>#include <string_utils.h>#include <gal/graphics_abstraction_layer.h>#include <tool/conditional_menu.h>#include <tool/selection_conditions.h>#include <tools/sch_actions.h>#include <tools/sch_selection_tool.h>#include <tools/sch_selection.h>#include <sim/simulator_frame.h>#include <sch_edit_frame.h>#include <symbol_edit_frame.h>#include <symbol_viewer_frame.h>#include <eda_doc.h>#include <sch_marker.h>#include <project.h>#include <project_sch.h>#include <dialogs/html_message_box.h>#include <dialogs/dialog_erc.h>#include <dialogs/dialog_book_reporter.h>#include <libraries/symbol_library_adapter.h>#include <widgets/wx_html_report_box.h>#include <widgets/symbol_diff_widget.h>#include <math/util.h>Go to the source code of this file.
Functions | |
| void | CheckLibSymbol (LIB_SYMBOL *aSymbol, std::vector< wxString > &aMessages, int aGridForPins, UNITS_PROVIDER *aUnitsProvider) | 
| Check a library symbol to find incorrect settings.   | |
      
  | 
  extern | 
Check a library symbol to find incorrect settings.
| aSymbol | is the library symbol to check. | 
| aMessages | is a room to store error messages. | 
| aGridForPins | (in IU) is the grid to test pin positions ( >= 25 mils ) should be 25, 50 or 100 mils (converted to IUs). | 
| aUnitsProvider | a frame to format coordinates in messages. | 
Definition at line 215 of file symbol_checker.cpp.
References _, CheckDuplicatePins(), CheckLibSymbolGraphics(), LIB_SYMBOL::GetBodyStyleDescription(), LIB_SYMBOL::GetPins(), LIB_SYMBOL::GetReferenceField(), EDA_TEXT::GetText(), LIB_SYMBOL::GetUnitCount(), LIB_SYMBOL::IsGlobalPower(), LIB_SYMBOL::IsMultiBodyStyle(), LIB_SYMBOL::IsPower(), UNITS_PROVIDER::MessageTextFromValue(), pin, PT_POWER_IN, PT_POWER_OUT, schIUScale, and sort_by_pin_number().
Referenced by SCH_INSPECTION_TOOL::CheckSymbol().