KiCad PCB EDA Suite
Loading...
Searching...
No Matches
FOOTPRINT_INFO_GENERATOR Class Reference

Public Member Functions

 FOOTPRINT_INFO_GENERATOR (SYMBOL_LIB_TABLE *aSymbolLibTable, LIB_ID const &aLibId, int aUnit)
 
void GenerateHtml ()
 Generate the HTML internally.
 
wxString GetHtml () const
 Return the generated HTML.
 
 FOOTPRINT_INFO_GENERATOR (FP_LIB_TABLE *aFpLibTable, LIB_ID const &aLibId)
 
void GenerateHtml ()
 Generate the HTML internally.
 
wxString GetHtml ()
 Return the generated HTML.
 

Protected Member Functions

void SetHtmlName ()
 
void SetHtmlAliasOf ()
 
void SetHtmlDesc ()
 
void SetHtmlKeywords ()
 
wxString GetHtmlFieldRow (const SCH_FIELD &aField) const
 
void SetHtmlFieldTable ()
 

Private Attributes

wxString m_html
 
SYMBOL_LIB_TABLEm_sym_lib_table
 
LIB_ID const m_lib_id
 
LIB_SYMBOLm_symbol
 
int m_unit
 
FP_LIB_TABLEm_fp_lib_table
 
const FOOTPRINTm_footprint
 

Detailed Description

Definition at line 48 of file generate_alias_info.cpp.

Constructor & Destructor Documentation

◆ FOOTPRINT_INFO_GENERATOR() [1/2]

FOOTPRINT_INFO_GENERATOR::FOOTPRINT_INFO_GENERATOR ( SYMBOL_LIB_TABLE aSymbolLibTable,
LIB_ID const &  aLibId,
int  aUnit 
)
inline

Definition at line 57 of file generate_alias_info.cpp.

◆ FOOTPRINT_INFO_GENERATOR() [2/2]

FOOTPRINT_INFO_GENERATOR::FOOTPRINT_INFO_GENERATOR ( FP_LIB_TABLE aFpLibTable,
LIB_ID const &  aLibId 
)
inline

Definition at line 57 of file generate_footprint_info.cpp.

Member Function Documentation

◆ GenerateHtml() [1/2]

◆ GenerateHtml() [2/2]

◆ GetHtml() [1/2]

wxString FOOTPRINT_INFO_GENERATOR::GetHtml ( )
inline

Return the generated HTML.

Definition at line 158 of file generate_footprint_info.cpp.

References m_html.

◆ GetHtml() [2/2]

wxString FOOTPRINT_INFO_GENERATOR::GetHtml ( ) const
inline

Return the generated HTML.

Definition at line 101 of file generate_alias_info.cpp.

References m_html.

Referenced by GenerateAliasInfo(), and GenerateFootprintInfo().

◆ GetHtmlFieldRow()

◆ SetHtmlAliasOf()

void FOOTPRINT_INFO_GENERATOR::SetHtmlAliasOf ( )
inlineprotected

◆ SetHtmlDesc()

void FOOTPRINT_INFO_GENERATOR::SetHtmlDesc ( )
inlineprotected

◆ SetHtmlFieldTable()

void FOOTPRINT_INFO_GENERATOR::SetHtmlFieldTable ( )
inlineprotected

◆ SetHtmlKeywords()

void FOOTPRINT_INFO_GENERATOR::SetHtmlKeywords ( )
inlineprotected

Definition at line 153 of file generate_alias_info.cpp.

References EscapeHTML(), LIB_SYMBOL::GetKeyWords(), KeywordsFormat, m_html, and m_symbol.

Referenced by GenerateHtml().

◆ SetHtmlName()

void FOOTPRINT_INFO_GENERATOR::SetHtmlName ( )
inlineprotected

Definition at line 107 of file generate_alias_info.cpp.

References EscapeHTML(), LIB_SYMBOL::GetName(), m_html, m_symbol, and UnescapeString().

Referenced by GenerateHtml().

Member Data Documentation

◆ m_footprint

const FOOTPRINT* FOOTPRINT_INFO_GENERATOR::m_footprint
private

Definition at line 54 of file generate_footprint_info.cpp.

Referenced by GenerateHtml().

◆ m_fp_lib_table

FP_LIB_TABLE* FOOTPRINT_INFO_GENERATOR::m_fp_lib_table
private

Definition at line 51 of file generate_footprint_info.cpp.

Referenced by GenerateHtml().

◆ m_html

wxString FOOTPRINT_INFO_GENERATOR::m_html
private

◆ m_lib_id

LIB_ID const FOOTPRINT_INFO_GENERATOR::m_lib_id
private

Definition at line 52 of file generate_alias_info.cpp.

Referenced by GenerateHtml().

◆ m_sym_lib_table

SYMBOL_LIB_TABLE* FOOTPRINT_INFO_GENERATOR::m_sym_lib_table
private

Definition at line 51 of file generate_alias_info.cpp.

Referenced by GenerateHtml().

◆ m_symbol

LIB_SYMBOL* FOOTPRINT_INFO_GENERATOR::m_symbol
private

◆ m_unit

int FOOTPRINT_INFO_GENERATOR::m_unit
private

Definition at line 54 of file generate_alias_info.cpp.

Referenced by GetHtmlFieldRow().


The documentation for this class was generated from the following files: