KiCad PCB EDA Suite
Loading...
Searching...
No Matches
CADSTAR_PCB_ARCHIVE_PARSER::LAYER Struct Reference

#include <cadstar_pcb_archive_parser.h>

Inheritance diagram for CADSTAR_PCB_ARCHIVE_PARSER::LAYER:
CADSTAR_ARCHIVE_PARSER::PARSER

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
 

Detailed Description

Definition at line 158 of file cadstar_pcb_archive_parser.h.

Member Function Documentation

◆ Parse()

void CADSTAR_PCB_ARCHIVE_PARSER::LAYER::Parse ( XNODE * aNode,
PARSER_CONTEXT * aContext )
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, Description, CADSTAR_PCB_ARCHIVE_PARSER::DOC, CADSTAR_PCB_ARCHIVE_PARSER::ELEC, Embedding, 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, MaterialId, Name, CADSTAR_PCB_ARCHIVE_PARSER::NOLAYER, CADSTAR_PCB_ARCHIVE_PARSER::NONELEC, CADSTAR_PCB_ARCHIVE_PARSER::OBSTACLE, PhysicalLayer, CADSTAR_PCB_ARCHIVE_PARSER::POWER, ReferencePlane, RoutingBias, SubType, Thickness, THROW_UNKNOWN_NODE_IO_ERROR, THROW_UNKNOWN_PARAMETER_IO_ERROR, Type, CADSTAR_PCB_ARCHIVE_PARSER::UNBIASED, VariantLayer, CADSTAR_PCB_ARCHIVE_PARSER::X, and CADSTAR_PCB_ARCHIVE_PARSER::Y.

Referenced by CADSTAR_PCB_ARCHIVE_PARSER::LAYERDEFS::Parse().

Member Data Documentation

◆ Description

wxString CADSTAR_PCB_ARCHIVE_PARSER::LAYER::Description = wxEmptyString

Definition at line 162 of file cadstar_pcb_archive_parser.h.

Referenced by Parse().

◆ Embedding

EMBEDDING CADSTAR_PCB_ARCHIVE_PARSER::LAYER::Embedding = EMBEDDING::NONE

◆ ID

◆ MaterialId

MATERIAL_ID CADSTAR_PCB_ARCHIVE_PARSER::LAYER::MaterialId = UNDEFINED_MATERIAL_ID

◆ Name

◆ PhysicalLayer

PHYSICAL_LAYER_ID CADSTAR_PCB_ARCHIVE_PARSER::LAYER::PhysicalLayer
Initial value:

If UNDEFINED, no physical layer is assigned (e.g.

documentation and construction layers)

Definition at line 165 of file cadstar_pcb_archive_parser.h.

Referenced by Parse().

◆ ReferencePlane

bool CADSTAR_PCB_ARCHIVE_PARSER::LAYER::ReferencePlane = false

Definition at line 174 of file cadstar_pcb_archive_parser.h.

Referenced by Parse().

◆ RoutingBias

ROUTING_BIAS CADSTAR_PCB_ARCHIVE_PARSER::LAYER::RoutingBias = ROUTING_BIAS::UNBIASED

Definition at line 170 of file cadstar_pcb_archive_parser.h.

Referenced by Parse().

◆ SubType

LAYER_SUBTYPE CADSTAR_PCB_ARCHIVE_PARSER::LAYER::SubType = LAYER_SUBTYPE::LAYERSUBTYPE_NONE

◆ SwapLayerID

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.

◆ Thickness

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(), and Parse().

◆ Type

◆ VariantLayer

bool CADSTAR_PCB_ARCHIVE_PARSER::LAYER::VariantLayer = false

Definition at line 175 of file cadstar_pcb_archive_parser.h.

Referenced by Parse().


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