KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_netlist.cpp File Reference
#include "pcb_netlist.h"
#include <footprint.h>
#include <richio.h>
#include <string_utils.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.
 
bool operator< (const COMPONENT &item1, const COMPONENT &item2)
 Compare two COMPONENT objects by reference designator.
 

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 214 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 229 of file pcb_netlist.cpp.

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