KiCad PCB EDA Suite
Loading...
Searching...
No Matches
CADSTAR_ARCHIVE_PARSER::PART Struct Reference

#include <cadstar_archive_parser.h>

Inheritance diagram for CADSTAR_ARCHIVE_PARSER::PART:
CADSTAR_ARCHIVE_PARSER::PARSER

Classes

struct  DEFINITION
 < "PARTDEFINITION" node name More...
 
struct  PART_PIN
 < "PARTPIN" node name More...
 

Public Member Functions

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

Static Public Member Functions

static CADSTAR_PIN_TYPE GetPinType (XNODE *aNode)
 

Public Attributes

PART_ID ID
 
wxString Name
 
long Version
 
DEFINITION Definition
 
std::map< PART_PIN_ID, PART_PINPartPins
 It is unclear why there are two "Pin" structures in CPA files... PART_PIN seems to be a reduced version of PART::DEFINITION::PIN Therefore, PART_PIN is only included for completeness of the parser, but won't be used.
 
bool HidePinNames = false
 This seems to be a duplicate of DEFINITION::HidePinNames Possibly only used in older file formats?
 
std::map< ATTRIBUTE_ID, ATTRIBUTE_VALUEAttributeValues
 Some attributes are defined within the part definition, whilst others are defined in the part itself.
 

Detailed Description

Definition at line 974 of file cadstar_archive_parser.h.

Member Function Documentation

◆ GetPinType()

CADSTAR_PIN_TYPE CADSTAR_ARCHIVE_PARSER::PART::GetPinType ( XNODE aNode)
static

◆ Parse()

Member Data Documentation

◆ AttributeValues

std::map<ATTRIBUTE_ID, ATTRIBUTE_VALUE> CADSTAR_ARCHIVE_PARSER::PART::AttributeValues

Some attributes are defined within the part definition, whilst others are defined in the part itself.

Definition at line 1136 of file cadstar_archive_parser.h.

Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSymbolGateAndPartFields().

◆ Definition

◆ HidePinNames

bool CADSTAR_ARCHIVE_PARSER::PART::HidePinNames = false

This seems to be a duplicate of DEFINITION::HidePinNames Possibly only used in older file formats?

Definition at line 1133 of file cadstar_archive_parser.h.

◆ ID

PART_ID CADSTAR_ARCHIVE_PARSER::PART::ID

◆ Name

◆ PartPins

std::map<PART_PIN_ID, PART_PIN> CADSTAR_ARCHIVE_PARSER::PART::PartPins

It is unclear why there are two "Pin" structures in CPA files... PART_PIN seems to be a reduced version of PART::DEFINITION::PIN Therefore, PART_PIN is only included for completeness of the parser, but won't be used.

Definition at line 1127 of file cadstar_archive_parser.h.

◆ Version

long CADSTAR_ARCHIVE_PARSER::PART::Version

Definition at line 1125 of file cadstar_archive_parser.h.


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