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 766 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 1328 of file cadstar_archive_parser.cpp.

1329 {
1330  wxASSERT( aNode->GetName() == wxT( "SPCCLASSNAME" ) );
1331 
1332  ID = GetXmlAttributeIDString( aNode, 0 );
1333  Name = GetXmlAttributeIDString( aNode, 1 );
1334 }
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 769 of file cadstar_archive_parser.h.


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