KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_netlist.cpp File Reference
#include <string_utils.h>
#include "pcb_netlist.h"
#include <footprint.h>

Go to the source code of this file.

Functions

static bool ByFPID (const COMPONENT &ref, const COMPONENT &cmp)
 A helper function used to sort the component list used by loadNewModules. More...
 
bool operator< (const COMPONENT &item1, const COMPONENT &item2)
 Compare two COMPONENT objects by reference designator. More...
 

Function Documentation

◆ ByFPID()

static bool ByFPID ( const COMPONENT ref,
const COMPONENT cmp 
)
static

A helper function used to sort the component list used by loadNewModules.

Definition at line 212 of file pcb_netlist.cpp.

References COMPONENT::GetFPID().

Referenced by NETLIST::SortByFPID().

◆ operator<()

bool operator< ( const COMPONENT item1,
const COMPONENT item2 
)

Compare two COMPONENT objects by reference designator.

Definition at line 227 of file pcb_netlist.cpp.

References COMPONENT::GetReference(), and StrNumCmp().