KiCad PCB EDA Suite
Loading...
Searching...
No Matches
CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT Struct Reference

#include <cadstar_pcb_archive_parser.h>

Inheritance diagram for CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT:
CADSTAR_ARCHIVE_PARSER::PARSER

Public Member Functions

void Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override
 

Public Attributes

NETSYNCH NetSynch = NETSYNCH::UNDEFINED
 
std::map< GROUP_ID, GROUPGroups
 
std::map< REUSEBLOCK_ID, REUSEBLOCKReuseBlocks
 
std::map< BOARD_ID, CADSTAR_BOARDBoards
 Normally CADSTAR only allows one board but.
 
std::map< FIGURE_ID, FIGUREFigures
 
std::map< AREA_ID, AREAAreas
 
std::map< COMPONENT_ID, COMPONENTComponents
 
std::map< DOCUMENTATION_SYMBOL_ID, DOCUMENTATION_SYMBOLDocumentationSymbols
 
std::map< TRUNK_ID, TRUNKTrunks
 
std::map< NET_ID, NET_PCBNets
 Contains tracks and vias.
 
std::map< TEMPLATE_ID, TEMPLATETemplates
 
std::map< COPPER_ID, COPPERCoppers
 
std::map< TEXT_ID, TEXTTexts
 
std::map< DIMENSION_ID, DIMENSIONDimensions
 
std::map< DRILL_TABLE_ID, DRILL_TABLEDrillTables
 
VARIANT_HIERARCHY VariantHierarchy
 

Detailed Description

Definition at line 1190 of file cadstar_pcb_archive_parser.h.

Member Function Documentation

◆ Parse()

void CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Parse ( XNODE aNode,
PARSER_CONTEXT aContext 
)
overridevirtual

Implements CADSTAR_ARCHIVE_PARSER::PARSER.

Definition at line 2509 of file cadstar_pcb_archive_parser.cpp.

References CADSTAR_ARCHIVE_PARSER::PARSER_CONTEXT::CheckPointCallback, CADSTAR_PCB_ARCHIVE_PARSER::FULL, XNODE::GetChildren(), XNODE::GetNext(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), group, CADSTAR_ARCHIVE_PARSER::REUSEBLOCK::ID, CADSTAR_ARCHIVE_PARSER::FIGURE::ID, CADSTAR_ARCHIVE_PARSER::TEXT::ID, CADSTAR_ARCHIVE_PARSER::NET::ID, CADSTAR_ARCHIVE_PARSER::DOCUMENTATION_SYMBOL::ID, CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::ID, CADSTAR_PCB_ARCHIVE_PARSER::CADSTAR_BOARD::ID, CADSTAR_PCB_ARCHIVE_PARSER::AREA::ID, CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::ID, CADSTAR_PCB_ARCHIVE_PARSER::TRUNK::ID, CADSTAR_PCB_ARCHIVE_PARSER::TEMPLATE::ID, CADSTAR_PCB_ARCHIVE_PARSER::COPPER::ID, CADSTAR_PCB_ARCHIVE_PARSER::DRILL_TABLE::ID, CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::IsDimension(), CADSTAR_ARCHIVE_PARSER::REUSEBLOCK::Parse(), CADSTAR_ARCHIVE_PARSER::FIGURE::Parse(), CADSTAR_ARCHIVE_PARSER::TEXT::Parse(), CADSTAR_ARCHIVE_PARSER::DOCUMENTATION_SYMBOL::Parse(), CADSTAR_PCB_ARCHIVE_PARSER::DIMENSION::Parse(), CADSTAR_PCB_ARCHIVE_PARSER::CADSTAR_BOARD::Parse(), CADSTAR_PCB_ARCHIVE_PARSER::AREA::Parse(), CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::Parse(), CADSTAR_PCB_ARCHIVE_PARSER::TRUNK::Parse(), CADSTAR_PCB_ARCHIVE_PARSER::NET_PCB::Parse(), CADSTAR_PCB_ARCHIVE_PARSER::TEMPLATE::Parse(), CADSTAR_PCB_ARCHIVE_PARSER::COPPER::Parse(), CADSTAR_PCB_ARCHIVE_PARSER::DRILL_TABLE::Parse(), THROW_UNKNOWN_NODE_IO_ERROR, THROW_UNKNOWN_PARAMETER_IO_ERROR, and CADSTAR_PCB_ARCHIVE_PARSER::WARNING.

Referenced by CADSTAR_PCB_ARCHIVE_PARSER::Parse().

Member Data Documentation

◆ Areas

std::map<AREA_ID, AREA> CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Areas

◆ Boards

std::map<BOARD_ID, CADSTAR_BOARD> CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Boards

Normally CADSTAR only allows one board but.

implemented this as a map just in case

Definition at line 1197 of file cadstar_pcb_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadBoards(), and CADSTAR_PCB_ARCHIVE_LOADER::loadTemplates().

◆ Components

std::map<COMPONENT_ID, COMPONENT> CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Components

◆ Coppers

std::map<COPPER_ID, COPPER> CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Coppers

◆ Dimensions

std::map<DIMENSION_ID, DIMENSION> CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Dimensions

◆ DocumentationSymbols

std::map<DOCUMENTATION_SYMBOL_ID, DOCUMENTATION_SYMBOL> CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::DocumentationSymbols

◆ DrillTables

std::map<DRILL_TABLE_ID, DRILL_TABLE> CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::DrillTables

Definition at line 1209 of file cadstar_pcb_archive_parser.h.

◆ Figures

std::map<FIGURE_ID, FIGURE> CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Figures

◆ Groups

std::map<GROUP_ID, GROUP> CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Groups

◆ Nets

std::map<NET_ID, NET_PCB> CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Nets

◆ NetSynch

NETSYNCH CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::NetSynch = NETSYNCH::UNDEFINED

Definition at line 1192 of file cadstar_pcb_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::Load().

◆ ReuseBlocks

std::map<REUSEBLOCK_ID, REUSEBLOCK> CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::ReuseBlocks

Definition at line 1195 of file cadstar_pcb_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::Load().

◆ Templates

◆ Texts

std::map<TEXT_ID, TEXT> CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Texts

◆ Trunks

std::map<TRUNK_ID, TRUNK> CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Trunks

Definition at line 1203 of file cadstar_pcb_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::Load().

◆ VariantHierarchy

VARIANT_HIERARCHY CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::VariantHierarchy

The documentation for this struct was generated from the following files: