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 793 of file eagle_parser.cpp.

794 {
795  /*
796  <!ELEMENT hole EMPTY>
797  <!ATTLIST hole
798  x %Coord; #REQUIRED
799  y %Coord; #REQUIRED
800  drill %Dimension; #REQUIRED
801  >
802  */
803 
804  // #REQUIRED:
805  x = parseRequiredAttribute<ECOORD>( aHole, "x" );
806  y = parseRequiredAttribute<ECOORD>( aHole, "y" );
807  drill = parseRequiredAttribute<ECOORD>( aHole, "drill" );
808 }
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: