KiCad PCB EDA Suite
CADSTAR_PCB_ARCHIVE_PARSER::TRUNK Struct Reference

#include <cadstar_pcb_archive_parser.h>

Inheritance diagram for CADSTAR_PCB_ARCHIVE_PARSER::TRUNK:

Public Member Functions

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

Public Attributes

TRUNK_ID ID
 
wxString Definition
 

Detailed Description

Definition at line 931 of file cadstar_pcb_archive_parser.h.

Member Function Documentation

◆ Parse()

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

Definition at line 1943 of file cadstar_pcb_archive_parser.cpp.

1944 {
1945  wxASSERT( aNode->GetName() == wxT( "TRUNK" ) );
1946 
1947  ID = GetXmlAttributeIDString( aNode, 0 );
1948  Definition = GetXmlAttributeIDString( aNode, 1 );
1949 }
static wxString GetXmlAttributeIDString(XNODE *aNode, unsigned int aID, bool aIsRequired=true)

References CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString().

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

Member Data Documentation

◆ Definition

wxString CADSTAR_PCB_ARCHIVE_PARSER::TRUNK::Definition

Definition at line 934 of file cadstar_pcb_archive_parser.h.

◆ ID

TRUNK_ID CADSTAR_PCB_ARCHIVE_PARSER::TRUNK::ID

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