KiCad PCB EDA Suite
CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::COPPER_TERMINAL Struct Reference

< "COPTERM" nodename More...

#include <cadstar_pcb_archive_parser.h>

Inheritance diagram for CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::COPPER_TERMINAL:
CADSTAR_ARCHIVE_PARSER::PARSER

Public Member Functions

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

Public Attributes

NETELEMENT_ID ID
 First two character are "CT". More...
 
COPPER_ID CopperID
 
COPPER_TERM_ID CopperTermNum
 

Detailed Description

< "COPTERM" nodename

Definition at line 971 of file cadstar_pcb_archive_parser.h.

Member Function Documentation

◆ Parse()

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

Implements CADSTAR_ARCHIVE_PARSER::PARSER.

Definition at line 1984 of file cadstar_pcb_archive_parser.cpp.

1985 {
1986  wxASSERT( aNode->GetName() == wxT( "COPTERM" ) );
1987 
1988  ID = GetXmlAttributeIDString( aNode, 0 );
1989  CopperID = GetXmlAttributeIDString( aNode, 1 );
1990  CopperTermNum = GetXmlAttributeIDLong( aNode, 2 );
1991 }
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::GetXmlAttributeIDLong(), and CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString().

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

Member Data Documentation

◆ CopperID

COPPER_ID CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::COPPER_TERMINAL::CopperID

Definition at line 974 of file cadstar_pcb_archive_parser.h.

◆ CopperTermNum

COPPER_TERM_ID CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::COPPER_TERMINAL::CopperTermNum

Definition at line 975 of file cadstar_pcb_archive_parser.h.

◆ ID

NETELEMENT_ID CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::COPPER_TERMINAL::ID

First two character are "CT".

Definition at line 973 of file cadstar_pcb_archive_parser.h.

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


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