| 
    KiCad PCB EDA Suite
    
   | 
 
#include <cadstar_pcb_archive_parser.h>
  
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_LOCATION > | TextLocations | 
| This contains location of any attributes, including designator position.   | |
| std::map< ATTRIBUTE_ID, ATTRIBUTE_VALUE > | AttributeValues | 
| 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_ATTRIBUTE > | PinAttributes | 
| std::map< PAD_ID, PADEXCEPTION > | PadExceptions | 
| Override pad definitions for this instance.   | |
Definition at line 903 of file cadstar_pcb_archive_parser.h.
      
  | 
  overridevirtual | 
Implements CADSTAR_ARCHIVE_PARSER::PARSER.
Definition at line 1842 of file cadstar_pcb_archive_parser.cpp.
References CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_VALUE::AttributeID, CADSTAR_ARCHIVE_PARSER::TEXT_LOCATION::AttributeID, AttributeValues, Fixed, XNODE::GetChildren(), XNODE::GetNext(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), GroupID, ID, CADSTAR_PCB_ARCHIVE_PARSER::PADEXCEPTION::ID, Mirror, Name, OrientAngle, Origin, PadExceptions, CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_VALUE::Parse(), CADSTAR_ARCHIVE_PARSER::TEXT_LOCATION::Parse(), CADSTAR_PCB_ARCHIVE_PARSER::PADEXCEPTION::Parse(), CADSTAR_PCB_ARCHIVE_PARSER::PIN_ATTRIBUTE::Parse(), CADSTAR_ARCHIVE_PARSER::ParseReadability(), PartID, CADSTAR_PCB_ARCHIVE_PARSER::PIN_ATTRIBUTE::Pin, PinAttributes, PinLabels, Readability, ReuseBlockRef, SymdefID, TestPoint, TextLocations, THROW_MISSING_PARAMETER_IO_ERROR, THROW_UNKNOWN_NODE_IO_ERROR, VariantID, and VariantParentComponentID.
Referenced by CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Parse().
| std::map<ATTRIBUTE_ID, ATTRIBUTE_VALUE> CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::AttributeValues | 
Definition at line 926 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadComponentAttributes(), and Parse().
| bool CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::Fixed = false | 
Definition at line 920 of file cadstar_pcb_archive_parser.h.
Referenced by Parse().
| 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.
Referenced by Parse().
| COMPONENT_ID CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::ID | 
Definition at line 905 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadComponents(), Parse(), and CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Parse().
| bool CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::Mirror = false | 
Definition at line 919 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadComponents(), and Parse().
| 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(), and Parse().
| long CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::OrientAngle = 0 | 
Definition at line 916 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadComponents(), and Parse().
| 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(), and Parse().
| 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(), and Parse().
| PART_ID CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::PartID | 
Definition at line 907 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadComponentAttributes(), CADSTAR_PCB_ARCHIVE_LOADER::loadComponents(), and Parse().
| 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.
Referenced by Parse().
| 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.
Referenced by Parse().
| READABILITY CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::Readability = READABILITY::BOTTOM_TO_TOP | 
Definition at line 921 of file cadstar_pcb_archive_parser.h.
Referenced by Parse().
| REUSEBLOCKREF CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::ReuseBlockRef | 
Definition at line 913 of file cadstar_pcb_archive_parser.h.
Referenced by Parse().
| SYMDEF_ID CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::SymdefID | 
Definition at line 908 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadComponents(), and Parse().
| bool CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::TestPoint = false | 
Indicates whether this component should be treated as a testpoint.
Definition at line 917 of file cadstar_pcb_archive_parser.h.
Referenced by Parse().
| 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(), and Parse().
| VARIANT_ID CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::VariantID = wxEmptyString | 
Definition at line 915 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadComponents(), and Parse().
| COMPONENT_ID CADSTAR_PCB_ARCHIVE_PARSER::COMPONENT::VariantParentComponentID = wxEmptyString | 
Definition at line 914 of file cadstar_pcb_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadComponents(), and Parse().