KiCad PCB EDA Suite
|
#include <cadstar_sch_archive_parser.h>
Classes | |
struct | PIN_NUM |
Public Member Functions | |
void | Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override |
Public Attributes | |
SYMBOL_ID | ID |
SYMDEF_ID | SymdefID |
LAYER_ID | LayerID |
Sheet on which symbol is located. | |
POINT | Origin |
GROUP_ID | GroupID = wxEmptyString |
If not empty, this symbol is part of a group. | |
REUSEBLOCKREF | ReuseBlockRef |
long | OrientAngle = 0 |
bool | Mirror = false |
bool | Fixed = false |
long | ScaleRatioNumerator = 1 |
Symbols can be arbitrarily scaled in CADSTAR. | |
long | ScaleRatioDenominator = 1 |
READABILITY | Readability = READABILITY::BOTTOM_TO_TOP |
bool | IsComponent = false |
COMP | ComponentRef |
bool | HasPartRef = false |
PARTREF | PartRef |
bool | PartNameVisible = true |
GATE_ID | GateID |
The gate this symbol represents within the associated Part. | |
bool | IsSymbolVariant = false |
SYMBOLVARIANT | SymbolVariant |
SIGNALREFERENCELINK | SigRefLink |
Signal References (a special form of global signal) have annotations showing the location of all the other sheets where the signal is present. | |
SYMBOL_ID | VariantParentSymbolID = wxEmptyString |
VARIANT_ID | VariantID = wxEmptyString |
std::map< TERMINAL_ID, TERMATTR > | TerminalAttributes |
std::map< TERMINAL_ID, SYMPINNAME_LABEL > | PinLabels |
Equivalent to KiCad's Pin Name. | |
std::map< TERMINAL_ID, SYMPINNAME_LABEL > | PinNames |
Identifier of the pin in the PCB Equivalent to KiCad's Pin Number. | |
std::map< TERMINAL_ID, PIN_NUM > | PinNumbers |
This seems to only appear in older designs and is similar to PinNames but only allowing numerical values. | |
std::map< ATTRIBUTE_ID, ATTRIBUTE_VALUE > | AttributeValues |
Definition at line 256 of file cadstar_sch_archive_parser.h.
|
overridevirtual |
Implements CADSTAR_ARCHIVE_PARSER::PARSER.
Definition at line 685 of file cadstar_sch_archive_parser.cpp.
References CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_VALUE::AttributeID, XNODE::GetChildren(), XNODE::GetNext(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDLong(), CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), ID, CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_VALUE::Parse(), CADSTAR_SCH_ARCHIVE_PARSER::TERMATTR::Parse(), CADSTAR_SCH_ARCHIVE_PARSER::SYMPINNAME_LABEL::Parse(), CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::PIN_NUM::Parse(), CADSTAR_ARCHIVE_PARSER::ParseReadability(), CADSTAR_SCH_ARCHIVE_PARSER::TERMATTR::TerminalID, CADSTAR_SCH_ARCHIVE_PARSER::SYMPINNAME_LABEL::TerminalID, CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::PIN_NUM::TerminalID, THROW_MISSING_PARAMETER_IO_ERROR, and THROW_UNKNOWN_NODE_IO_ERROR.
Referenced by CADSTAR_SCH_ARCHIVE_PARSER::CADSTAR_SCHEMATIC::Parse().
std::map<ATTRIBUTE_ID, ATTRIBUTE_VALUE> CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::AttributeValues |
Definition at line 304 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances().
COMP CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::ComponentRef |
Definition at line 282 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbol(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances().
bool CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::Fixed = false |
Definition at line 276 of file cadstar_sch_archive_parser.h.
GATE_ID CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::GateID |
The gate this symbol represents within the associated Part.
Definition at line 286 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbol(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances().
GROUP_ID CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::GroupID = wxEmptyString |
If not empty, this symbol is part of a group.
Definition at line 272 of file cadstar_sch_archive_parser.h.
bool CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::HasPartRef = false |
Definition at line 283 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances().
SYMBOL_ID CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::ID |
Definition at line 268 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances(), and CADSTAR_SCH_ARCHIVE_PARSER::CADSTAR_SCHEMATIC::Parse().
bool CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::IsComponent = false |
Definition at line 281 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbol(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances().
bool CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::IsSymbolVariant = false |
Definition at line 288 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances().
LAYER_ID CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::LayerID |
Sheet on which symbol is located.
Definition at line 270 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbol(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances().
bool CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::Mirror = false |
Definition at line 275 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::getLocationOfNetElement(), CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbol(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances().
long CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::OrientAngle = 0 |
Definition at line 274 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::getLocationOfNetElement(), CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbol(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances().
POINT CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::Origin |
Definition at line 271 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::getLocationOfNetElement(), CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbol(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances().
bool CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::PartNameVisible = true |
Definition at line 285 of file cadstar_sch_archive_parser.h.
PARTREF CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::PartRef |
Definition at line 284 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbol(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances().
std::map<TERMINAL_ID, SYMPINNAME_LABEL> CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::PinLabels |
Equivalent to KiCad's Pin Name.
Definition at line 298 of file cadstar_sch_archive_parser.h.
std::map<TERMINAL_ID, SYMPINNAME_LABEL> CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::PinNames |
Identifier of the pin in the PCB Equivalent to KiCad's Pin Number.
Definition at line 299 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbol().
std::map<TERMINAL_ID, PIN_NUM> CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::PinNumbers |
This seems to only appear in older designs and is similar to PinNames but only allowing numerical values.
Definition at line 301 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbol().
READABILITY CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::Readability = READABILITY::BOTTOM_TO_TOP |
Definition at line 279 of file cadstar_sch_archive_parser.h.
REUSEBLOCKREF CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::ReuseBlockRef |
Definition at line 273 of file cadstar_sch_archive_parser.h.
long CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::ScaleRatioDenominator = 1 |
Definition at line 278 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::getLocationOfNetElement(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances().
long CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::ScaleRatioNumerator = 1 |
Symbols can be arbitrarily scaled in CADSTAR.
Definition at line 277 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::getLocationOfNetElement(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances().
SIGNALREFERENCELINK CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::SigRefLink |
Signal References (a special form of global signal) have annotations showing the location of all the other sheets where the signal is present.
Definition at line 290 of file cadstar_sch_archive_parser.h.
SYMBOLVARIANT CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::SymbolVariant |
Definition at line 289 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances().
SYMDEF_ID CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::SymdefID |
Definition at line 269 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::getLocationOfNetElement(), and CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances().
std::map<TERMINAL_ID, TERMATTR> CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::TerminalAttributes |
Definition at line 297 of file cadstar_sch_archive_parser.h.
VARIANT_ID CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::VariantID = wxEmptyString |
Definition at line 295 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances().
SYMBOL_ID CADSTAR_SCH_ARCHIVE_PARSER::SYMBOL::VariantParentSymbolID = wxEmptyString |
Definition at line 294 of file cadstar_sch_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSchematicSymbolInstances().