KiCad PCB EDA Suite
|
#include <altium_props_utils.h>
Static Public Member Functions | |
static int32_t | ConvertToKicadUnit (const double aValue) |
static int | ReadInt (const std::map< wxString, wxString > &aProps, const wxString &aKey, int aDefault) |
static double | ReadDouble (const std::map< wxString, wxString > &aProps, const wxString &aKey, double aDefault) |
static bool | ReadBool (const std::map< wxString, wxString > &aProps, const wxString &aKey, bool aDefault) |
static int32_t | ReadKicadUnit (const std::map< wxString, wxString > &aProps, const wxString &aKey, const wxString &aDefault) |
static wxString | ReadString (const std::map< wxString, wxString > &aProps, const wxString &aKey, const wxString &aDefault) |
static wxString | ReadUnicodeString (const std::map< wxString, wxString > &aProps, const wxString &aKey, const wxString &aDefault) |
Definition at line 34 of file altium_props_utils.h.
|
static |
Definition at line 36 of file altium_props_utils.cpp.
References KiROUND().
Referenced by AREGION6::AREGION6(), BOOST_DATA_TEST_CASE(), ALTIUM_BINARY_PARSER::ReadKicadUnit(), and ReadKicadUnit().
|
static |
Definition at line 75 of file altium_props_utils.cpp.
Referenced by ACOMPONENT6::ACOMPONENT6(), ACOMPONENTBODY6::ACOMPONENTBODY6(), ADIMENSION6::ADIMENSION6(), AMODEL::AMODEL(), APOLYGON6::APOLYGON6(), AREGION6::AREGION6(), ASCH_FILE_NAME::ASCH_FILE_NAME(), ASCH_FILL_INTERFACE::ASCH_FILL_INTERFACE(), ASCH_HARNESS_ENTRY::ASCH_HARNESS_ENTRY(), ASCH_HARNESS_TYPE::ASCH_HARNESS_TYPE(), ASCH_IMAGE::ASCH_IMAGE(), ASCH_IMPLEMENTATION::ASCH_IMPLEMENTATION(), ASCH_LABEL::ASCH_LABEL(), ASCH_NO_ERC::ASCH_NO_ERC(), ASCH_OWNER_INTERFACE::ASCH_OWNER_INTERFACE(), ASCH_PARAMETER::ASCH_PARAMETER(), ASCH_POWER_PORT::ASCH_POWER_PORT(), ASCH_SHEET::ASCH_SHEET(), ASCH_SHEET_FONT::ASCH_SHEET_FONT(), ASCH_SHEET_NAME::ASCH_SHEET_NAME(), ASCH_SHEET_SYMBOL::ASCH_SHEET_SYMBOL(), ASCH_SYMBOL::ASCH_SYMBOL(), and ASCH_TEXT_FRAME::ASCH_TEXT_FRAME().
|
static |
Definition at line 57 of file altium_props_utils.cpp.
Referenced by ABOARD6::ABOARD6(), ACOMPONENT6::ACOMPONENT6(), ACOMPONENTBODY6::ACOMPONENTBODY6(), ADIMENSION6::ADIMENSION6(), altium_parse_polygons(), AMODEL::AMODEL(), and ASCH_ARC::ASCH_ARC().
|
static |
Definition at line 49 of file altium_props_utils.cpp.
Referenced by ABOARD6::ABOARD6(), ACLASS6::ACLASS6(), ACOMPONENT6::ACOMPONENT6(), ADIMENSION6::ADIMENSION6(), AEXTENDED_PRIMITIVE_INFORMATION::AEXTENDED_PRIMITIVE_INFORMATION(), altium_parse_polygons(), AMODEL::AMODEL(), APOLYGON6::APOLYGON6(), AREGION6::AREGION6(), ARULE6::ARULE6(), ASCH_BEZIER::ASCH_BEZIER(), ASCH_BORDER_INTERFACE::ASCH_BORDER_INTERFACE(), ASCH_BUS::ASCH_BUS(), ASCH_DESIGNATOR::ASCH_DESIGNATOR(), ASCH_FILL_INTERFACE::ASCH_FILL_INTERFACE(), ASCH_HARNESS_CONNECTOR::ASCH_HARNESS_CONNECTOR(), ASCH_HARNESS_ENTRY::ASCH_HARNESS_ENTRY(), ASCH_HARNESS_TYPE::ASCH_HARNESS_TYPE(), ASCH_IMPLEMENTATION::ASCH_IMPLEMENTATION(), ASCH_LABEL::ASCH_LABEL(), ASCH_NO_ERC::ASCH_NO_ERC(), ASCH_OWNER_INTERFACE::ASCH_OWNER_INTERFACE(), ASCH_PARAMETER::ASCH_PARAMETER(), ASCH_PIN::ASCH_PIN(), ASCH_POLYGON::ASCH_POLYGON(), ASCH_POLYLINE::ASCH_POLYLINE(), ASCH_PORT::ASCH_PORT(), ASCH_SHEET::ASCH_SHEET(), ASCH_SHEET_FONT::ASCH_SHEET_FONT(), ASCH_SHEET_SYMBOL::ASCH_SHEET_SYMBOL(), ASCH_SIGNAL_HARNESS::ASCH_SIGNAL_HARNESS(), ASCH_STORAGE_FILE::ASCH_STORAGE_FILE(), ASCH_SYMBOL::ASCH_SYMBOL(), ASCH_TEXT_FRAME::ASCH_TEXT_FRAME(), ASCH_WIRE::ASCH_WIRE(), SCH_IO_ALTIUM::ParseAdditional(), SCH_IO_ALTIUM::ParseLibFile(), SCH_IO_ALTIUM::ParseRecord(), SCH_IO_ALTIUM::ParseStorage(), ReadEnum(), ReadKiCadUnitFrac(), ReadKiCadUnitFrac1(), ReadOwnerIndex(), ReadOwnerPartId(), and ReadRecord().
|
static |
Definition at line 87 of file altium_props_utils.cpp.
References ConvertToKicadUnit(), and ReadString().
Referenced by ABOARD6::ABOARD6(), ACOMPONENT6::ACOMPONENT6(), ACOMPONENTBODY6::ACOMPONENTBODY6(), ADIMENSION6::ADIMENSION6(), AEXTENDED_PRIMITIVE_INFORMATION::AEXTENDED_PRIMITIVE_INFORMATION(), altium_parse_polygons(), APOLYGON6::APOLYGON6(), ARULE6::ARULE6(), and BOOST_DATA_TEST_CASE().
|
static |
Definition at line 114 of file altium_props_utils.cpp.
Referenced by ABOARD6::ABOARD6(), ACLASS6::ACLASS6(), ACOMPONENT6::ACOMPONENT6(), ACOMPONENTBODY6::ACOMPONENTBODY6(), ADIMENSION6::ADIMENSION6(), AMODEL::AMODEL(), ANET6::ANET6(), APOLYGON6::APOLYGON6(), ARULE6::ARULE6(), ASCH_DESIGNATOR::ASCH_DESIGNATOR(), ASCH_FILE_NAME::ASCH_FILE_NAME(), ASCH_HARNESS_ENTRY::ASCH_HARNESS_ENTRY(), ASCH_HARNESS_TYPE::ASCH_HARNESS_TYPE(), ASCH_HYPERLINK::ASCH_HYPERLINK(), ASCH_IMAGE::ASCH_IMAGE(), ASCH_IMPLEMENTATION::ASCH_IMPLEMENTATION(), ASCH_LABEL::ASCH_LABEL(), ASCH_NET_LABEL::ASCH_NET_LABEL(), ASCH_NOTE::ASCH_NOTE(), ASCH_PARAMETER::ASCH_PARAMETER(), ASCH_PIN::ASCH_PIN(), ASCH_PORT::ASCH_PORT(), ASCH_POWER_PORT::ASCH_POWER_PORT(), ASCH_SHEET_ENTRY::ASCH_SHEET_ENTRY(), ASCH_SHEET_FONT::ASCH_SHEET_FONT(), ASCH_SHEET_NAME::ASCH_SHEET_NAME(), ASCH_STORAGE_FILE::ASCH_STORAGE_FILE(), ASCH_SYMBOL::ASCH_SYMBOL(), ASCH_TEMPLATE::ASCH_TEMPLATE(), ASCH_TEXT_FRAME::ASCH_TEXT_FRAME(), SCH_IO_ALTIUM::ParseASCIISchematic(), SCH_IO_ALTIUM::ParseFileHeader(), ALTIUM_PCB::ParseFootprint(), SCH_IO_ALTIUM::ParseLibHeader(), SCH_IO_ALTIUM::ParseStorage(), ReadAltiumExtendedPrimitiveInformationTypeFromProperties(), ReadAltiumModeFromProperties(), ReadAltiumRecordFromProperties(), ReadKicadUnit(), and ReadUnicodeString().
|
static |
Definition at line 131 of file altium_props_utils.cpp.
References ReadString().
Referenced by ACOMPONENT6::ACOMPONENT6().