| 
    KiCad PCB EDA Suite
    
   | 
 
#include <eagle_parser.h>
  
Public Types | |
| enum | EAGLE_UNIT { EU_NM , EU_MM , EU_INCH , EU_MIL } | 
Public Member Functions | |
| ECOORD () | |
| ECOORD (int aValue, enum EAGLE_UNIT aUnit) | |
| ECOORD (const wxString &aValue, enum EAGLE_UNIT aUnit) | |
| int | ToMils () const | 
| int | To100NanoMeters () const | 
| int | ToNanoMeters () const | 
| float | ToMm () const | 
| int | ToSchUnits () const | 
| int | ToPcbUnits () const | 
| ECOORD | operator+ (const ECOORD &aOther) const | 
| ECOORD | operator- (const ECOORD &aOther) const | 
| bool | operator== (const ECOORD &aOther) const | 
| void | Report (const wxString &aMsg, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED) | 
| Send a message to the IO_BASE REPORTER object if one exists.   | |
| void | AdvanceProgressPhase () | 
Static Public Member Functions | |
| static long long int | ConvertToNm (int aValue, enum EAGLE_UNIT aUnit) | 
| Converts a size expressed in a certain unit to nanometers.   | |
Public Attributes | |
| long long int | value | 
| Value expressed in nanometers.   | |
| IO_BASE * | io | 
Static Public Attributes | |
| static constexpr EAGLE_UNIT | ECOORD_UNIT = EU_NM | 
| Unit used for the value field.   | |
Definition at line 481 of file eagle_parser.h.
| enum ECOORD::EAGLE_UNIT | 
| Enumerator | |
|---|---|
| EU_NM | nanometers  | 
| EU_MM | millimeters  | 
| EU_INCH | inches  | 
| EU_MIL | mils/thous  | 
Definition at line 483 of file eagle_parser.h.
      
  | 
  inline | 
Definition at line 497 of file eagle_parser.h.
References value.
Referenced by operator+(), operator-(), and operator==().
      
  | 
  inline | 
Definition at line 502 of file eagle_parser.h.
References ConvertToNm(), and value.
| ECOORD::ECOORD | ( | const wxString & | aValue, | 
| enum EAGLE_UNIT | aUnit ) | 
Definition at line 228 of file eagle_parser.cpp.
References ConvertToNm(), and value.
      
  | 
  inherited | 
Definition at line 579 of file eagle_parser.cpp.
References io.
Referenced by EAGLE_DOC::EAGLE_DOC(), EAPPROVED::EAPPROVED(), EATTR::EATTR(), EBUS::EBUS(), ECIRCLE::ECIRCLE(), ECLASS::ECLASS(), ECOMPATIBILITY::ECOMPATIBILITY(), ECONNECT::ECONNECT(), EDESCRIPTION::EDESCRIPTION(), EDEVICE::EDEVICE(), EDEVICE_SET::EDEVICE_SET(), EDIMENSION::EDIMENSION(), EDRAWING::EDRAWING(), EELEMENT::EELEMENT(), EFILTER::EFILTER(), EFRAME::EFRAME(), EGATE::EGATE(), EGRID::EGRID(), EHOLE::EHOLE(), EINSTANCE::EINSTANCE(), EJUNCTION::EJUNCTION(), ELABEL::ELABEL(), ELAYER::ELAYER(), ELIBRARY::ELIBRARY(), EMODEL::EMODEL(), EMODULE::EMODULE(), EMODULEINST::EMODULEINST(), ENET::ENET(), ENOTE::ENOTE(), EPACKAGE::EPACKAGE(), EPACKAGE3D::EPACKAGE3D(), EPACKAGE3DINST::EPACKAGE3DINST(), EPACKAGEINSTANCE::EPACKAGEINSTANCE(), EPAD::EPAD(), EPART::EPART(), EPIN::EPIN(), EPINMAP::EPINMAP(), EPINMAPPING::EPINMAPPING(), EPINREF::EPINREF(), EPLAIN::EPLAIN(), EPOLYGON::EPOLYGON(), EPORT::EPORT(), EPORTREF::EPORTREF(), EPROBE::EPROBE(), ERECT::ERECT(), ESCHEMATIC::ESCHEMATIC(), ESCHEMATIC_GROUP::ESCHEMATIC_GROUP(), ESEGMENT::ESEGMENT(), ESETTING::ESETTING(), ESHEET::ESHEET(), ESMD::ESMD(), ESPICE::ESPICE(), ESPLINE::ESPLINE(), ESYMBOL::ESYMBOL(), ETECHNOLOGY::ETECHNOLOGY(), ETEXT::ETEXT(), EVARIANT::EVARIANT(), EVARIANTDEF::EVARIANTDEF(), EVERTEX::EVERTEX(), EVIA::EVIA(), and EWIRE::EWIRE().
      
  | 
  static | 
Definition at line 532 of file eagle_parser.h.
References ECOORD(), ECOORD_UNIT, and value.
Definition at line 537 of file eagle_parser.h.
References ECOORD(), ECOORD_UNIT, and value.
      
  | 
  inline | 
Definition at line 542 of file eagle_parser.h.
      
  | 
  inherited | 
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 509 of file eagle_parser.h.
References value.
      
  | 
  inline | 
Definition at line 524 of file eagle_parser.h.
References value.
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 530 of file eagle_parser.h.
References ToNanoMeters().
Referenced by PCB_IO_EAGLE::kicad_fontsize(), PCB_IO_EAGLE::kicad_x(), PCB_IO_EAGLE::kicad_y(), PCB_IO_EAGLE::loadPlain(), PCB_IO_EAGLE::loadPolygon(), PCB_IO_EAGLE::loadSignals(), PCB_IO_EAGLE::packageCircle(), PCB_IO_EAGLE::packageHole(), PCB_IO_EAGLE::packagePad(), PCB_IO_EAGLE::packagePolygon(), PCB_IO_EAGLE::packageSMD(), PCB_IO_EAGLE::packageText(), PCB_IO_EAGLE::packageWire(), and parseEagle().
      
  | 
  inline | 
Definition at line 529 of file eagle_parser.h.
References To100NanoMeters().
      
  | 
  staticconstexpr | 
Unit used for the value field.
Definition at line 495 of file eagle_parser.h.
Referenced by operator+(), and operator-().
      
  | 
  inherited | 
Definition at line 405 of file eagle_parser.h.
Referenced by AdvanceProgressPhase(), EAGLE_BASE(), and Report().
| long long int ECOORD::value | 
Value expressed in nanometers.
Definition at line 492 of file eagle_parser.h.
Referenced by ECOORD(), ECOORD(), ECOORD(), operator+(), operator-(), operator==(), PCB_IO_EAGLE::packageHole(), PCB_IO_EAGLE::packagePad(), PCB_IO_EAGLE::packageSMD(), To100NanoMeters(), ToMils(), ToMm(), and ToNanoMeters().