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 246 of file dialog_select_net_from_list.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 248 of file dialog_select_net_from_list.cpp.

249  {
250  return a->Net() < b->Net();
251  }
int Net() const

References CN_ITEM::Net().

◆ operator()() [2/3]

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

Definition at line 253 of file dialog_select_net_from_list.cpp.

254  {
255  return a->Net() < b;
256  }
int Net() const

References CN_ITEM::Net().

◆ operator()() [3/3]

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

Definition at line 258 of file dialog_select_net_from_list.cpp.

259  {
260  return a < b->Net();
261  }
int Net() const

References CN_ITEM::Net().


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