KiCad PCB EDA Suite
CADSTAR_PCB_ARCHIVE_PARSER::SPACINGCODE::REASSIGN Struct Reference

#include <cadstar_pcb_archive_parser.h>

Inheritance diagram for CADSTAR_PCB_ARCHIVE_PARSER::SPACINGCODE::REASSIGN:

Public Member Functions

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

Public Attributes

LAYER_ID LayerID
 
long Spacing
 

Detailed Description

Definition at line 205 of file cadstar_pcb_archive_parser.h.

Member Function Documentation

◆ Parse()

void CADSTAR_PCB_ARCHIVE_PARSER::SPACINGCODE::REASSIGN::Parse ( XNODE aNode,
PARSER_CONTEXT aContext 
)
override

Definition at line 618 of file cadstar_pcb_archive_parser.cpp.

620 {
621  wxASSERT( aNode->GetName() == wxT( "SPACEREASSIGN" ) );
622 
623  LayerID = GetXmlAttributeIDString( aNode, 0 );
624  Spacing = GetXmlAttributeIDLong( aNode, 1 );
625 
626  CheckNoChildNodes( aNode );
627 }
static void CheckNoChildNodes(XNODE *aNode)
static long GetXmlAttributeIDLong(XNODE *aNode, unsigned int aID, bool aIsRequired=true)
static wxString GetXmlAttributeIDString(XNODE *aNode, unsigned int aID, bool aIsRequired=true)

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

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

Member Data Documentation

◆ LayerID

LAYER_ID CADSTAR_PCB_ARCHIVE_PARSER::SPACINGCODE::REASSIGN::LayerID

Definition at line 207 of file cadstar_pcb_archive_parser.h.

◆ Spacing

long CADSTAR_PCB_ARCHIVE_PARSER::SPACINGCODE::REASSIGN::Spacing

Definition at line 208 of file cadstar_pcb_archive_parser.h.


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