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 626 of file erc.cpp.

Member Function Documentation

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

Definition at line 628 of file erc.cpp.

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

629  {
630  wxString str1 = lab1->m_SheetPath.Path() + lab1->m_Label;
631  wxString str2 = lab2->m_SheetPath.Path() + lab2->m_Label;
633  return str1.Cmp( str2 ) < 0;
634  }
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: