KiCad PCB EDA Suite
|
Templates are CADSTAR's equivalent to a "filled zone". More...
#include <cadstar_pcb_archive_parser.h>
Classes | |
struct | POURING |
Public Member Functions | |
void | Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override |
Public Attributes | |
TEMPLATE_ID | ID |
LINECODE_ID | LineCodeID |
wxString | Name |
NET_ID | NetID |
LAYER_ID | LayerID |
POURING | Pouring |
Copper pour settings (e.g. relief / hatching /etc.) | |
SHAPE | Shape |
bool | Fixed = false |
GROUP_ID | GroupID = wxEmptyString |
If not empty, this TEMPLATE is part of a group. | |
REUSEBLOCKREF | ReuseBlockRef |
std::map< ATTRIBUTE_ID, ATTRIBUTE_VALUE > | AttributeValues |
Templates are CADSTAR's equivalent to a "filled zone".
However the difference is that in CADSTAR the template just specifies the rules for "pouring" copper. Then, if the template has indeed been "poured", there will be one or more separate COPPER objects linked to the TEMPLATE via COPPER::PouredTemplateID
Definition at line 1043 of file cadstar_pcb_archive_parser.h.
|
overridevirtual |
Implements CADSTAR_ARCHIVE_PARSER::PARSER.
Definition at line 2287 of file cadstar_pcb_archive_parser.cpp.
References CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_VALUE::AttributeID, XNODE::GetChildren(), XNODE::GetNext(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), ID, CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_VALUE::Parse(), and THROW_UNKNOWN_NODE_IO_ERROR.
Referenced by CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Parse().
std::map<ATTRIBUTE_ID, ATTRIBUTE_VALUE> CADSTAR_PCB_ARCHIVE_PARSER::TEMPLATE::AttributeValues |
Definition at line 1122 of file cadstar_pcb_archive_parser.h.
bool CADSTAR_PCB_ARCHIVE_PARSER::TEMPLATE::Fixed = false |
Definition at line 1118 of file cadstar_pcb_archive_parser.h.
GROUP_ID CADSTAR_PCB_ARCHIVE_PARSER::TEMPLATE::GroupID = wxEmptyString |
If not empty, this TEMPLATE is part of a group.
Definition at line 1119 of file cadstar_pcb_archive_parser.h.
TEMPLATE_ID CADSTAR_PCB_ARCHIVE_PARSER::TEMPLATE::ID |
Definition at line 1111 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::calculateZonePriorities(), CADSTAR_PCB_ARCHIVE_LOADER::loadTemplates(), and CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Parse().
LAYER_ID CADSTAR_PCB_ARCHIVE_PARSER::TEMPLATE::LayerID |
Definition at line 1115 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadTemplates().
LINECODE_ID CADSTAR_PCB_ARCHIVE_PARSER::TEMPLATE::LineCodeID |
Definition at line 1112 of file cadstar_pcb_archive_parser.h.
wxString CADSTAR_PCB_ARCHIVE_PARSER::TEMPLATE::Name |
Definition at line 1113 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadTemplates().
NET_ID CADSTAR_PCB_ARCHIVE_PARSER::TEMPLATE::NetID |
Definition at line 1114 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadTemplates().
POURING CADSTAR_PCB_ARCHIVE_PARSER::TEMPLATE::Pouring |
Copper pour settings (e.g. relief / hatching /etc.)
Definition at line 1116 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadTemplates().
REUSEBLOCKREF CADSTAR_PCB_ARCHIVE_PARSER::TEMPLATE::ReuseBlockRef |
Definition at line 1120 of file cadstar_pcb_archive_parser.h.
SHAPE CADSTAR_PCB_ARCHIVE_PARSER::TEMPLATE::Shape |
Definition at line 1117 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadTemplates().