KiCad PCB EDA Suite
ESMD Struct Reference

Eagle SMD pad. More...

#include <eagle_parser.h>

Inheritance diagram for ESMD:
EPAD_COMMON

Public Member Functions

 ESMD (wxXmlNode *aSMD)
 

Public Attributes

ECOORD dx
 
ECOORD dy
 
int layer
 
opt_int roundness
 
opt_bool cream
 
wxString name
 
ECOORD x
 
ECOORD y
 
opt_erot rot
 
opt_bool stop
 
opt_bool thermals
 

Detailed Description

Eagle SMD pad.

Definition at line 728 of file eagle_parser.h.

Constructor & Destructor Documentation

◆ ESMD()

ESMD::ESMD ( wxXmlNode *  aSMD)

Definition at line 713 of file eagle_parser.cpp.

714  : EPAD_COMMON( aSMD )
715 {
716  /*
717  <!ATTLIST smd
718  name %String; #REQUIRED
719  x %Coord; #REQUIRED
720  y %Coord; #REQUIRED
721  dx %Dimension; #REQUIRED
722  dy %Dimension; #REQUIRED
723  layer %Layer; #REQUIRED
724  roundness %Int; "0"
725  rot %Rotation; "R0"
726  stop %Bool; "yes"
727  thermals %Bool; "yes"
728  cream %Bool; "yes"
729  >
730  */
731 
732  // DTD #REQUIRED, throw exception if not found
733  dx = parseRequiredAttribute<ECOORD>( aSMD, wxT( "dx" ) );
734  dy = parseRequiredAttribute<ECOORD>( aSMD, wxT( "dy" ) );
735  layer = parseRequiredAttribute<int>( aSMD, wxT( "layer" ) );
736 
737  roundness = parseOptionalAttribute<int>( aSMD, wxT( "roundness" ) );
738  cream = parseOptionalAttribute<bool>( aSMD, wxT( "cream" ) );
739 }
ECOORD dy
Definition: eagle_parser.h:731
ECOORD dx
Definition: eagle_parser.h:730
int layer
Definition: eagle_parser.h:732
opt_int roundness
Definition: eagle_parser.h:733
EPAD_COMMON(wxXmlNode *aPad)
opt_bool cream
Definition: eagle_parser.h:734

References cream, dx, dy, layer, and roundness.

Member Data Documentation

◆ cream

opt_bool ESMD::cream

Definition at line 734 of file eagle_parser.h.

Referenced by ESMD(), and EAGLE_PLUGIN::packageSMD().

◆ dx

ECOORD ESMD::dx

Definition at line 730 of file eagle_parser.h.

Referenced by ESMD(), and EAGLE_PLUGIN::packageSMD().

◆ dy

ECOORD ESMD::dy

Definition at line 731 of file eagle_parser.h.

Referenced by ESMD(), and EAGLE_PLUGIN::packageSMD().

◆ layer

int ESMD::layer

Definition at line 732 of file eagle_parser.h.

Referenced by ESMD(), and EAGLE_PLUGIN::packageSMD().

◆ name

wxString EPAD_COMMON::name
inherited

Definition at line 695 of file eagle_parser.h.

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

◆ rot

opt_erot EPAD_COMMON::rot
inherited

◆ roundness

opt_int ESMD::roundness

Definition at line 733 of file eagle_parser.h.

Referenced by ESMD(), and EAGLE_PLUGIN::packageSMD().

◆ stop

opt_bool EPAD_COMMON::stop
inherited

◆ thermals

opt_bool EPAD_COMMON::thermals
inherited

Definition at line 699 of file eagle_parser.h.

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

◆ x

ECOORD EPAD_COMMON::x
inherited

Definition at line 696 of file eagle_parser.h.

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

◆ y

ECOORD EPAD_COMMON::y
inherited

Definition at line 696 of file eagle_parser.h.

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


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