KiCad PCB EDA Suite
|
#include <cadstar_pcb_archive_parser.h>
Public Member Functions | |
void | Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override |
Public Attributes | |
LAYER_ID | ID |
wxString | Name |
wxString | Description = wxEmptyString |
LAYER_TYPE | Type = LAYER_TYPE::UNDEFINED |
LAYER_SUBTYPE | SubType = LAYER_SUBTYPE::LAYERSUBTYPE_NONE |
PHYSICAL_LAYER_ID | PhysicalLayer |
If UNDEFINED, no physical layer is assigned (e.g. | |
LAYER_ID | SwapLayerID = UNDEFINED_LAYER_ID |
If UNDEFINED_LAYER_ID, no swap layer. | |
ROUTING_BIAS | RoutingBias = ROUTING_BIAS::UNBIASED |
long | Thickness = 0 |
Note: Units of length are defined in file header. | |
MATERIAL_ID | MaterialId = UNDEFINED_MATERIAL_ID |
EMBEDDING | Embedding = EMBEDDING::NONE |
bool | ReferencePlane = false |
bool | VariantLayer = false |
Definition at line 158 of file cadstar_pcb_archive_parser.h.
|
overridevirtual |
Implements CADSTAR_ARCHIVE_PARSER::PARSER.
Definition at line 377 of file cadstar_pcb_archive_parser.cpp.
References CADSTAR_PCB_ARCHIVE_PARSER::ABOVE, CADSTAR_PCB_ARCHIVE_PARSER::ALLDOC, CADSTAR_PCB_ARCHIVE_PARSER::ALLELEC, CADSTAR_PCB_ARCHIVE_PARSER::ALLLAYER, CADSTAR_PCB_ARCHIVE_PARSER::ANTI_ROUTE, CADSTAR_PCB_ARCHIVE_PARSER::ASSCOMPCOPP, CADSTAR_PCB_ARCHIVE_PARSER::BELOW, CADSTAR_PCB_ARCHIVE_PARSER::CONSTRUCTION, CADSTAR_PCB_ARCHIVE_PARSER::DOC, CADSTAR_PCB_ARCHIVE_PARSER::ELEC, XNODE::GetChildren(), XNODE::GetNext(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), ID, CADSTAR_PCB_ARCHIVE_PARSER::JUMPERLAYER, CADSTAR_PCB_ARCHIVE_PARSER::LAYERSUBTYPE_ASSEMBLY, CADSTAR_PCB_ARCHIVE_PARSER::LAYERSUBTYPE_CLEARANCE, CADSTAR_PCB_ARCHIVE_PARSER::LAYERSUBTYPE_PASTE, CADSTAR_PCB_ARCHIVE_PARSER::LAYERSUBTYPE_PLACEMENT, CADSTAR_PCB_ARCHIVE_PARSER::LAYERSUBTYPE_ROUT, CADSTAR_PCB_ARCHIVE_PARSER::LAYERSUBTYPE_SILKSCREEN, CADSTAR_PCB_ARCHIVE_PARSER::LAYERSUBTYPE_SOLDERRESIST, CADSTAR_PCB_ARCHIVE_PARSER::NOLAYER, CADSTAR_PCB_ARCHIVE_PARSER::NONELEC, CADSTAR_PCB_ARCHIVE_PARSER::OBSTACLE, CADSTAR_PCB_ARCHIVE_PARSER::POWER, THROW_UNKNOWN_NODE_IO_ERROR, THROW_UNKNOWN_PARAMETER_IO_ERROR, CADSTAR_PCB_ARCHIVE_PARSER::UNBIASED, CADSTAR_PCB_ARCHIVE_PARSER::X, and CADSTAR_PCB_ARCHIVE_PARSER::Y.
Referenced by CADSTAR_PCB_ARCHIVE_PARSER::LAYERDEFS::Parse().
wxString CADSTAR_PCB_ARCHIVE_PARSER::LAYER::Description = wxEmptyString |
Definition at line 162 of file cadstar_pcb_archive_parser.h.
EMBEDDING CADSTAR_PCB_ARCHIVE_PARSER::LAYER::Embedding = EMBEDDING::NONE |
Definition at line 173 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadBoardStackup().
LAYER_ID CADSTAR_PCB_ARCHIVE_PARSER::LAYER::ID |
Definition at line 160 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadBoardStackup(), CADSTAR_PCB_ARCHIVE_PARSER::LAYERDEFS::Parse(), and CADSTAR_PCB_ARCHIVE_LOADER::remapUnsureLayers().
MATERIAL_ID CADSTAR_PCB_ARCHIVE_PARSER::LAYER::MaterialId = UNDEFINED_MATERIAL_ID |
Definition at line 172 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::initStackupItem().
wxString CADSTAR_PCB_ARCHIVE_PARSER::LAYER::Name |
Definition at line 161 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::initStackupItem(), CADSTAR_PCB_ARCHIVE_LOADER::loadBoardStackup(), and CADSTAR_PCB_ARCHIVE_LOADER::remapUnsureLayers().
PHYSICAL_LAYER_ID CADSTAR_PCB_ARCHIVE_PARSER::LAYER::PhysicalLayer |
If UNDEFINED, no physical layer is assigned (e.g.
documentation and construction layers)
Definition at line 165 of file cadstar_pcb_archive_parser.h.
bool CADSTAR_PCB_ARCHIVE_PARSER::LAYER::ReferencePlane = false |
Definition at line 174 of file cadstar_pcb_archive_parser.h.
ROUTING_BIAS CADSTAR_PCB_ARCHIVE_PARSER::LAYER::RoutingBias = ROUTING_BIAS::UNBIASED |
Definition at line 170 of file cadstar_pcb_archive_parser.h.
LAYER_SUBTYPE CADSTAR_PCB_ARCHIVE_PARSER::LAYER::SubType = LAYER_SUBTYPE::LAYERSUBTYPE_NONE |
Definition at line 164 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadBoardStackup().
LAYER_ID CADSTAR_PCB_ARCHIVE_PARSER::LAYER::SwapLayerID = UNDEFINED_LAYER_ID |
If UNDEFINED_LAYER_ID, no swap layer.
Definition at line 169 of file cadstar_pcb_archive_parser.h.
long CADSTAR_PCB_ARCHIVE_PARSER::LAYER::Thickness = 0 |
Note: Units of length are defined in file header.
Definition at line 171 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::initStackupItem().
LAYER_TYPE CADSTAR_PCB_ARCHIVE_PARSER::LAYER::Type = LAYER_TYPE::UNDEFINED |
Definition at line 163 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::isLayerSet(), CADSTAR_PCB_ARCHIVE_LOADER::loadBoardStackup(), and CADSTAR_PCB_ARCHIVE_LOADER::remapUnsureLayers().
bool CADSTAR_PCB_ARCHIVE_PARSER::LAYER::VariantLayer = false |
Definition at line 175 of file cadstar_pcb_archive_parser.h.