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

Member Function Documentation

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

Definition at line 620 of file erc.cpp.

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

621  {
622  wxString str1 = lab1->m_SheetPath.Path() + lab1->m_Label;
623  wxString str2 = lab2->m_SheetPath.Path() + lab2->m_Label;
624 
625  return str1.Cmp( str2 ) < 0;
626  }
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: