KiCad PCB EDA Suite
dialog_footprint_properties.cpp File Reference

Go to the source code of this file.

Functions

bool allPadsLocked (FOOTPRINT *aFootprint)
 

Function Documentation

◆ allPadsLocked()

bool allPadsLocked ( FOOTPRINT aFootprint)

Definition at line 242 of file dialog_footprint_properties.cpp.

243 {
244  for( PAD* pad : aFootprint->Pads() )
245  {
246  if( !pad->IsLocked() )
247  return false;
248  }
249 
250  return true;
251 }
PADS & Pads()
Definition: footprint.h:168
Definition: pad.h:57

References pad, and FOOTPRINT::Pads().