KiCad PCB EDA Suite
CADSTAR_ARCHIVE_PARSER::LONGPOINT Struct Reference

#include <cadstar_archive_parser.h>

Inheritance diagram for CADSTAR_ARCHIVE_PARSER::LONGPOINT:
CADSTAR_ARCHIVE_PARSER::PARSER

Public Member Functions

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

Public Attributes

long x = UNDEFINED_VALUE
 
long y = UNDEFINED_VALUE
 

Detailed Description

Definition at line 395 of file cadstar_archive_parser.h.

Member Function Documentation

◆ Parse()

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

Implements CADSTAR_ARCHIVE_PARSER::PARSER.

Definition at line 407 of file cadstar_archive_parser.cpp.

408 {
409  wxASSERT( aNode->GetName() == wxT( "PT" ) );
410 
411  x = GetXmlAttributeIDLong( aNode, 0 );
412  y = GetXmlAttributeIDLong( aNode, 1 );
413 }
static long GetXmlAttributeIDLong(XNODE *aNode, unsigned int aID, bool aIsRequired=true)

References CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong().

Member Data Documentation

◆ x

◆ y


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