KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_netlist.cpp File Reference
#include "pcb_netlist.h"
#include <wx/tokenzr.h>
#include <wx/log.h>
#include <footprint.h>
#include <richio.h>
#include <string_utils.h>
#include <algorithm>

Go to the source code of this file.

Functions

static KIID deriveGroupUuid (const wxString &aUuid)
 
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 450 of file pcb_netlist.cpp.

References COMPONENT::GetFPID().

◆ deriveGroupUuid()

static KIID deriveGroupUuid ( const wxString & aUuid)
static

Definition at line 334 of file pcb_netlist.cpp.

References KIID::FromName().

Referenced by NETLIST_GROUP::NETLIST_GROUP().

◆ operator<()

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

Compare two COMPONENT objects by reference designator.

Definition at line 465 of file pcb_netlist.cpp.

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