KiCad PCB EDA Suite
|
#include <cadstar_archive_parser.h>
Classes | |
struct | CONNECTION |
< "CONN" nodename More... | |
struct | JUNCTION |
< "JPT" nodename. More... | |
Public Member Functions | |
void | ParseIdentifiers (XNODE *aNode, PARSER_CONTEXT *aContext) |
bool | ParseSubNode (XNODE *aChildNode, PARSER_CONTEXT *aContext) |
virtual void | Parse (XNODE *aNode, PARSER_CONTEXT *aContext)=0 |
Public Attributes | |
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< NETELEMENT_ID, JUNCTION > | Junctions |
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 1153 of file cadstar_archive_parser.h.
|
pure virtualinherited |
Implemented in CADSTAR_ARCHIVE_PARSER::FORMAT, CADSTAR_ARCHIVE_PARSER::TIMESTAMP, CADSTAR_ARCHIVE_PARSER::HEADER, CADSTAR_ARCHIVE_PARSER::VARIANT, CADSTAR_ARCHIVE_PARSER::VARIANT_HIERARCHY, CADSTAR_ARCHIVE_PARSER::LINECODE, CADSTAR_ARCHIVE_PARSER::HATCH, CADSTAR_ARCHIVE_PARSER::HATCHCODE, CADSTAR_ARCHIVE_PARSER::FONT, CADSTAR_ARCHIVE_PARSER::TEXTCODE, CADSTAR_ARCHIVE_PARSER::ROUTEREASSIGN, CADSTAR_ARCHIVE_PARSER::ROUTECODE, CADSTAR_ARCHIVE_PARSER::EVALUE, CADSTAR_ARCHIVE_PARSER::POINT, CADSTAR_ARCHIVE_PARSER::LONGPOINT, CADSTAR_ARCHIVE_PARSER::VERTEX, CADSTAR_ARCHIVE_PARSER::CUTOUT, CADSTAR_ARCHIVE_PARSER::SHAPE, CADSTAR_ARCHIVE_PARSER::GRID, CADSTAR_ARCHIVE_PARSER::GRIDS, CADSTAR_ARCHIVE_PARSER::SETTINGS, CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_LOCATION, CADSTAR_ARCHIVE_PARSER::ATTRNAME::COLUMNORDER, CADSTAR_ARCHIVE_PARSER::ATTRNAME::COLUMNWIDTH, CADSTAR_ARCHIVE_PARSER::ATTRNAME, CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_VALUE, CADSTAR_ARCHIVE_PARSER::TEXT_LOCATION, CADSTAR_ARCHIVE_PARSER::CADSTAR_NETCLASS, CADSTAR_ARCHIVE_PARSER::SPCCLASSNAME, CADSTAR_ARCHIVE_PARSER::REUSEBLOCK, CADSTAR_ARCHIVE_PARSER::REUSEBLOCKREF, CADSTAR_ARCHIVE_PARSER::GROUP, CADSTAR_ARCHIVE_PARSER::FIGURE, CADSTAR_ARCHIVE_PARSER::TEXT, CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::GATE, CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::PIN, CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::PIN_EQUIVALENCE, CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::SWAP_GATE, CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::SWAP_GROUP, CADSTAR_ARCHIVE_PARSER::PART::DEFINITION, CADSTAR_ARCHIVE_PARSER::PART::PART_PIN, CADSTAR_ARCHIVE_PARSER::PART, CADSTAR_ARCHIVE_PARSER::PARTS, CADSTAR_ARCHIVE_PARSER::NET::JUNCTION, CADSTAR_ARCHIVE_PARSER::DOCUMENTATION_SYMBOL, CADSTAR_ARCHIVE_PARSER::DFLTSETTINGS, CADSTAR_ARCHIVE_PARSER::ATTRCOL, CADSTAR_ARCHIVE_PARSER::ATTRCOLORS, CADSTAR_ARCHIVE_PARSER::PARTNAMECOL, CADSTAR_SCH_ARCHIVE_PARSER::TERMINAL_SHAPE, CADSTAR_SCH_ARCHIVE_PARSER::TERMINALCODE, CADSTAR_SCH_ARCHIVE_PARSER::CODEDEFS_SCM, CADSTAR_SCH_ARCHIVE_PARSER::ASSIGNMENTS_SCM, CADSTAR_SCH_ARCHIVE_PARSER::TERMINAL, CADSTAR_SCH_ARCHIVE_PARSER::PIN_NUM_LABEL_LOC, CADSTAR_SCH_ARCHIVE_PARSER::SYMDEF_SCM, CADSTAR_SCH_ARCHIVE_PARSER::LIBRARY_SCM, CADSTAR_SCH_ARCHIVE_PARSER::SHEETS, CADSTAR_SCH_ARCHIVE_PARSER::COMP, CADSTAR_SCH_ARCHIVE_PARSER::PARTREF, CADSTAR_SCH_ARCHIVE_PARSER::TERMATTR, CADSTAR_SCH_ARCHIVE_PARSER::SYMPINNAME_LABEL, CADSTAR_SCH_ARCHIVE_PARSER::SYMBOLVARIANT, CADSTAR_SCH_ARCHIVE_PARSER::SIGNALREFERENCELINK, CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::PIN_NUM, CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL, CADSTAR_SCH_ARCHIVE_PARSER::SIGLOC, CADSTAR_SCH_ARCHIVE_PARSER::BUS, CADSTAR_SCH_ARCHIVE_PARSER::BLOCK, CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::JUNCTION_SCH, CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::SYM_TERM, CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::BUS_TERM, CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::BLOCK_TERM, CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::DANGLER, CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH::CONNECTION_SCH, CADSTAR_SCH_ARCHIVE_PARSER::NET_SCH, CADSTAR_SCH_ARCHIVE_PARSER::CADSTAR_SCHEMATIC, CADSTAR_PCB_ARCHIVE_PARSER::MATERIAL, CADSTAR_PCB_ARCHIVE_PARSER::LAYER, CADSTAR_PCB_ARCHIVE_PARSER::LAYERDEFS, CADSTAR_PCB_ARCHIVE_PARSER::COPREASSIGN, CADSTAR_PCB_ARCHIVE_PARSER::COPPERCODE, CADSTAR_PCB_ARCHIVE_PARSER::SPACINGCODE::REASSIGN, CADSTAR_PCB_ARCHIVE_PARSER::SPACINGCODE, CADSTAR_PCB_ARCHIVE_PARSER::CADSTAR_PAD_SHAPE, CADSTAR_PCB_ARCHIVE_PARSER::PADREASSIGN, CADSTAR_PCB_ARCHIVE_PARSER::PADCODE, CADSTAR_PCB_ARCHIVE_PARSER::VIAREASSIGN, CADSTAR_PCB_ARCHIVE_PARSER::VIACODE, CADSTAR_PCB_ARCHIVE_PARSER::LAYERPAIR, CADSTAR_PCB_ARCHIVE_PARSER::SPCCLASSSPACE, CADSTAR_PCB_ARCHIVE_PARSER::RULESET, CADSTAR_PCB_ARCHIVE_PARSER::CODEDEFS_PCB, CADSTAR_PCB_ARCHIVE_PARSER::TECHNOLOGY_SECTION, CADSTAR_PCB_ARCHIVE_PARSER::ASSIGNMENTS, CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT_COPPER, CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT_AREA, CADSTAR_PCB_ARCHIVE_PARSER::PAD_EXITS, CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT_PAD, CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::ARROW, CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::TEXTFORMAT, CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::EXTENSION_LINE, CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::LINE, CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION, CADSTAR_PCB_ARCHIVE_PARSER::SYMDEF_PCB, CADSTAR_PCB_ARCHIVE_PARSER::LIBRARY, CADSTAR_PCB_ARCHIVE_PARSER::CADSTAR_BOARD, CADSTAR_PCB_ARCHIVE_PARSER::AREA, CADSTAR_PCB_ARCHIVE_PARSER::PIN_ATTRIBUTE, CADSTAR_PCB_ARCHIVE_PARSER::PADEXCEPTION, CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT, CADSTAR_PCB_ARCHIVE_PARSER::TRUNK, CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::PIN, CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::JUNCTION_PCB, CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::VIA, CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::COPPER_TERMINAL, CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::ROUTE, CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::CONNECTION_PCB, CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB, CADSTAR_PCB_ARCHIVE_PARSER::TEMPLATE::POURING, CADSTAR_PCB_ARCHIVE_PARSER::TEMPLATE, CADSTAR_PCB_ARCHIVE_PARSER::COPPER::NETREF::COPPER_TERM, CADSTAR_PCB_ARCHIVE_PARSER::COPPER::NETREF, CADSTAR_PCB_ARCHIVE_PARSER::COPPER, CADSTAR_PCB_ARCHIVE_PARSER::DRILL_TABLE, and CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT.
void CADSTAR_ARCHIVE_PARSER::NET::ParseIdentifiers | ( | XNODE * | aNode, |
PARSER_CONTEXT * | aContext | ||
) |
Definition at line 2186 of file cadstar_archive_parser.cpp.
References CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), and ID.
bool CADSTAR_ARCHIVE_PARSER::NET::ParseSubNode | ( | XNODE * | aChildNode, |
PARSER_CONTEXT * | aContext | ||
) |
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().
std::map<ATTRIBUTE_ID, ATTRIBUTE_VALUE> CADSTAR_ARCHIVE_PARSER::NET::AttributeValues |
Definition at line 1200 of file cadstar_archive_parser.h.
bool CADSTAR_ARCHIVE_PARSER::NET::Highlight = false |
Definition at line 1197 of file cadstar_archive_parser.h.
NET_ID CADSTAR_ARCHIVE_PARSER::NET::ID |
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> CADSTAR_ARCHIVE_PARSER::NET::Junctions |
Definition at line 1199 of file cadstar_archive_parser.h.
wxString CADSTAR_ARCHIVE_PARSER::NET::Name = wxEmptyString |
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().
NETCLASS_ID CADSTAR_ARCHIVE_PARSER::NET::NetClassID |
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().
ROUTECODE_ID CADSTAR_ARCHIVE_PARSER::NET::RouteCodeID = wxEmptyString |
"NETCODE" subnode
Definition at line 1192 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::getKiCadNet().
long CADSTAR_ARCHIVE_PARSER::NET::SignalNum = UNDEFINED_VALUE |
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().
SPACING_CLASS_ID CADSTAR_ARCHIVE_PARSER::NET::SpacingClassID |
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().