KiCad PCB EDA Suite
EHOLE Struct Reference

Eagle hole element. More...

#include <eagle_parser.h>

Public Member Functions

 EHOLE (wxXmlNode *aHole)
 

Public Attributes

ECOORD x
 
ECOORD y
 
ECOORD drill
 

Detailed Description

Eagle hole element.

Definition at line 787 of file eagle_parser.h.

Constructor & Destructor Documentation

◆ EHOLE()

EHOLE::EHOLE ( wxXmlNode *  aHole)

Definition at line 800 of file eagle_parser.cpp.

801 {
802  /*
803  <!ELEMENT hole EMPTY>
804  <!ATTLIST hole
805  x %Coord; #REQUIRED
806  y %Coord; #REQUIRED
807  drill %Dimension; #REQUIRED
808  >
809  */
810 
811  // #REQUIRED:
812  x = parseRequiredAttribute<ECOORD>( aHole, "x" );
813  y = parseRequiredAttribute<ECOORD>( aHole, "y" );
814  drill = parseRequiredAttribute<ECOORD>( aHole, "drill" );
815 }
ECOORD x
Definition: eagle_parser.h:789
ECOORD y
Definition: eagle_parser.h:790
ECOORD drill
Definition: eagle_parser.h:791

References drill, x, and y.

Member Data Documentation

◆ drill

ECOORD EHOLE::drill

Definition at line 791 of file eagle_parser.h.

Referenced by EHOLE(), and EAGLE_PLUGIN::packageHole().

◆ x

ECOORD EHOLE::x

Definition at line 789 of file eagle_parser.h.

Referenced by EHOLE(), and EAGLE_PLUGIN::packageHole().

◆ y

ECOORD EHOLE::y

Definition at line 790 of file eagle_parser.h.

Referenced by EHOLE(), and EAGLE_PLUGIN::packageHole().


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