KiCad PCB EDA Suite
class_netinfolist.cpp File Reference
#include <fctsys.h>
#include <gr_basic.h>
#include <common.h>
#include <class_drawpanel.h>
#include <macros.h>
#include <pcbnew.h>
#include <class_board.h>
#include <class_module.h>
#include <class_pad.h>
#include <class_track.h>
#include <class_zone.h>
#include <class_netinfo.h>

Go to the source code of this file.

Functions

static bool padlistSortByNetnames (const D_PAD *a, const D_PAD *b)
 

Function Documentation

static bool padlistSortByNetnames ( const D_PAD a,
const D_PAD b 
)
static

Definition at line 179 of file class_netinfolist.cpp.

References BOARD_CONNECTED_ITEM::GetNetname().

Referenced by NETINFO_LIST::buildPadsFullList().

180 {
181  return ( a->GetNetname().Cmp( b->GetNetname() ) ) < 0;
182 }
const wxString & GetNetname() const
Function GetNetname.