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

Constructor & Destructor Documentation

◆ ESMD()

ESMD::ESMD ( wxXmlNode *  aSMD)

Definition at line 804 of file eagle_parser.cpp.

805 : EPAD_COMMON( aSMD )
806{
807 /*
808 <!ATTLIST smd
809 name %String; #REQUIRED
810 x %Coord; #REQUIRED
811 y %Coord; #REQUIRED
812 dx %Dimension; #REQUIRED
813 dy %Dimension; #REQUIRED
814 layer %Layer; #REQUIRED
815 roundness %Int; "0"
816 rot %Rotation; "R0"
817 stop %Bool; "yes"
818 thermals %Bool; "yes"
819 cream %Bool; "yes"
820 >
821 */
822
823 // DTD #REQUIRED, throw exception if not found
824 dx = parseRequiredAttribute<ECOORD>( aSMD, "dx" );
825 dy = parseRequiredAttribute<ECOORD>( aSMD, "dy" );
826 layer = parseRequiredAttribute<int>( aSMD, "layer" );
827
828 roundness = parseOptionalAttribute<int>( aSMD, "roundness" );
829 cream = parseOptionalAttribute<bool>( aSMD, "cream" );
830}
EPAD_COMMON(wxXmlNode *aPad)
opt_int roundness
Definition: eagle_parser.h:737
ECOORD dx
Definition: eagle_parser.h:734
int layer
Definition: eagle_parser.h:736
opt_bool cream
Definition: eagle_parser.h:738
ECOORD dy
Definition: eagle_parser.h:735

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

Member Data Documentation

◆ cream

opt_bool ESMD::cream

Definition at line 738 of file eagle_parser.h.

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

◆ dx

ECOORD ESMD::dx

Definition at line 734 of file eagle_parser.h.

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

◆ dy

ECOORD ESMD::dy

Definition at line 735 of file eagle_parser.h.

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

◆ layer

int ESMD::layer

Definition at line 736 of file eagle_parser.h.

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

◆ name

wxString EPAD_COMMON::name
inherited

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

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

◆ x

ECOORD EPAD_COMMON::x
inherited

Definition at line 700 of file eagle_parser.h.

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

◆ y

ECOORD EPAD_COMMON::y
inherited

Definition at line 700 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: