KiCad PCB EDA Suite
|
#include <cadstar_archive_parser.h>
Public Member Functions | |
void | Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override |
Public Attributes | |
DOCUMENTATION_SYMBOL_ID | ID |
SYMDEF_ID | SymdefID |
Normally documentation symbols only have TEXT, FIGURE and TEXT_LOCATION objects which are all drawn on the "(Undefined)" Layer. | |
LAYER_ID | LayerID |
Move all objects in the Symdef to this layer. | |
POINT | Origin |
Origin of the component (this is used as the reference point when placing the component in the design) | |
GROUP_ID | GroupID = wxEmptyString |
If not empty, this component is part of a group. | |
REUSEBLOCKREF | ReuseBlockRef |
long | OrientAngle = 0 |
bool | Mirror = false |
bool | Fixed = false |
READABILITY | Readability = READABILITY::BOTTOM_TO_TOP |
long | ScaleRatioNumerator = 1 |
Documentation symbols can be arbitrarily scaled when added to a design. | |
long | ScaleRatioDenominator = 1 |
Documentation symbols can be arbitrarily scaled when added to a design. | |
std::map< ATTRIBUTE_ID, ATTRIBUTE_VALUE > | AttributeValues |
Definition at line 1214 of file cadstar_archive_parser.h.
|
overridevirtual |
Implements CADSTAR_ARCHIVE_PARSER::PARSER.
Definition at line 2243 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(), ID, CADSTAR_ARCHIVE_PARSER::ATTRIBUTE_VALUE::Parse(), CADSTAR_ARCHIVE_PARSER::ParseReadability(), THROW_MISSING_PARAMETER_IO_ERROR, and THROW_UNKNOWN_NODE_IO_ERROR.
Referenced by CADSTAR_SCH_ARCHIVE_PARSER::CADSTAR_SCHEMATIC::Parse(), and CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Parse().
std::map<ATTRIBUTE_ID, ATTRIBUTE_VALUE> CADSTAR_ARCHIVE_PARSER::DOCUMENTATION_SYMBOL::AttributeValues |
Definition at line 1238 of file cadstar_archive_parser.h.
bool CADSTAR_ARCHIVE_PARSER::DOCUMENTATION_SYMBOL::Fixed = false |
Definition at line 1230 of file cadstar_archive_parser.h.
GROUP_ID CADSTAR_ARCHIVE_PARSER::DOCUMENTATION_SYMBOL::GroupID = wxEmptyString |
If not empty, this component is part of a group.
Definition at line 1226 of file cadstar_archive_parser.h.
DOCUMENTATION_SYMBOL_ID CADSTAR_ARCHIVE_PARSER::DOCUMENTATION_SYMBOL::ID |
Definition at line 1216 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadDocumentationSymbols(), CADSTAR_SCH_ARCHIVE_PARSER::CADSTAR_SCHEMATIC::Parse(), and CADSTAR_PCB_ARCHIVE_PARSER::LAYOUT::Parse().
LAYER_ID CADSTAR_ARCHIVE_PARSER::DOCUMENTATION_SYMBOL::LayerID |
Move all objects in the Symdef to this layer.
Definition at line 1222 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadDocumentationSymbols(), and CADSTAR_PCB_ARCHIVE_LOADER::loadDocumentationSymbols().
bool CADSTAR_ARCHIVE_PARSER::DOCUMENTATION_SYMBOL::Mirror = false |
Definition at line 1229 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadDocumentationSymbols(), and CADSTAR_PCB_ARCHIVE_LOADER::loadDocumentationSymbols().
long CADSTAR_ARCHIVE_PARSER::DOCUMENTATION_SYMBOL::OrientAngle = 0 |
Definition at line 1228 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadDocumentationSymbols(), and CADSTAR_PCB_ARCHIVE_LOADER::loadDocumentationSymbols().
POINT CADSTAR_ARCHIVE_PARSER::DOCUMENTATION_SYMBOL::Origin |
Origin of the component (this is used as the reference point when placing the component in the design)
Definition at line 1223 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadDocumentationSymbols(), and CADSTAR_PCB_ARCHIVE_LOADER::loadDocumentationSymbols().
READABILITY CADSTAR_ARCHIVE_PARSER::DOCUMENTATION_SYMBOL::Readability = READABILITY::BOTTOM_TO_TOP |
Definition at line 1231 of file cadstar_archive_parser.h.
REUSEBLOCKREF CADSTAR_ARCHIVE_PARSER::DOCUMENTATION_SYMBOL::ReuseBlockRef |
Definition at line 1227 of file cadstar_archive_parser.h.
long CADSTAR_ARCHIVE_PARSER::DOCUMENTATION_SYMBOL::ScaleRatioDenominator = 1 |
Documentation symbols can be arbitrarily scaled when added to a design.
Definition at line 1235 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadDocumentationSymbols(), and CADSTAR_PCB_ARCHIVE_LOADER::loadDocumentationSymbols().
long CADSTAR_ARCHIVE_PARSER::DOCUMENTATION_SYMBOL::ScaleRatioNumerator = 1 |
Documentation symbols can be arbitrarily scaled when added to a design.
Definition at line 1233 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadDocumentationSymbols(), and CADSTAR_PCB_ARCHIVE_LOADER::loadDocumentationSymbols().
SYMDEF_ID CADSTAR_ARCHIVE_PARSER::DOCUMENTATION_SYMBOL::SymdefID |
Normally documentation symbols only have TEXT, FIGURE and TEXT_LOCATION objects which are all drawn on the "(Undefined)" Layer.
When used in the design, the user has to specify which layer to draw it on.
Definition at line 1218 of file cadstar_archive_parser.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadDocumentationSymbols(), and CADSTAR_PCB_ARCHIVE_LOADER::loadDocumentationSymbols().