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 XNODE::GetChildren(), XNODE::GetNext(), CADSTAR_ARCHIVE_PARSER::NET::JUNCTION::ID, CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::COPPER_TERMINAL::ID, CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::JUNCTION_PCB::Parse(), CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::COPPER_TERMINAL::Parse(), CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::CONNECTION_PCB::Parse(), pin, THROW_UNKNOWN_NODE_IO_ERROR, and via.
Referenced by CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Parse().
|
inherited |
Definition at line 2186 of file cadstar_archive_parser.cpp.
References CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), and ID.
|
inherited |
Definition at line 2194 of file cadstar_archive_parser.cpp.
References CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_VALUE::AttributeID, CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), CADSTAR_ARCHIVE_PARSER::NET::JUNCTION::ID, CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_VALUE::Parse(), and CADSTAR_ARCHIVE_PARSER::NET::JUNCTION::Parse().
|
inherited |
Definition at line 1200 of file cadstar_archive_parser.h.
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().
std::map<NETELEMENT_ID, COPPER_TERMINAL> CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::CopperTerminals |
Definition at line 1031 of file cadstar_pcb_archive_parser.h.
|
inherited |
Definition at line 1197 of file cadstar_archive_parser.h.
|
inherited |
Definition at line 1191 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadNets(), CADSTAR_PCB_ARCHIVE_LOADER::loadNets(), CADSTAR_PCB_ARCHIVE_LOADER::loadTemplates(), CADSTAR_SCH_ARCHIVE_PARSER::CADSTAR_SCHEMATIC::Parse(), and CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Parse().
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().
|
inherited |
This is undefined (wxEmptyString) if the net is unnamed.
"SIGNAME" subnode
Definition at line 1195 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadNet(), CADSTAR_SCH_ARCHIVE_LOADER::getNetName(), CADSTAR_SCH_ARCHIVE_LOADER::loadNets(), CADSTAR_PCB_ARCHIVE_LOADER::loadNets(), and CADSTAR_PCB_ARCHIVE_LOADER::loadTemplates().
|
inherited |
The net might not have a net class, in which case it will be wxEmptyString ("NETCLASSREF" subnode)
Definition at line 1202 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadNet().
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(), and CADSTAR_PCB_ARCHIVE_LOADER::loadNets().
|
inherited |
"NETCODE" subnode
Definition at line 1192 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadNet().
|
inherited |
This is undefined if the net has been given a name.
"SIGNUM" subnode.
Definition at line 1193 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadNet(), CADSTAR_SCH_ARCHIVE_LOADER::getNetName(), CADSTAR_SCH_ARCHIVE_LOADER::loadNets(), and CADSTAR_PCB_ARCHIVE_LOADER::loadNets().
|
inherited |
The net might not have a spacing class, in which case it will be wxEmptyString ("SPACINGCLASS" subnode)
Definition at line 1205 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadNet().
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().