KiCad PCB EDA Suite
EVIA Struct Reference

Eagle via. More...

#include <eagle_parser.h>

Public Member Functions

 EVIA (wxXmlNode *aVia)
 

Public Attributes

ECOORD x
 
ECOORD y
 
int layer_front_most
 
int layer_back_most
 < extent More...
 
ECOORD drill
 < inclusive More...
 
opt_ecoord diam
 
opt_wxString shape
 

Detailed Description

Eagle via.

Definition at line 555 of file eagle_parser.h.

Constructor & Destructor Documentation

EVIA::EVIA ( wxXmlNode *  aVia)

Definition at line 413 of file eagle_parser.cpp.

414 {
415  /*
416  <!ELEMENT via EMPTY>
417  <!ATTLIST via
418  x %Coord; #REQUIRED
419  y %Coord; #REQUIRED
420  extent %Extent; #REQUIRED
421  drill %Dimension; #REQUIRED
422  diameter %Dimension; "0"
423  shape %ViaShape; "round"
424  alwaysstop %Bool; "no"
425  >
426  */
427 
428  x = parseRequiredAttribute<ECOORD>( aVia, "x" );
429  y = parseRequiredAttribute<ECOORD>( aVia, "y" );
430 
431  wxString ext = parseRequiredAttribute<wxString>( aVia, "extent" );
432  sscanf( ext.c_str(), "%d-%d", &layer_front_most, &layer_back_most );
433 
434  drill = parseRequiredAttribute<ECOORD>( aVia, "drill" );
435  diam = parseOptionalAttribute<ECOORD>( aVia, "diameter" );
436  shape = parseOptionalAttribute<wxString>( aVia, "shape" );
437 }
opt_ecoord diam
Definition: eagle_parser.h:562
ECOORD drill
< inclusive
Definition: eagle_parser.h:561
opt_wxString shape
Definition: eagle_parser.h:563
int layer_back_most
< extent
Definition: eagle_parser.h:560
ECOORD y
Definition: eagle_parser.h:558
ECOORD x
Definition: eagle_parser.h:557
int layer_front_most
Definition: eagle_parser.h:559

Member Data Documentation

opt_ecoord EVIA::diam

Definition at line 562 of file eagle_parser.h.

Referenced by EAGLE_PLUGIN::loadSignals().

ECOORD EVIA::drill

< inclusive

Definition at line 561 of file eagle_parser.h.

Referenced by EAGLE_PLUGIN::loadSignals().

int EVIA::layer_back_most

< extent

Definition at line 560 of file eagle_parser.h.

Referenced by EAGLE_PLUGIN::loadSignals().

int EVIA::layer_front_most

Definition at line 559 of file eagle_parser.h.

Referenced by EAGLE_PLUGIN::loadSignals().

opt_wxString EVIA::shape

Definition at line 563 of file eagle_parser.h.

ECOORD EVIA::x

Definition at line 557 of file eagle_parser.h.

Referenced by EAGLE_PLUGIN::loadSignals().

ECOORD EVIA::y

Definition at line 558 of file eagle_parser.h.

Referenced by EAGLE_PLUGIN::loadSignals().


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