|
KiCad PCB EDA Suite
|
Lightweight mutable tree node for the intermediate Eagle binary tree. More...
Public Member Functions | |
| EGB_NODE * | AddChild (int aId, const wxString &aName) |
| bool | HasProp (const wxString &aKey) const |
| wxString | Prop (const wxString &aKey) const |
| long | PropLong (const wxString &aKey) const |
| wxString | PropDoubled (const wxString &aKey) const |
| Format a property doubled in 64-bit so the half-to-full widening cannot overflow a 32-bit long. | |
| EGB_NODE * | FindChildById (int aId) const |
| EGB_NODE * | FindChildByName (const wxString &aName) const |
Public Attributes | |
| int | id = 0 |
| wxString | name |
| std::map< wxString, wxString > | props |
| std::vector< std::unique_ptr< EGB_NODE > > | children |
| EGB_NODE * | parent = nullptr |
Lightweight mutable tree node for the intermediate Eagle binary tree.
Definition at line 85 of file eagle_bin_parser.h.
| EAGLE_BIN_PARSER::EGB_NODE * EAGLE_BIN_PARSER::EGB_NODE::AddChild | ( | int | aId, |
| const wxString & | aName ) |
Definition at line 748 of file eagle_bin_parser.cpp.
References children.
Referenced by EAGLE_BIN_PARSER::postprocDrc(), EAGLE_BIN_PARSER::postProcess(), and EAGLE_BIN_PARSER::readBlock().
| EAGLE_BIN_PARSER::EGB_NODE * EAGLE_BIN_PARSER::EGB_NODE::FindChildById | ( | int | aId | ) | const |
Definition at line 785 of file eagle_bin_parser.cpp.
References children.
Referenced by EAGLE_BIN_PARSER::postprocContactRefs(), EAGLE_BIN_PARSER::postProcess(), EAGLE_BIN_PARSER::postprocLibs(), and EAGLE_BIN_PARSER::postprocNames().
| EAGLE_BIN_PARSER::EGB_NODE * EAGLE_BIN_PARSER::EGB_NODE::FindChildByName | ( | const wxString & | aName | ) | const |
Definition at line 797 of file eagle_bin_parser.cpp.
References children.
Referenced by EAGLE_BIN_PARSER::postProcess().
|
inline |
Definition at line 94 of file eagle_bin_parser.h.
References props.
Referenced by EAGLE_BIN_PARSER::arcDecode(), EAGLE_BIN_PARSER::postprocArcs(), EAGLE_BIN_PARSER::postprocCircles(), EAGLE_BIN_PARSER::postprocContactRefs(), EAGLE_BIN_PARSER::postprocDimensions(), EAGLE_BIN_PARSER::postprocRotation(), EAGLE_BIN_PARSER::postprocSmd(), and EAGLE_BIN_PARSER::postprocWires().
| wxString EAGLE_BIN_PARSER::EGB_NODE::Prop | ( | const wxString & | aKey | ) | const |
Definition at line 760 of file eagle_bin_parser.cpp.
References props.
Referenced by EAGLE_BIN_PARSER::postprocArcs(), EAGLE_BIN_PARSER::postprocContactRefs(), EAGLE_BIN_PARSER::postprocNames(), EAGLE_BIN_PARSER::postprocRotation(), EAGLE_BIN_PARSER::postprocWires(), PropDoubled(), and PropLong().
| wxString EAGLE_BIN_PARSER::EGB_NODE::PropDoubled | ( | const wxString & | aKey | ) | const |
Format a property doubled in 64-bit so the half-to-full widening cannot overflow a 32-bit long.
Definition at line 776 of file eagle_bin_parser.cpp.
References Prop().
Referenced by EAGLE_BIN_PARSER::postprocArcs(), EAGLE_BIN_PARSER::postprocCircles(), EAGLE_BIN_PARSER::postprocDimensions(), EAGLE_BIN_PARSER::postprocSmd(), and EAGLE_BIN_PARSER::postprocWires().
| long EAGLE_BIN_PARSER::EGB_NODE::PropLong | ( | const wxString & | aKey | ) | const |
Definition at line 767 of file eagle_bin_parser.cpp.
References Prop().
Referenced by EAGLE_BIN_PARSER::arcDecode(), EAGLE_BIN_PARSER::postprocArcs(), EAGLE_BIN_PARSER::postprocContactRefs(), EAGLE_BIN_PARSER::postprocNames(), EAGLE_BIN_PARSER::postprocRotation(), and EAGLE_BIN_PARSER::postprocWires().
| std::vector<std::unique_ptr<EGB_NODE> > EAGLE_BIN_PARSER::EGB_NODE::children |
Definition at line 90 of file eagle_bin_parser.h.
Referenced by AddChild(), FindChildById(), FindChildByName(), EAGLE_BIN_PARSER::postprocArcs(), EAGLE_BIN_PARSER::postprocCircles(), EAGLE_BIN_PARSER::postprocContactRefs(), EAGLE_BIN_PARSER::postprocDimensions(), EAGLE_BIN_PARSER::postprocElements(), EAGLE_BIN_PARSER::postProcess(), EAGLE_BIN_PARSER::postprocFreeText(), EAGLE_BIN_PARSER::postprocLayers(), EAGLE_BIN_PARSER::postprocLibs(), EAGLE_BIN_PARSER::postprocNames(), EAGLE_BIN_PARSER::postprocRotation(), EAGLE_BIN_PARSER::postprocSignals(), EAGLE_BIN_PARSER::postprocSmd(), EAGLE_BIN_PARSER::postprocUnits(), EAGLE_BIN_PARSER::postprocVias(), EAGLE_BIN_PARSER::postprocWires(), and EAGLE_BIN_PARSER::toXml().
| int EAGLE_BIN_PARSER::EGB_NODE::id = 0 |
Definition at line 87 of file eagle_bin_parser.h.
Referenced by EAGLE_BIN_PARSER::postprocArcs(), EAGLE_BIN_PARSER::postprocCircles(), EAGLE_BIN_PARSER::postprocDimensions(), EAGLE_BIN_PARSER::postprocFreeText(), EAGLE_BIN_PARSER::postprocNames(), EAGLE_BIN_PARSER::postprocRotation(), EAGLE_BIN_PARSER::postprocSignals(), EAGLE_BIN_PARSER::postprocSmd(), EAGLE_BIN_PARSER::postprocVias(), and EAGLE_BIN_PARSER::postprocWires().
| wxString EAGLE_BIN_PARSER::EGB_NODE::name |
Definition at line 88 of file eagle_bin_parser.h.
Referenced by EAGLE_BIN_PARSER::toXml().
| EGB_NODE* EAGLE_BIN_PARSER::EGB_NODE::parent = nullptr |
Definition at line 91 of file eagle_bin_parser.h.
Referenced by EAGLE_BIN_PARSER::postprocLibs().
| std::map<wxString, wxString> EAGLE_BIN_PARSER::EGB_NODE::props |
Definition at line 89 of file eagle_bin_parser.h.
Referenced by EAGLE_BIN_PARSER::arcDecode(), EAGLE_BIN_PARSER::fixLongText(), HasProp(), EAGLE_BIN_PARSER::postprocArcs(), EAGLE_BIN_PARSER::postprocCircles(), EAGLE_BIN_PARSER::postprocContactRefs(), EAGLE_BIN_PARSER::postprocDimensions(), EAGLE_BIN_PARSER::postprocDrc(), EAGLE_BIN_PARSER::postprocNames(), EAGLE_BIN_PARSER::postprocRotation(), EAGLE_BIN_PARSER::postprocSmd(), EAGLE_BIN_PARSER::postprocUnits(), EAGLE_BIN_PARSER::postprocVias(), EAGLE_BIN_PARSER::postprocWires(), Prop(), EAGLE_BIN_PARSER::readBlock(), and EAGLE_BIN_PARSER::toXml().