|
KiCad PCB EDA Suite
|
#include <cadstar_pcb_archive_parser.h>
Classes | |
| struct | CONNECTION_PCB |
| < "CONN" nodename More... | |
| struct | COPPER_TERMINAL |
| < "COPTERM" nodename More... | |
| struct | JUNCTION_PCB |
| < "JPT" nodename More... | |
| struct | PIN |
| < "PIN" nodename (represents a PAD in a PCB component) More... | |
| struct | ROUTE |
| < "ROUTE" nodename More... | |
| struct | ROUTE_VERTEX |
| < Two sibbling nodes: first node being "ROUTEWIDTH" and next node being a VERTEX (e.g. More... | |
| struct | VIA |
| < "VIA" nodename More... | |
Public Member Functions | |
| void | Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override |
| void | ParseIdentifiers (XNODE *aNode, PARSER_CONTEXT *aContext) |
| bool | ParseSubNode (XNODE *aChildNode, PARSER_CONTEXT *aContext) |
Public Attributes | |
| std::map< NETELEMENT_ID, PIN > | Pins |
| std::map< NETELEMENT_ID, JUNCTION_PCB > | Junctions |
| std::map< NETELEMENT_ID, VIA > | Vias |
| std::map< NETELEMENT_ID, COPPER_TERMINAL > | CopperTerminals |
| std::vector< CONNECTION_PCB > | Connections |
| NET_ID | ID |
| ROUTECODE_ID | RouteCodeID = wxEmptyString |
| "NETCODE" subnode | |
| long | SignalNum = UNDEFINED_VALUE |
| This is undefined if the net has been given a name. | |
| wxString | Name = wxEmptyString |
| This is undefined (wxEmptyString) if the net is unnamed. | |
| bool | Highlight = false |
| std::map< ATTRIBUTE_ID, ATTRIBUTE_VALUE > | AttributeValues |
| NETCLASS_ID | NetClassID |
| The net might not have a net class, in which case it will be wxEmptyString ("NETCLASSREF" subnode) | |
| SPACING_CLASS_ID | SpacingClassID |
| The net might not have a spacing class, in which case it will be wxEmptyString ("SPACINGCLASS" subnode) | |
Definition at line 948 of file cadstar_pcb_archive_parser.h.
|
overridevirtual |
Implements CADSTAR_ARCHIVE_PARSER::PARSER.
Definition at line 2157 of file cadstar_pcb_archive_parser.cpp.
References Connections, CopperTerminals, XNODE::GetChildren(), XNODE::GetNext(), CADSTAR_ARCHIVE_PARSER::NET::JUNCTION::ID, CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::COPPER_TERMINAL::ID, Junctions, CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::CONNECTION_PCB::Parse(), CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::COPPER_TERMINAL::Parse(), CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::JUNCTION_PCB::Parse(), CADSTAR_ARCHIVE_PARSER::NET::ParseIdentifiers(), CADSTAR_ARCHIVE_PARSER::NET::ParseSubNode(), pin, Pins, THROW_UNKNOWN_NODE_IO_ERROR, via, and Vias.
Referenced by CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Parse().
|
inherited |
Definition at line 2188 of file cadstar_archive_parser.cpp.
References CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), and ID.
Referenced by CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::Parse(), and CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::Parse().
|
inherited |
Definition at line 2196 of file cadstar_archive_parser.cpp.
References CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_VALUE::AttributeID, AttributeValues, CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), Highlight, CADSTAR_ARCHIVE_PARSER::NET::JUNCTION::ID, Junctions, Name, NetClassID, CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_VALUE::Parse(), CADSTAR_ARCHIVE_PARSER::NET::JUNCTION::Parse(), RouteCodeID, SignalNum, and SpacingClassID.
Referenced by CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::Parse(), and CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::Parse().
|
inherited |
Definition at line 1195 of file cadstar_archive_parser.h.
Referenced by ParseSubNode().
| std::vector<CONNECTION_PCB> CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::Connections |
Definition at line 1032 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadNets(), and Parse().
| std::map<NETELEMENT_ID, COPPER_TERMINAL> CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::CopperTerminals |
Definition at line 1031 of file cadstar_pcb_archive_parser.h.
Referenced by Parse().
|
inherited |
Definition at line 1192 of file cadstar_archive_parser.h.
Referenced by ParseSubNode().
|
inherited |
Definition at line 1186 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadNets(), CADSTAR_SCH_ARCHIVE_LOADER::loadNets(), CADSTAR_PCB_ARCHIVE_LOADER::loadTemplates(), CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Parse(), CADSTAR_SCH_ARCHIVE_PARSER::CADSTAR_SCHEMATIC::Parse(), and ParseIdentifiers().
| std::map<NETELEMENT_ID, JUNCTION_PCB> CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::Junctions |
Definition at line 1029 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadNets(), and Parse().
|
inherited |
This is undefined (wxEmptyString) if the net is unnamed.
"SIGNAME" subnode
Definition at line 1190 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadNet(), CADSTAR_SCH_ARCHIVE_LOADER::getNetName(), CADSTAR_PCB_ARCHIVE_LOADER::loadNets(), CADSTAR_SCH_ARCHIVE_LOADER::loadNets(), CADSTAR_PCB_ARCHIVE_LOADER::loadTemplates(), and ParseSubNode().
|
inherited |
The net might not have a net class, in which case it will be wxEmptyString ("NETCLASSREF" subnode)
Definition at line 1197 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadNet(), and ParseSubNode().
| std::map<NETELEMENT_ID, PIN> CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::Pins |
Definition at line 1028 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadNet(), CADSTAR_PCB_ARCHIVE_LOADER::loadNets(), and Parse().
|
inherited |
"NETCODE" subnode
Definition at line 1187 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadNet(), and ParseSubNode().
|
inherited |
This is undefined if the net has been given a name.
"SIGNUM" subnode.
Definition at line 1188 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadNet(), CADSTAR_SCH_ARCHIVE_LOADER::getNetName(), CADSTAR_PCB_ARCHIVE_LOADER::loadNets(), CADSTAR_SCH_ARCHIVE_LOADER::loadNets(), and ParseSubNode().
|
inherited |
The net might not have a spacing class, in which case it will be wxEmptyString ("SPACINGCLASS" subnode)
Definition at line 1200 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadNet(), and ParseSubNode().
| std::map<NETELEMENT_ID, VIA> CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::Vias |
Definition at line 1030 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadNets(), and Parse().