KiCad PCB EDA Suite
CADSTAR_PCB_ARCHIVE_PARSER::SPCCLASSSPACE Struct Reference

#include <cadstar_pcb_archive_parser.h>

Inheritance diagram for CADSTAR_PCB_ARCHIVE_PARSER::SPCCLASSSPACE:
CADSTAR_ARCHIVE_PARSER::PARSER

Public Member Functions

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

Public Attributes

SPACING_CLASS_ID SpacingClassID1
 
SPACING_CLASS_ID SpacingClassID2
 
LAYER_ID LayerID
 Normally LAY0, which corresponds to (All Layers) More...
 
long Spacing
 

Detailed Description

Definition at line 354 of file cadstar_pcb_archive_parser.h.

Member Function Documentation

◆ Parse()

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

Implements CADSTAR_ARCHIVE_PARSER::PARSER.

Definition at line 932 of file cadstar_pcb_archive_parser.cpp.

933{
934 wxASSERT( aNode->GetName() == wxT( "SPCCLASSSPACE" ) );
935
938 LayerID = GetXmlAttributeIDString( aNode, 2 );
939 Spacing = GetXmlAttributeIDLong( aNode, 3 );
940}
static wxString GetXmlAttributeIDString(XNODE *aNode, unsigned int aID, bool aIsRequired=true)
static long GetXmlAttributeIDLong(XNODE *aNode, unsigned int aID, bool aIsRequired=true)
LAYER_ID LayerID
Normally LAY0, which corresponds to (All Layers)

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

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

Member Data Documentation

◆ LayerID

LAYER_ID CADSTAR_PCB_ARCHIVE_PARSER::SPCCLASSSPACE::LayerID

Normally LAY0, which corresponds to (All Layers)

Definition at line 358 of file cadstar_pcb_archive_parser.h.

◆ Spacing

long CADSTAR_PCB_ARCHIVE_PARSER::SPCCLASSSPACE::Spacing

Definition at line 359 of file cadstar_pcb_archive_parser.h.

◆ SpacingClassID1

SPACING_CLASS_ID CADSTAR_PCB_ARCHIVE_PARSER::SPCCLASSSPACE::SpacingClassID1

Definition at line 356 of file cadstar_pcb_archive_parser.h.

◆ SpacingClassID2

SPACING_CLASS_ID CADSTAR_PCB_ARCHIVE_PARSER::SPCCLASSSPACE::SpacingClassID2

Definition at line 357 of file cadstar_pcb_archive_parser.h.


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