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

Constructor & Destructor Documentation

◆ EPAD_COMMON()

EPAD_COMMON::EPAD_COMMON ( wxXmlNode *  aPad)

Definition at line 613 of file eagle_parser.cpp.

614 {
615  // #REQUIRED says DTD, throw exception if not found
616  name = parseRequiredAttribute<wxString>( aPad, "name" );
617  x = parseRequiredAttribute<ECOORD>( aPad, "x" );
618  y = parseRequiredAttribute<ECOORD>( aPad, "y" );
619  rot = parseOptionalAttribute<EROT>( aPad, "rot" );
620  stop = parseOptionalAttribute<bool>( aPad, "stop" );
621  thermals = parseOptionalAttribute<bool>( aPad, "thermals" );
622 }
wxString name
Definition: eagle_parser.h:682
opt_bool thermals
Definition: eagle_parser.h:686
opt_erot rot
Definition: eagle_parser.h:684
opt_bool stop
Definition: eagle_parser.h:685

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

Member Data Documentation

◆ name

wxString EPAD_COMMON::name

Definition at line 682 of file eagle_parser.h.

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

◆ rot

opt_erot EPAD_COMMON::rot

Definition at line 684 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 685 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 686 of file eagle_parser.h.

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

◆ x

ECOORD EPAD_COMMON::x

Definition at line 683 of file eagle_parser.h.

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

◆ y

ECOORD EPAD_COMMON::y

Definition at line 683 of file eagle_parser.h.

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


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