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

< "PARTDEFINITION" node name More...

#include <cadstar_archive_parser.h>

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

Classes

struct  GATE
 < "GATEDEFINITION" node name More...
 
struct  PIN
 < "PARTDEFINITIONPIN" node name More...
 
struct  PIN_EQUIVALENCE
 < "PINEQUIVALENCE" Node name More...
 
struct  SWAP_GATE
 < "SWAPGATE" Node name (represents an "Element") More...
 
struct  SWAP_GROUP
 

Public Member Functions

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

Public Attributes

wxString Name
 This name can be different to the PART name.
 
bool HidePinNames
 Specifies whether to display the pin names/identifier in the schematic symbol or not.
 
long MaxPinCount
 Optional parameter which is used for specifying the number of electrical pins on the PCB component symbol to be used in the part definition (this should not include mechanical pins for fixing etc.).
 
std::map< GATE_ID, GATEGateSymbols
 
std::map< PART_DEFINITION_PIN_ID, PINPins
 
std::map< ATTRIBUTE_ID, ATTRIBUTE_VALUEAttributeValues
 Some attributes are defined within the part definition, whilst others are defined in the part.
 
std::vector< PIN_EQUIVALENCEPinEquivalences
 
std::vector< SWAP_GROUPSwapGroups
 

Detailed Description

< "PARTDEFINITION" node name

Definition at line 978 of file cadstar_archive_parser.h.

Member Function Documentation

◆ Parse()

Member Data Documentation

◆ AttributeValues

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

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

Definition at line 1101 of file cadstar_archive_parser.h.

Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSymbolGateAndPartFields().

◆ GateSymbols

std::map<GATE_ID, GATE> CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::GateSymbols

◆ HidePinNames

bool CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::HidePinNames
Initial value:
=
false

Specifies whether to display the pin names/identifier in the schematic symbol or not.

E.g. it is useful to display pin name information for integrated circuits but less so for resistors and capacitors. (subnode HIDEPINNAMES)

Definition at line 1085 of file cadstar_archive_parser.h.

Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSymbolGateAndPartFields().

◆ MaxPinCount

long CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::MaxPinCount
Initial value:

Optional parameter which is used for specifying the number of electrical pins on the PCB component symbol to be used in the part definition (this should not include mechanical pins for fixing etc.).

This value must be less than or equal to than the number of pins on the PCB Component symbol.

Definition at line 1091 of file cadstar_archive_parser.h.

◆ Name

wxString CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::Name

This name can be different to the PART name.

Definition at line 1084 of file cadstar_archive_parser.h.

Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadComponents().

◆ PinEquivalences

std::vector<PIN_EQUIVALENCE> CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::PinEquivalences

Definition at line 1105 of file cadstar_archive_parser.h.

◆ Pins

std::map<PART_DEFINITION_PIN_ID, PIN> CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::Pins

◆ SwapGroups

std::vector<SWAP_GROUP> CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::SwapGroups

Definition at line 1106 of file cadstar_archive_parser.h.


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