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

Constructor & Destructor Documentation

◆ EHOLE()

EHOLE::EHOLE ( wxXmlNode *  aHole)

Definition at line 783 of file eagle_parser.cpp.

784 {
785  /*
786  <!ELEMENT hole EMPTY>
787  <!ATTLIST hole
788  x %Coord; #REQUIRED
789  y %Coord; #REQUIRED
790  drill %Dimension; #REQUIRED
791  >
792  */
793 
794  // #REQUIRED:
795  x = parseRequiredAttribute<ECOORD>( aHole, "x" );
796  y = parseRequiredAttribute<ECOORD>( aHole, "y" );
797  drill = parseRequiredAttribute<ECOORD>( aHole, "drill" );
798 }
ECOORD x
Definition: eagle_parser.h:788
ECOORD y
Definition: eagle_parser.h:789
ECOORD drill
Definition: eagle_parser.h:790

References drill, x, and y.

Member Data Documentation

◆ drill

ECOORD EHOLE::drill

Definition at line 790 of file eagle_parser.h.

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

◆ x

ECOORD EHOLE::x

Definition at line 788 of file eagle_parser.h.

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

◆ y

ECOORD EHOLE::y

Definition at line 789 of file eagle_parser.h.

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


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