|
KiCad PCB EDA Suite
|
Parse an Eagle "attribute" XML element. More...
#include <eagle_parser.h>
Public Types | |
| enum | { Off , VALUE , NAME , BOTH } |
Public Member Functions | |
| EATTR (wxXmlNode *aTree, IO_BASE *aIo=nullptr) | |
| EATTR () | |
| void | Report (const wxString &aMsg, SEVERITY aSeverity=RPT_SEVERITY_UNDEFINED) |
| Send a message to the IO_BASE REPORTER object if one exists. | |
| void | AdvanceProgressPhase () |
Public Attributes | |
| wxString | name |
| std::optional< wxString > | value |
| std::optional< ECOORD > | x |
| std::optional< ECOORD > | y |
| std::optional< ECOORD > | size |
| std::optional< int > | layer |
| std::optional< wxString > | font |
| std::optional< double > | ratio |
| std::optional< EROT > | rot |
| std::optional< bool > | constant |
| std::optional< int > | display |
| std::optional< int > | align |
| IO_BASE * | io |
Parse an Eagle "attribute" XML element.
Definition at line 656 of file eagle_parser.h.
| anonymous enum |
| Enumerator | |
|---|---|
| Off | |
| VALUE | |
| NAME | |
| BOTH | |
Definition at line 688 of file eagle_parser.h.
| EATTR::EATTR | ( | wxXmlNode * | aTree, |
| IO_BASE * | aIo = nullptr ) |
Definition at line 857 of file eagle_parser.cpp.
References EAGLE_BASE::AdvanceProgressPhase(), align, BOTH, DEFAULT_ALIGNMENT, display, EAGLE_BASE::EAGLE_BASE(), layer, NAME, name, Off, parseAlignment(), parseOptionalAttribute(), parseRequiredAttribute(), ratio, rot, size, VALUE, value, x, and y.
|
inline |
Definition at line 702 of file eagle_parser.h.
|
inherited |
Definition at line 576 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().
|
inherited |
| std::optional<int> EATTR::align |
Definition at line 697 of file eagle_parser.h.
Referenced by EATTR(), and PCB_IO_EAGLE::orientFPText().
| std::optional<bool> EATTR::constant |
Definition at line 695 of file eagle_parser.h.
| std::optional<int> EATTR::display |
Definition at line 696 of file eagle_parser.h.
Referenced by EATTR(), and PCB_IO_EAGLE::loadElements().
| std::optional<wxString> EATTR::font |
Definition at line 684 of file eagle_parser.h.
|
inherited |
Definition at line 225 of file eagle_parser.h.
Referenced by AdvanceProgressPhase(), EAGLE_BASE(), and Report().
| std::optional<int> EATTR::layer |
Definition at line 683 of file eagle_parser.h.
Referenced by EATTR().
| wxString EATTR::name |
Definition at line 678 of file eagle_parser.h.
Referenced by EATTR(), and PCB_IO_EAGLE::loadElements().
| std::optional<double> EATTR::ratio |
Definition at line 685 of file eagle_parser.h.
Referenced by EATTR(), and PCB_IO_EAGLE::orientFPText().
| std::optional<EROT> EATTR::rot |
Definition at line 686 of file eagle_parser.h.
Referenced by EATTR(), and PCB_IO_EAGLE::orientFPText().
| std::optional<ECOORD> EATTR::size |
Definition at line 682 of file eagle_parser.h.
Referenced by EATTR(), and PCB_IO_EAGLE::orientFPText().
| std::optional<wxString> EATTR::value |
Definition at line 679 of file eagle_parser.h.
Referenced by EATTR(), PCB_IO_EAGLE::loadElements(), and PCB_IO_EAGLE::orientFPText().
| std::optional<ECOORD> EATTR::x |
Definition at line 680 of file eagle_parser.h.
Referenced by EATTR(), and PCB_IO_EAGLE::orientFPText().
| std::optional<ECOORD> EATTR::y |
Definition at line 681 of file eagle_parser.h.
Referenced by EATTR(), and PCB_IO_EAGLE::orientFPText().