KiCad PCB EDA Suite
|
#include <cadstar_sch_archive_parser.h>
Classes | |
struct | BLOCK_TERM |
< "BLOCKTERM" nodename (represents a connection to a block) More... | |
struct | BUS_TERM |
< "BUSTERM" nodename (represents a connection to a bus) More... | |
struct | CONNECTION_SCH |
< "CONN" nodename More... | |
struct | DANGLER |
< "DANGLER" nodename (represents a dangling wire) More... | |
struct | JUNCTION_SCH |
< "JPT" nodename. More... | |
struct | SYM_TERM |
< "TERM" nodename (represents a pin in a SCH symbol) 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, JUNCTION_SCH > | Junctions |
std::map< NETELEMENT_ID, SYM_TERM > | Terminals |
std::map< NETELEMENT_ID, BUS_TERM > | BusTerminals |
std::map< NETELEMENT_ID, BLOCK_TERM > | BlockTerminals |
std::map< NETELEMENT_ID, DANGLER > | Danglers |
std::vector< CONNECTION_SCH > | 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 357 of file cadstar_sch_archive_parser.h.
|
overridevirtual |
Implements CADSTAR_ARCHIVE_PARSER::PARSER.
Definition at line 1083 of file cadstar_sch_archive_parser.cpp.
References XNODE::GetChildren(), XNODE::GetNext(), CADSTAR_ARCHIVE_PARSER::NET::JUNCTION::ID, CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::BUS_TERM::ID, CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::BLOCK_TERM::ID, CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::DANGLER::ID, CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::JUNCTION_SCH::Parse(), CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::BUS_TERM::Parse(), CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::BLOCK_TERM::Parse(), CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::DANGLER::Parse(), CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::CONNECTION_SCH::Parse(), pin, and THROW_UNKNOWN_NODE_IO_ERROR.
Referenced by CADSTAR_SCH_ARCHIVE_PARSER::CADSTAR_SCHEMATIC::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::map<NETELEMENT_ID, BLOCK_TERM> CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::BlockTerminals |
Definition at line 429 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::getLocationOfNetElement(), and CADSTAR_SCH_ARCHIVE_LOADER::loadNets().
std::map<NETELEMENT_ID, BUS_TERM> CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::BusTerminals |
Definition at line 428 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::getLocationOfNetElement(), and CADSTAR_SCH_ARCHIVE_LOADER::loadNets().
std::vector<CONNECTION_SCH> CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::Connections |
Definition at line 431 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadNets().
std::map<NETELEMENT_ID, DANGLER> CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::Danglers |
Definition at line 430 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::getLocationOfNetElement(), and CADSTAR_SCH_ARCHIVE_LOADER::loadNets().
|
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_SCH> CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::Junctions |
Definition at line 426 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::getLocationOfNetElement(), and CADSTAR_SCH_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().
|
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, SYM_TERM> CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::Terminals |
Definition at line 427 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::getLocationOfNetElement(), and CADSTAR_SCH_ARCHIVE_LOADER::loadNets().