KiCad PCB EDA Suite
Loading...
Searching...
No Matches
plugin_common_layer_mapping.h File Reference
#include <functional>
#include <map>
#include <pcb_io/pcb_io_mgr.h>
#include <layer_ids.h>

Go to the source code of this file.

Classes

struct  INPUT_LAYER_DESC
 Describes an imported layer and how it could be mapped to KiCad Layers. More...
 
class  LAYER_REMAPPABLE_PLUGIN
 Plugin class for import plugins that support remappable layers. More...
 

Typedefs

using LAYER_MAPPING_HANDLER = std::function< std::map< wxString, PCB_LAYER_ID >(const std::vector< INPUT_LAYER_DESC > &)>
 Pointer to a function that takes a map of source and KiCad layers and returns a re-mapped version. More...
 

Typedef Documentation

◆ LAYER_MAPPING_HANDLER

using LAYER_MAPPING_HANDLER = std::function<std::map<wxString, PCB_LAYER_ID>( const std::vector<INPUT_LAYER_DESC>& )>

Pointer to a function that takes a map of source and KiCad layers and returns a re-mapped version.

If the re-mapped layer is UNDEFINED_LAYER, then the source layer will not be imported

Definition at line 55 of file plugin_common_layer_mapping.h.