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

Constructor & Destructor Documentation

EHOLE::EHOLE ( wxXmlNode *  aHole)

Definition at line 793 of file eagle_parser.cpp.

References EPAD_COMMON::x, and EPAD_COMMON::y.

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:787
ECOORD y
Definition: eagle_parser.h:788
ECOORD drill
Definition: eagle_parser.h:789

Member Data Documentation

ECOORD EHOLE::drill

Definition at line 789 of file eagle_parser.h.

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

ECOORD EHOLE::x

Definition at line 787 of file eagle_parser.h.

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

ECOORD EHOLE::y

Definition at line 788 of file eagle_parser.h.

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


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