KiCad PCB EDA Suite
INPUT_LAYER_DESC Struct Reference

Describes an imported layer and how it could be mapped to KiCad Layers. More...

#include <plugin_common_layer_mapping.h>

Public Member Functions

 INPUT_LAYER_DESC ()
 

Public Attributes

wxString Name
 Imported layer name as displayed in original application. More...
 
LSET PermittedLayers
 KiCad layers that the imported layer can be mapped onto. More...
 
PCB_LAYER_ID AutoMapLayer
 Best guess as to what the equivalent KiCad layer might be. More...
 
bool Required
 Should we require the layer to be assigned? More...
 

Detailed Description

Describes an imported layer and how it could be mapped to KiCad Layers.

Definition at line 33 of file plugin_common_layer_mapping.h.

Constructor & Destructor Documentation

◆ INPUT_LAYER_DESC()

INPUT_LAYER_DESC::INPUT_LAYER_DESC ( )
inline

Definition at line 40 of file plugin_common_layer_mapping.h.

41  : Name( wxEmptyString ),
44  Required( true )
45  {
46  }
LSET PermittedLayers
KiCad layers that the imported layer can be mapped onto.
bool Required
Should we require the layer to be assigned?
wxString Name
Imported layer name as displayed in original application.
PCB_LAYER_ID AutoMapLayer
Best guess as to what the equivalent KiCad layer might be.

Member Data Documentation

◆ AutoMapLayer

PCB_LAYER_ID INPUT_LAYER_DESC::AutoMapLayer

Best guess as to what the equivalent KiCad layer might be.

Definition at line 37 of file plugin_common_layer_mapping.h.

Referenced by EAGLE_PLUGIN::mapEagleLayersToKicad(), and CADSTAR_PCB_ARCHIVE_LOADER::remapUnsureLayers().

◆ Name

wxString INPUT_LAYER_DESC::Name

Imported layer name as displayed in original application.

Definition at line 35 of file plugin_common_layer_mapping.h.

Referenced by DIALOG_IMPORTED_LAYERS::GetUnmappedRequiredLayers(), EAGLE_PLUGIN::mapEagleLayersToKicad(), and CADSTAR_PCB_ARCHIVE_LOADER::remapUnsureLayers().

◆ PermittedLayers

LSET INPUT_LAYER_DESC::PermittedLayers

KiCad layers that the imported layer can be mapped onto.

Definition at line 36 of file plugin_common_layer_mapping.h.

Referenced by EAGLE_PLUGIN::mapEagleLayersToKicad(), and CADSTAR_PCB_ARCHIVE_LOADER::remapUnsureLayers().

◆ Required

bool INPUT_LAYER_DESC::Required

Should we require the layer to be assigned?

Definition at line 38 of file plugin_common_layer_mapping.h.

Referenced by DIALOG_IMPORTED_LAYERS::GetUnmappedRequiredLayers(), and EAGLE_PLUGIN::mapEagleLayersToKicad().


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