KiCad PCB EDA Suite
CADSTAR_PCB_ARCHIVE_PARSER::COPREASSIGN Struct Reference

#include <cadstar_pcb_archive_parser.h>

Inheritance diagram for CADSTAR_PCB_ARCHIVE_PARSER::COPREASSIGN:
CADSTAR_ARCHIVE_PARSER::PARSER

Public Member Functions

void Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override
 

Public Attributes

LAYER_ID LayerID
 
long CopperWidth
 

Detailed Description

Definition at line 183 of file cadstar_pcb_archive_parser.h.

Member Function Documentation

◆ Parse()

void CADSTAR_PCB_ARCHIVE_PARSER::COPREASSIGN::Parse ( XNODE aNode,
PARSER_CONTEXT aContext 
)
overridevirtual

Implements CADSTAR_ARCHIVE_PARSER::PARSER.

Definition at line 581 of file cadstar_pcb_archive_parser.cpp.

582{
583 wxASSERT( aNode->GetName() == wxT( "COPREASSIGN" ) );
584
585 LayerID = GetXmlAttributeIDString( aNode, 0 );
586
588}
static wxString GetXmlAttributeIDString(XNODE *aNode, unsigned int aID, bool aIsRequired=true)
static long GetXmlAttributeIDLong(XNODE *aNode, unsigned int aID, bool aIsRequired=true)

References CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong(), and CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString().

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

Member Data Documentation

◆ CopperWidth

long CADSTAR_PCB_ARCHIVE_PARSER::COPREASSIGN::CopperWidth

Definition at line 186 of file cadstar_pcb_archive_parser.h.

◆ LayerID

LAYER_ID CADSTAR_PCB_ARCHIVE_PARSER::COPREASSIGN::LayerID

Definition at line 185 of file cadstar_pcb_archive_parser.h.


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