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 799 of file eagle_parser.h.

Constructor & Destructor Documentation

◆ EHOLE()

EHOLE::EHOLE ( wxXmlNode *  aHole)

Definition at line 828 of file eagle_parser.cpp.

829 {
830  /*
831  <!ELEMENT hole EMPTY>
832  <!ATTLIST hole
833  x %Coord; #REQUIRED
834  y %Coord; #REQUIRED
835  drill %Dimension; #REQUIRED
836  >
837  */
838 
839  // #REQUIRED:
840  x = parseRequiredAttribute<ECOORD>( aHole, wxT( "x" ) );
841  y = parseRequiredAttribute<ECOORD>( aHole, wxT( "y" ) );
842  drill = parseRequiredAttribute<ECOORD>( aHole, wxT( "drill" ) );
843 }
ECOORD x
Definition: eagle_parser.h:801
ECOORD y
Definition: eagle_parser.h:802
ECOORD drill
Definition: eagle_parser.h:803

References drill, x, and y.

Member Data Documentation

◆ drill

ECOORD EHOLE::drill

Definition at line 803 of file eagle_parser.h.

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

◆ x

ECOORD EHOLE::x

Definition at line 801 of file eagle_parser.h.

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

◆ y

ECOORD EHOLE::y

Definition at line 802 of file eagle_parser.h.

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


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