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

#include <cadstar_pcb_archive_parser.h>

Inheritance diagram for CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT:
CADSTAR_ARCHIVE_PARSER::PARSER

Public Member Functions

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

Public Attributes

COMPONENT_ID ID
 
wxString Name
 Designator e.g. "C1", "R1", etc.
 
PART_ID PartID
 
SYMDEF_ID SymdefID
 
POINT Origin
 Origin of the component (this is used as the reference point when placing the component in the design)
 
GROUP_ID GroupID = wxEmptyString
 If not empty, this component is part of a group.
 
REUSEBLOCKREF ReuseBlockRef
 
COMPONENT_ID VariantParentComponentID = wxEmptyString
 
VARIANT_ID VariantID = wxEmptyString
 
long OrientAngle = 0
 
bool TestPoint = false
 Indicates whether this component should be treated as a testpoint.
 
bool Mirror = false
 
bool Fixed = false
 
READABILITY Readability = READABILITY::BOTTOM_TO_TOP
 
std::map< ATTRIBUTE_ID, TEXT_LOCATIONTextLocations
 This contains location of any attributes, including designator position.
 
std::map< ATTRIBUTE_ID, ATTRIBUTE_VALUEAttributeValues
 
std::map< PART_DEFINITION_PIN_ID, wxString > PinLabels
 This is inherited from the PARTS library but is allowed to be out of sync.
 
std::map< PART_DEFINITION_PIN_ID, PIN_ATTRIBUTEPinAttributes
 
std::map< PAD_ID, PADEXCEPTIONPadExceptions
 Override pad definitions for this instance.
 

Detailed Description

Definition at line 903 of file cadstar_pcb_archive_parser.h.

Member Function Documentation

◆ Parse()

Member Data Documentation

◆ AttributeValues

std::map<ATTRIBUTE_ID, ATTRIBUTE_VALUE> CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::AttributeValues

◆ Fixed

bool CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::Fixed = false

Definition at line 920 of file cadstar_pcb_archive_parser.h.

◆ GroupID

GROUP_ID CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::GroupID = wxEmptyString

If not empty, this component is part of a group.

Definition at line 912 of file cadstar_pcb_archive_parser.h.

◆ ID

COMPONENT_ID CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::ID

◆ Mirror

bool CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::Mirror = false

◆ Name

wxString CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::Name

Designator e.g. "C1", "R1", etc.

Definition at line 906 of file cadstar_pcb_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadComponents().

◆ OrientAngle

long CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::OrientAngle = 0

◆ Origin

POINT CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::Origin

Origin of the component (this is used as the reference point when placing the component in the design)

Definition at line 909 of file cadstar_pcb_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadComponents().

◆ PadExceptions

std::map<PAD_ID, PADEXCEPTION> CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::PadExceptions

Override pad definitions for this instance.

Definition at line 932 of file cadstar_pcb_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadComponents().

◆ PartID

PART_ID CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::PartID

◆ PinAttributes

std::map<PART_DEFINITION_PIN_ID, PIN_ATTRIBUTE> CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::PinAttributes

Definition at line 931 of file cadstar_pcb_archive_parser.h.

◆ PinLabels

std::map<PART_DEFINITION_PIN_ID, wxString> CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::PinLabels

This is inherited from the PARTS library but is allowed to be out of sync.

See PART::DEFINITION::PIN::Label

Definition at line 927 of file cadstar_pcb_archive_parser.h.

◆ Readability

READABILITY CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::Readability = READABILITY::BOTTOM_TO_TOP

Definition at line 921 of file cadstar_pcb_archive_parser.h.

◆ ReuseBlockRef

REUSEBLOCKREF CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::ReuseBlockRef

Definition at line 913 of file cadstar_pcb_archive_parser.h.

◆ SymdefID

SYMDEF_ID CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::SymdefID

◆ TestPoint

bool CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::TestPoint = false

Indicates whether this component should be treated as a testpoint.

See SYMDEF_TYPE::TESTPOINT

Definition at line 917 of file cadstar_pcb_archive_parser.h.

◆ TextLocations

std::map<ATTRIBUTE_ID, TEXT_LOCATION> CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::TextLocations

This contains location of any attributes, including designator position.

Definition at line 923 of file cadstar_pcb_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadComponentAttributes().

◆ VariantID

VARIANT_ID CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::VariantID = wxEmptyString

◆ VariantParentComponentID

COMPONENT_ID CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::VariantParentComponentID = wxEmptyString

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