26#include <wx/translation.h>
144 if( !front.has_value() )
146 else if( front.value() )
151 if( !back.has_value() )
156 else if( back.value() )
176 if( !drill.has_value() )
202 if( configuration ==
config )
212 switch( aProtection )
241 switch( aProtection )
MASK_LAYER_PROPS & FrontOuterLayers()
MASK_LAYER_PROPS & BackOuterLayers()
const PADSTACK & Padstack() const
const std::map< IPC4761_PRESET, IPC4761_CONFIGURATION > m_IPC4761Presets
void setSurfaceProtection(std::optional< bool > &aFront, std::optional< bool > &aBack, IPC4761_SURFACE aProtection)
IPC4761_DRILL getProtectionDrill(const std::optional< bool > &drill)
IPC4761_PRESET getViaConfiguration(const PCB_VIA *aVia)
IPC4761_SURFACE getProtectionSurface(const std::optional< bool > &front, const std::optional< bool > &back)
const std::map< IPC4761_PRESET, wxString > m_IPC4761Names
void setViaConfiguration(PCB_VIA *aVia, const IPC4761_PRESET &aPreset)
void setDrillProtection(std::optional< bool > &aDrill, IPC4761_DRILL aProtection)
std::optional< bool > is_capped
True if the drill hole should be capped.
std::optional< bool > is_filled
True if the drill hole should be filled completely.
std::optional< bool > has_covering
True if the pad on this side should have covering.
std::optional< bool > has_solder_mask
True if this outer layer has mask (is not tented)
std::optional< bool > has_plugging
True if the drill hole should be plugged on this side.
bool operator==(const IPC4761_CONFIGURATION &other) const