KiCad PCB EDA Suite
class_board_stackup.cpp File Reference

Go to the source code of this file.

Functions

bool IsPrmSpecified (const wxString &aPrmValue)
 

Function Documentation

◆ IsPrmSpecified()

bool IsPrmSpecified ( const wxString &  aPrmValue)
Returns
true if the param value is specified: not empty not NotSpecifiedPrm() value or its translation

Definition at line 704 of file class_board_stackup.cpp.

705 {
706  // return true if the param value is specified:
707 
708  if( !aPrmValue.IsEmpty()
709  && ( aPrmValue.CmpNoCase( NotSpecifiedPrm() ) != 0 )
710  && aPrmValue != wxGetTranslation( NotSpecifiedPrm() ) )
711  return true;
712 
713  return false;
714 }
wxString NotSpecifiedPrm()

References NotSpecifiedPrm().

Referenced by GERBER_JOBFILE_WRITER::addJSONMaterialStackup(), PANEL_SETUP_BOARD_STACKUP::addMaterialChooser(), BOARD_STACKUP::FormatBoardStackup(), BOARD_STACKUP_ITEM::HasMaterialValue(), PANEL_SETUP_BOARD_STACKUP::synchronizeWithBoard(), and PANEL_SETUP_BOARD_STACKUP::transferDataFromUIToStackup().