|
KiCad PCB EDA Suite
|
< "PARTDEFINITION" node name More...
#include <cadstar_archive_parser.h>
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 = false |
| Specifies whether to display the pin names/identifier in the schematic symbol or not. | |
| long | MaxPinCount = UNDEFINED_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.). | |
| std::map< GATE_ID, GATE > | GateSymbols |
| std::map< PART_DEFINITION_PIN_ID, PIN > | Pins |
| std::map< ATTRIBUTE_ID, ATTRIBUTE_VALUE > | AttributeValues |
| Some attributes are defined within the part definition, whilst others are defined in the part. | |
| std::vector< PIN_EQUIVALENCE > | PinEquivalences |
| std::vector< SWAP_GROUP > | SwapGroups |
< "PARTDEFINITION" node name
Definition at line 982 of file cadstar_archive_parser.h.
|
overridevirtual |
Implements CADSTAR_ARCHIVE_PARSER::PARSER.
Definition at line 1995 of file cadstar_archive_parser.cpp.
References CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_VALUE::AttributeID, AttributeValues, GateSymbols, XNODE::GetChildren(), XNODE::GetNext(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), HidePinNames, CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::GATE::ID, MaxPinCount, Name, CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_VALUE::Parse(), CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::GATE::Parse(), CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::PIN_EQUIVALENCE::Parse(), CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::SWAP_GROUP::Parse(), pin, PinEquivalences, Pins, SwapGroups, and WARN_UNKNOWN_NODE_IO_ERROR.
| 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 1089 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSymbolGateAndPartFields(), and Parse().
Definition at line 1087 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadPartsLibrary(), and Parse().
| bool CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::HidePinNames = 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 1074 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSymbolGateAndPartFields(), and Parse().
| long CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::MaxPinCount = UNDEFINED_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 1080 of file cadstar_archive_parser.h.
Referenced by Parse().
| wxString CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::Name |
This name can be different to the PART name.
Definition at line 1073 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadComponents(), and Parse().
| std::vector<PIN_EQUIVALENCE> CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::PinEquivalences |
Definition at line 1092 of file cadstar_archive_parser.h.
Referenced by Parse().
| std::map<PART_DEFINITION_PIN_ID, PIN> CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::Pins |
Definition at line 1088 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::getPartDefinitionPin(), CADSTAR_PCB_ARCHIVE_LOADER::loadComponents(), and Parse().
| std::vector<SWAP_GROUP> CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::SwapGroups |
Definition at line 1093 of file cadstar_archive_parser.h.
Referenced by Parse().