KiCad PCB EDA Suite
generate_alias_info.h File Reference
#include <wx/string.h>

Go to the source code of this file.

Functions

wxString GenerateAliasInfo (SYMBOL_LIB_TABLE *aSymLibTable, LIB_ID const &aLibId, int aUnit)
 Return an HTML page describing a LIB_ID in a SYMBOL_LIB_TABLE. More...
 

Function Documentation

wxString GenerateAliasInfo ( SYMBOL_LIB_TABLE aSymLibTable,
LIB_ID const &  aLibId,
int  aUnit 
)

Return an HTML page describing a LIB_ID in a SYMBOL_LIB_TABLE.

This is suitable for inclusion in a wxHtmlWindow.

Definition at line 222 of file generate_alias_info.cpp.

References FOOTPRINT_INFO_GENERATOR::GenerateHtml(), and FOOTPRINT_INFO_GENERATOR::GetHtml().

Referenced by SYMBOL_TREE_MODEL_ADAPTER::GenerateInfo().

223 {
224  FOOTPRINT_INFO_GENERATOR gen( aSymLibTable, aLibId, aUnit );
225  gen.GenerateHtml();
226  return gen.GetHtml();
227 }