KiCad PCB EDA Suite
|
From CADSTAR Help: "Area is for creating areas within which, and nowhere else, certain operations are carried out (e.g. More...
#include <cadstar_pcb_archive_parser.h>
Public Member Functions | |
void | Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override |
Public Attributes | |
AREA_ID | ID |
LINECODE_ID | LineCodeID |
wxString | Name |
LAYER_ID | LayerID |
SHAPE | Shape |
RULESET_ID | RuleSetID = wxEmptyString |
bool | Fixed = false |
bool | Placement = false |
From CADSTAR Help: "Auto Placement can place components within this area. More... | |
bool | Routing = false |
From CADSTAR Help: "Area can be used to place routes during Automatic Routing. More... | |
bool | Keepout = false |
From CADSTAR Help: "Auto Placement cannot place components within this area. More... | |
bool | NoTracks = false |
From CADSTAR Help: "Area cannot be used to place routes during automatic routing. More... | |
bool | NoVias = false |
From CADSTAR Help: "No vias will be placed within this area by the automatic router. More... | |
long | AreaHeight = UNDEFINED_VALUE |
From CADSTAR Help: "The Height value specified for the PCB component is checked against the Height value assigned to the Area in which the component is placed. More... | |
GROUP_ID | GroupID = wxEmptyString |
If not empty, this AREA is part of a group. More... | |
REUSEBLOCKREF | ReuseBlockRef |
std::map< ATTRIBUTE_ID, ATTRIBUTE_VALUE > | AttributeValues |
From CADSTAR Help: "Area is for creating areas within which, and nowhere else, certain operations are carried out (e.g.
Placement.); and for creating 'keep out' areas, within which no operations are carried out and where no items are placed by operations such as Placement and Routing. [...] More than one function can be assigned to an area."
Definition at line 820 of file cadstar_pcb_archive_parser.h.
|
overridevirtual |
Implements CADSTAR_ARCHIVE_PARSER::PARSER.
Definition at line 1679 of file cadstar_pcb_archive_parser.cpp.
References CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_VALUE::AttributeID, CADSTAR_ARCHIVE_PARSER::CheckNoChildNodes(), Format(), XNODE::GetChildren(), XNODE::GetNext(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), CADSTAR_ARCHIVE_PARSER::SHAPE::IsShape(), CADSTAR_ARCHIVE_PARSER::IsValidAttribute(), CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_VALUE::Parse(), THROW_MISSING_NODE_IO_ERROR, THROW_UNKNOWN_NODE_IO_ERROR, and THROW_UNKNOWN_PARAMETER_IO_ERROR.
Referenced by CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Parse().
long CADSTAR_PCB_ARCHIVE_PARSER::AREA::AreaHeight = UNDEFINED_VALUE |
From CADSTAR Help: "The Height value specified for the PCB component is checked against the Height value assigned to the Area in which the component is placed.
If the component height exceeds the area height, an error is output"
Definition at line 844 of file cadstar_pcb_archive_parser.h.
std::map<ATTRIBUTE_ID, ATTRIBUTE_VALUE> CADSTAR_PCB_ARCHIVE_PARSER::AREA::AttributeValues |
Definition at line 852 of file cadstar_pcb_archive_parser.h.
bool CADSTAR_PCB_ARCHIVE_PARSER::AREA::Fixed = false |
Definition at line 831 of file cadstar_pcb_archive_parser.h.
GROUP_ID CADSTAR_PCB_ARCHIVE_PARSER::AREA::GroupID = wxEmptyString |
If not empty, this AREA is part of a group.
Definition at line 850 of file cadstar_pcb_archive_parser.h.
AREA_ID CADSTAR_PCB_ARCHIVE_PARSER::AREA::ID |
Definition at line 822 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Parse().
bool CADSTAR_PCB_ARCHIVE_PARSER::AREA::Keepout = false |
From CADSTAR Help: "Auto Placement cannot place components within this area.
"
Definition at line 837 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadAreas().
LAYER_ID CADSTAR_PCB_ARCHIVE_PARSER::AREA::LayerID |
Definition at line 825 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadAreas().
LINECODE_ID CADSTAR_PCB_ARCHIVE_PARSER::AREA::LineCodeID |
Definition at line 823 of file cadstar_pcb_archive_parser.h.
wxString CADSTAR_PCB_ARCHIVE_PARSER::AREA::Name |
Definition at line 824 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadAreas().
bool CADSTAR_PCB_ARCHIVE_PARSER::AREA::NoTracks = false |
From CADSTAR Help: "Area cannot be used to place routes during automatic routing.
"
Definition at line 839 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadAreas().
bool CADSTAR_PCB_ARCHIVE_PARSER::AREA::NoVias = false |
From CADSTAR Help: "No vias will be placed within this area by the automatic router.
"
Definition at line 841 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadAreas().
bool CADSTAR_PCB_ARCHIVE_PARSER::AREA::Placement = false |
From CADSTAR Help: "Auto Placement can place components within this area.
"
Definition at line 833 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadAreas().
REUSEBLOCKREF CADSTAR_PCB_ARCHIVE_PARSER::AREA::ReuseBlockRef |
Definition at line 851 of file cadstar_pcb_archive_parser.h.
bool CADSTAR_PCB_ARCHIVE_PARSER::AREA::Routing = false |
From CADSTAR Help: "Area can be used to place routes during Automatic Routing.
"
Definition at line 835 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadAreas().
RULESET_ID CADSTAR_PCB_ARCHIVE_PARSER::AREA::RuleSetID = wxEmptyString |
Definition at line 829 of file cadstar_pcb_archive_parser.h.
SHAPE CADSTAR_PCB_ARCHIVE_PARSER::AREA::Shape |
Definition at line 826 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadAreas().