KiCad PCB EDA Suite
EPAD_COMMON Struct Reference

Structure holding common properties for through-hole and SMD pads. More...

#include <eagle_parser.h>

Inheritance diagram for EPAD_COMMON:
EPAD ESMD

Public Member Functions

 EPAD_COMMON (wxXmlNode *aPad)
 

Public Attributes

wxString name
 
ECOORD x
 
ECOORD y
 
opt_erot rot
 
opt_bool stop
 
opt_bool thermals
 

Detailed Description

Structure holding common properties for through-hole and SMD pads.

Definition at line 681 of file eagle_parser.h.

Constructor & Destructor Documentation

◆ EPAD_COMMON()

EPAD_COMMON::EPAD_COMMON ( wxXmlNode *  aPad)

Definition at line 631 of file eagle_parser.cpp.

632 {
633  // #REQUIRED says DTD, throw exception if not found
634  name = parseRequiredAttribute<wxString>( aPad, "name" );
635  x = parseRequiredAttribute<ECOORD>( aPad, "x" );
636  y = parseRequiredAttribute<ECOORD>( aPad, "y" );
637  rot = parseOptionalAttribute<EROT>( aPad, "rot" );
638  stop = parseOptionalAttribute<bool>( aPad, "stop" );
639  thermals = parseOptionalAttribute<bool>( aPad, "thermals" );
640 }
wxString name
Definition: eagle_parser.h:683
opt_bool thermals
Definition: eagle_parser.h:687
opt_erot rot
Definition: eagle_parser.h:685
opt_bool stop
Definition: eagle_parser.h:686

References name, rot, stop, thermals, x, and y.

Member Data Documentation

◆ name

wxString EPAD_COMMON::name

Definition at line 683 of file eagle_parser.h.

Referenced by EPAD_COMMON(), and EAGLE_PLUGIN::transferPad().

◆ rot

opt_erot EPAD_COMMON::rot

Definition at line 685 of file eagle_parser.h.

Referenced by EPAD_COMMON(), EAGLE_PLUGIN::packagePad(), and EAGLE_PLUGIN::packageSMD().

◆ stop

opt_bool EPAD_COMMON::stop

Definition at line 686 of file eagle_parser.h.

Referenced by EPAD_COMMON(), EAGLE_PLUGIN::packagePad(), and EAGLE_PLUGIN::packageSMD().

◆ thermals

opt_bool EPAD_COMMON::thermals

Definition at line 687 of file eagle_parser.h.

Referenced by EPAD_COMMON(), and EAGLE_PLUGIN::transferPad().

◆ x

ECOORD EPAD_COMMON::x

Definition at line 684 of file eagle_parser.h.

Referenced by EPAD_COMMON(), and EAGLE_PLUGIN::transferPad().

◆ y

ECOORD EPAD_COMMON::y

Definition at line 684 of file eagle_parser.h.

Referenced by EPAD_COMMON(), and EAGLE_PLUGIN::transferPad().


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