KiCad PCB EDA Suite
CADSTAR_ARCHIVE_PARSER::SPCCLASSNAME Struct Reference

#include <cadstar_archive_parser.h>

Inheritance diagram for CADSTAR_ARCHIVE_PARSER::SPCCLASSNAME:
CADSTAR_ARCHIVE_PARSER::PARSER

Public Member Functions

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

Public Attributes

SPACING_CLASS_ID ID
 
wxString Name
 

Detailed Description

Definition at line 810 of file cadstar_archive_parser.h.

Member Function Documentation

◆ Parse()

void CADSTAR_ARCHIVE_PARSER::SPCCLASSNAME::Parse ( XNODE aNode,
PARSER_CONTEXT aContext 
)
overridevirtual

Implements CADSTAR_ARCHIVE_PARSER::PARSER.

Definition at line 1441 of file cadstar_archive_parser.cpp.

1442{
1443 wxASSERT( aNode->GetName() == wxT( "SPCCLASSNAME" ) );
1444
1445 ID = GetXmlAttributeIDString( aNode, 0 );
1446 Name = GetXmlAttributeIDString( aNode, 1 );
1447}
static wxString GetXmlAttributeIDString(XNODE *aNode, unsigned int aID, bool aIsRequired=true)

References CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString().

Referenced by CADSTAR_ARCHIVE_PARSER::CODEDEFS::ParseSubNode().

Member Data Documentation

◆ ID

SPACING_CLASS_ID CADSTAR_ARCHIVE_PARSER::SPCCLASSNAME::ID

◆ Name

wxString CADSTAR_ARCHIVE_PARSER::SPCCLASSNAME::Name

Definition at line 813 of file cadstar_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadNet().


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