KiCad PCB EDA Suite
Loading...
Searching...
No Matches
CADSTAR_SCH_ARCHIVE_PARSER::BLOCK Struct Reference

#include <cadstar_sch_archive_parser.h>

Inheritance diagram for CADSTAR_SCH_ARCHIVE_PARSER::BLOCK:
CADSTAR_ARCHIVE_PARSER::PARSER

Public Types

enum class  TYPE { CLONE , PARENT , CHILD }
 

Public Member Functions

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

Public Attributes

BLOCK_ID ID
 
TYPE Type
 Determines what the associated layer is, whether parent, child or clone.
 
LAYER_ID LayerID = wxEmptyString
 The sheet block is on (TODO: verify this is true)
 
LAYER_ID AssocLayerID = wxEmptyString
 Parent or Child linked sheet.
 
wxString Name = wxEmptyString
 
bool HasBlockLabel = false
 
ATTRIBUTE_LOCATION BlockLabel
 
std::map< TERMINAL_ID, TERMINALTerminals
 
std::map< FIGURE_ID, FIGUREFigures
 

Detailed Description

Definition at line 333 of file cadstar_sch_archive_parser.h.

Member Enumeration Documentation

◆ TYPE

Enumerator
CLONE 

the block is referring to the sheet it is on.

PARENT 
CHILD 

Definition at line 335 of file cadstar_sch_archive_parser.h.

Member Function Documentation

◆ Parse()

Member Data Documentation

◆ AssocLayerID

LAYER_ID CADSTAR_SCH_ARCHIVE_PARSER::BLOCK::AssocLayerID = wxEmptyString

◆ BlockLabel

ATTRIBUTE_LOCATION CADSTAR_SCH_ARCHIVE_PARSER::BLOCK::BlockLabel

◆ Figures

std::map<FIGURE_ID, FIGURE> CADSTAR_SCH_ARCHIVE_PARSER::BLOCK::Figures

◆ HasBlockLabel

bool CADSTAR_SCH_ARCHIVE_PARSER::BLOCK::HasBlockLabel = false

◆ ID

◆ LayerID

LAYER_ID CADSTAR_SCH_ARCHIVE_PARSER::BLOCK::LayerID = wxEmptyString

The sheet block is on (TODO: verify this is true)

Definition at line 344 of file cadstar_sch_archive_parser.h.

Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadChildSheets(), and CADSTAR_SCH_ARCHIVE_LOADER::loadHierarchicalSheetPins().

◆ Name

wxString CADSTAR_SCH_ARCHIVE_PARSER::BLOCK::Name = wxEmptyString

◆ Terminals

std::map<TERMINAL_ID, TERMINAL> CADSTAR_SCH_ARCHIVE_PARSER::BLOCK::Terminals

◆ Type

TYPE CADSTAR_SCH_ARCHIVE_PARSER::BLOCK::Type

Determines what the associated layer is, whether parent, child or clone.

Definition at line 343 of file cadstar_sch_archive_parser.h.

Referenced by CADSTAR_SCH_ARCHIVE_LOADER::findOrphanSheets(), CADSTAR_SCH_ARCHIVE_LOADER::loadChildSheets(), and CADSTAR_SCH_ARCHIVE_LOADER::loadHierarchicalSheetPins().


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