KiCad PCB EDA Suite
compare_labels Struct Reference

Public Member Functions

bool operator() (const NETLIST_OBJECT *lab1, const NETLIST_OBJECT *lab2)
 

Detailed Description

Definition at line 684 of file erc.cpp.

Member Function Documentation

bool compare_labels::operator() ( const NETLIST_OBJECT lab1,
const NETLIST_OBJECT lab2 
)
inline

Definition at line 686 of file erc.cpp.

References NETLIST_OBJECT::m_Label, NETLIST_OBJECT::m_SheetPath, and SCH_SHEET_PATH::Path().

687  {
688  wxString str1 = lab1->m_SheetPath.Path() + lab1->m_Label;
689  wxString str2 = lab2->m_SheetPath.Path() + lab2->m_Label;
690 
691  return str1.Cmp( str2 ) < 0;
692  }
SCH_SHEET_PATH m_SheetPath
wxString Path() const
Function Path the path uses the time stamps which do not changes even when editing sheet parameters a...

The documentation for this struct was generated from the following file: