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

Constructor & Destructor Documentation

◆ EPAD_COMMON()

EPAD_COMMON::EPAD_COMMON ( wxXmlNode *  aPad)

Definition at line 655 of file eagle_parser.cpp.

656 {
657  // #REQUIRED says DTD, throw exception if not found
658  name = parseRequiredAttribute<wxString>( aPad, "name" );
659  x = parseRequiredAttribute<ECOORD>( aPad, "x" );
660  y = parseRequiredAttribute<ECOORD>( aPad, "y" );
661  rot = parseOptionalAttribute<EROT>( aPad, "rot" );
662  stop = parseOptionalAttribute<bool>( aPad, "stop" );
663  thermals = parseOptionalAttribute<bool>( aPad, "thermals" );
664 }
wxString name
Definition: eagle_parser.h:695
opt_bool thermals
Definition: eagle_parser.h:699
opt_erot rot
Definition: eagle_parser.h:697
opt_bool stop
Definition: eagle_parser.h:698

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

Member Data Documentation

◆ name

wxString EPAD_COMMON::name

Definition at line 695 of file eagle_parser.h.

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

◆ rot

opt_erot EPAD_COMMON::rot

Definition at line 697 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 698 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 699 of file eagle_parser.h.

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

◆ x

ECOORD EPAD_COMMON::x

Definition at line 696 of file eagle_parser.h.

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

◆ y

ECOORD EPAD_COMMON::y

Definition at line 696 of file eagle_parser.h.

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


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