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 407 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 413 of file cadstar_archive_parser.cpp.

414 {
415  wxASSERT( aNode->GetName() == wxT( "PT" ) );
416 
417  x = GetXmlAttributeIDLong( aNode, 0 );
418  y = GetXmlAttributeIDLong( aNode, 1 );
419 }
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: