KiCad PCB EDA Suite
compare_paths Struct Reference

Public Member Functions

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

Detailed Description

Definition at line 604 of file eeschema/erc.cpp.

Member Function Documentation

◆ operator()()

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

Definition at line 606 of file eeschema/erc.cpp.

607  {
608  return lab1->m_SheetPath.Path() < lab2->m_SheetPath.Path();
609  }
KIID_PATH Path() const
Get the sheet path as an KIID_PATH.

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

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