KiCad PCB EDA Suite
NETCODE_CMP_LESS Struct Reference

Public Member Functions

bool operator() (const CN_ITEM *a, const CN_ITEM *b) const
 
bool operator() (const CN_ITEM *a, int b) const
 
bool operator() (int a, const CN_ITEM *b) const
 

Detailed Description

Definition at line 1215 of file dialog_net_inspector.cpp.

Member Function Documentation

◆ operator()() [1/3]

bool NETCODE_CMP_LESS::operator() ( const CN_ITEM a,
const CN_ITEM b 
) const
inline

Definition at line 1217 of file dialog_net_inspector.cpp.

1218 {
1219 return a->Net() < b->Net();
1220 }
int Net() const
allow parallel connection threads

References CN_ITEM::Net().

◆ operator()() [2/3]

bool NETCODE_CMP_LESS::operator() ( const CN_ITEM a,
int  b 
) const
inline

Definition at line 1222 of file dialog_net_inspector.cpp.

1223 {
1224 return a->Net() < b;
1225 }

References CN_ITEM::Net().

◆ operator()() [3/3]

bool NETCODE_CMP_LESS::operator() ( int  a,
const CN_ITEM b 
) const
inline

Definition at line 1227 of file dialog_net_inspector.cpp.

1228 {
1229 return a < b->Net();
1230 }

References CN_ITEM::Net().


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