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 |
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, 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 978 of file cadstar_archive_parser.h.
|
overridevirtual |
Implements CADSTAR_ARCHIVE_PARSER::PARSER.
Definition at line 1965 of file cadstar_archive_parser.cpp.
References CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_VALUE::AttributeID, XNODE::GetChildren(), XNODE::GetNext(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::GATE::ID, 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, and THROW_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 1101 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSymbolGateAndPartFields().
Definition at line 1099 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadPartsLibrary().
bool CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::HidePinNames |
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().
long CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::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.).
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.
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().
std::vector<PIN_EQUIVALENCE> CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::PinEquivalences |
Definition at line 1105 of file cadstar_archive_parser.h.
std::map<PART_DEFINITION_PIN_ID, PIN> CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::Pins |
Definition at line 1100 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::getPartDefinitionPin(), and CADSTAR_PCB_ARCHIVE_LOADER::loadComponents().
std::vector<SWAP_GROUP> CADSTAR_ARCHIVE_PARSER::PART::DEFINITION::SwapGroups |
Definition at line 1106 of file cadstar_archive_parser.h.