|
KiCad PCB EDA Suite
|
Typedefs | |
| using | SHEET_ID = CONTROLLER_ID<SHEET_ID_TAG> |
| using | DEFINITION_ID = CONTROLLER_ID<DEFINITION_ID_TAG> |
| using | PIN_ID = CONTROLLER_ID<PIN_ID_TAG> |
| using | FIELD_ID = CONTROLLER_ID<FIELD_ID_TAG, uint64_t> |
| using | PART_TYPE_ID = CONTROLLER_ID<PART_TYPE_ID_TAG> |
| using | GATE_ID = CONTROLLER_ID<GATE_ID_TAG> |
| using | PLACEMENT_ID = CONTROLLER_ID<PLACEMENT_ID_TAG> |
| using | NET_ID = CONTROLLER_ID<NET_ID_TAG> |
| using | BUS_ID = CONTROLLER_ID<BUS_ID_TAG> |
| using | IMAGE_ID = CONTROLLER_ID<IMAGE_ID_TAG> |
| using | SHEET_REFERENCE = CONTROLLER_REFERENCE<SHEET_ID> |
| using | DEFINITION_REFERENCE = CONTROLLER_REFERENCE<DEFINITION_ID> |
| using | PART_TYPE_REFERENCE = CONTROLLER_REFERENCE<PART_TYPE_ID> |
| using | GATE_REFERENCE = CONTROLLER_REFERENCE<GATE_ID> |
| using | PLACEMENT_REFERENCE = CONTROLLER_REFERENCE<PLACEMENT_ID> |
| using | NET_REFERENCE = CONTROLLER_REFERENCE<NET_ID> |
Enumerations | |
| enum class | STRING_ENCODING_STATUS { UTF8 , CODE_PAGE , INVALID_BYTES , UNKNOWN_CODE_PAGE } |
| enum class | PROPERTY_DISPOSITION { EXACT , APPROXIMATE , PRESERVED , UNSUPPORTED } |
| enum class | FIELD_ID_DOMAIN : uint8_t { SHEET = 1 , DEFINITION = 2 , PART_TYPE = 3 , PLACEMENT = 4 } |
| enum class | MODEL_LINE_STYLE { DEFAULT , SOLID , DASH , DOT , DASH_DOT } |
| enum class | MODEL_FILL_STYLE { NONE , FILLED , HATCHED } |
| enum class | MODEL_JUSTIFICATION { LEFT , CENTER , RIGHT } |
| enum class | MODEL_GRAPHIC_KIND { LINE , POLYLINE , RECTANGLE , CIRCLE , ARC , TEXT } |
| enum class | MODEL_ENDPOINT_KIND { INVALID , POINT , PIN } |
| enum class | MODEL_LABEL_KIND { LOCAL , GLOBAL , HIERARCHICAL , GROUND , POWER , BUS , UNSUPPORTED } |
| enum class | MODEL_EMBEDDED_IMAGE_TYPE { BMP , DIB , WMF , UNSUPPORTED } |
| enum class | SCH_SDB_BLOCK_KIND { STRING_HEAP , FIXED_CONTROLLER , SHEET , CFB_CONTAINER_ITEM , FOOTER_AUX } |
Functions | |
| std::optional< DIAGNOSTIC_PROPERTY_KEY > | DiagnosticPropertyKey (const PARSER_DIAGNOSTIC &aDiagnostic) |
| wxString | FormatParserError (const SOURCE_PROVENANCE &aSource, const wxString &aMessage) |
| PARSER_DIAGNOSTIC | MakePropertyDiagnostic (SEVERITY aSeverity, const SOURCE_PROPERTY &aProperty, const wxString &aMessage) |
| PARSER_DIAGNOSTIC | MakePropertyDiagnostic (SEVERITY aSeverity, const SOURCE_PROVENANCE &aSource, const wxString &aName, PROPERTY_DISPOSITION aDisposition, const wxString &aMessage) |
| constexpr FIELD_ID | MakeFieldId (FIELD_ID_DOMAIN aDomain, uint32_t aOwner, uint32_t aOrdinal) |
| constexpr int64_t | NormalizeCoordinate (int64_t aCoordinate) |
| constexpr int | NormalizeAngle (int aAngle) |
Variables | |
| constexpr uint32_t | FIELD_ID_MAX_ORDINAL = ( 1U << 29 ) - 1 |
| using PADS_SCH_BINARY::BUS_ID = CONTROLLER_ID<BUS_ID_TAG> |
Definition at line 182 of file pads_sch_binary_model.h.
| using PADS_SCH_BINARY::DEFINITION_ID = CONTROLLER_ID<DEFINITION_ID_TAG> |
Definition at line 175 of file pads_sch_binary_model.h.
Definition at line 214 of file pads_sch_binary_model.h.
| using PADS_SCH_BINARY::FIELD_ID = CONTROLLER_ID<FIELD_ID_TAG, uint64_t> |
Definition at line 177 of file pads_sch_binary_model.h.
| using PADS_SCH_BINARY::GATE_ID = CONTROLLER_ID<GATE_ID_TAG> |
Definition at line 179 of file pads_sch_binary_model.h.
Definition at line 216 of file pads_sch_binary_model.h.
| using PADS_SCH_BINARY::IMAGE_ID = CONTROLLER_ID<IMAGE_ID_TAG> |
Definition at line 183 of file pads_sch_binary_model.h.
| using PADS_SCH_BINARY::NET_ID = CONTROLLER_ID<NET_ID_TAG> |
Definition at line 181 of file pads_sch_binary_model.h.
Definition at line 218 of file pads_sch_binary_model.h.
| using PADS_SCH_BINARY::PART_TYPE_ID = CONTROLLER_ID<PART_TYPE_ID_TAG> |
Definition at line 178 of file pads_sch_binary_model.h.
Definition at line 215 of file pads_sch_binary_model.h.
| using PADS_SCH_BINARY::PIN_ID = CONTROLLER_ID<PIN_ID_TAG> |
Definition at line 176 of file pads_sch_binary_model.h.
| using PADS_SCH_BINARY::PLACEMENT_ID = CONTROLLER_ID<PLACEMENT_ID_TAG> |
Definition at line 180 of file pads_sch_binary_model.h.
Definition at line 217 of file pads_sch_binary_model.h.
| using PADS_SCH_BINARY::SHEET_ID = CONTROLLER_ID<SHEET_ID_TAG> |
Definition at line 174 of file pads_sch_binary_model.h.
Definition at line 213 of file pads_sch_binary_model.h.
|
strong |
| Enumerator | |
|---|---|
| SHEET | |
| DEFINITION | |
| PART_TYPE | |
| PLACEMENT | |
Definition at line 185 of file pads_sch_binary_model.h.
|
strong |
| Enumerator | |
|---|---|
| BMP | |
| DIB | |
| WMF | |
| UNSUPPORTED | |
Definition at line 694 of file pads_sch_binary_model.h.
|
strong |
| Enumerator | |
|---|---|
| INVALID | |
| POINT | |
| PIN | |
Definition at line 566 of file pads_sch_binary_model.h.
|
strong |
| Enumerator | |
|---|---|
| NONE | |
| FILLED | |
| HATCHED | |
Definition at line 284 of file pads_sch_binary_model.h.
|
strong |
| Enumerator | |
|---|---|
| LINE | |
| POLYLINE | |
| RECTANGLE | |
| CIRCLE | |
| ARC | |
| TEXT | |
Definition at line 349 of file pads_sch_binary_model.h.
|
strong |
| Enumerator | |
|---|---|
| LEFT | |
| CENTER | |
| RIGHT | |
Definition at line 292 of file pads_sch_binary_model.h.
|
strong |
| Enumerator | |
|---|---|
| LOCAL | |
| GLOBAL | |
| HIERARCHICAL | |
| GROUND | |
| POWER | |
| BUS | |
| UNSUPPORTED | |
Definition at line 639 of file pads_sch_binary_model.h.
|
strong |
| Enumerator | |
|---|---|
| DEFAULT | |
| SOLID | |
| DASH | |
| DOT | |
| DASH_DOT | |
Definition at line 274 of file pads_sch_binary_model.h.
|
strong |
| Enumerator | |
|---|---|
| EXACT | |
| APPROXIMATE | |
| PRESERVED | |
| UNSUPPORTED | |
Definition at line 73 of file pads_sch_binary_model.h.
|
strong |
| Enumerator | |
|---|---|
| STRING_HEAP | |
| FIXED_CONTROLLER | |
| SHEET | |
| CFB_CONTAINER_ITEM | |
| FOOTER_AUX | |
Definition at line 41 of file pads_sch_sdb.h.
|
strong |
| Enumerator | |
|---|---|
| UTF8 | |
| CODE_PAGE | |
| INVALID_BYTES | |
| UNKNOWN_CODE_PAGE | |
Definition at line 51 of file pads_sch_binary_model.h.
| std::optional< DIAGNOSTIC_PROPERTY_KEY > PADS_SCH_BINARY::DiagnosticPropertyKey | ( | const PARSER_DIAGNOSTIC & | aDiagnostic | ) |
Definition at line 5091 of file pads_sch_binary_parser.cpp.
References DiagnosticPropertyKey(), PADS_SCH_BINARY::PARSER_DIAGNOSTIC::property, and PADS_SCH_BINARY::PARSER_DIAGNOSTIC::source.
Referenced by BOOST_AUTO_TEST_CASE(), and DiagnosticPropertyKey().
| wxString PADS_SCH_BINARY::FormatParserError | ( | const SOURCE_PROVENANCE & | aSource, |
| const wxString & | aMessage ) |
Definition at line 5071 of file pads_sch_binary_parser.cpp.
References PADS_SCH_BINARY::SOURCE_PROVENANCE::absoluteOffset, PADS_SCH_BINARY::SOURCE_PROVENANCE::controller, PADS_SCH_BINARY::SOURCE_PROVENANCE::file, FormatParserError(), PADS_SCH_BINARY::SOURCE_PROVENANCE::objectClass, PADS_SCH_BINARY::SOURCE_PROVENANCE::recordIndex, PADS_SCH_BINARY::SOURCE_PROVENANCE::sheet, and PADS_SCH_BINARY::SOURCE_PROVENANCE::version.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PADS_SCH_BINARY::PADS_SCH_BINARY_BUILDER::Build(), FormatParserError(), and SCH_IO_PADS::loadBinarySchematicFile().
|
constexpr |
Definition at line 195 of file pads_sch_binary_model.h.
References FIELD_ID_MAX_ORDINAL.
Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
| PARSER_DIAGNOSTIC PADS_SCH_BINARY::MakePropertyDiagnostic | ( | SEVERITY | aSeverity, |
| const SOURCE_PROPERTY & | aProperty, | ||
| const wxString & | aMessage ) |
Definition at line 5100 of file pads_sch_binary_parser.cpp.
References PADS_SCH_BINARY::SOURCE_PROPERTY::disposition, MakePropertyDiagnostic(), PADS_SCH_BINARY::SOURCE_PROPERTY::name, PADS_SCH_BINARY::SOURCE_PROPERTY::source, and PADS_SCH_BINARY::SOURCE_STRING::text.
Referenced by BOOST_AUTO_TEST_CASE(), MakePropertyDiagnostic(), and MakePropertyDiagnostic().
| PARSER_DIAGNOSTIC PADS_SCH_BINARY::MakePropertyDiagnostic | ( | SEVERITY | aSeverity, |
| const SOURCE_PROVENANCE & | aSource, | ||
| const wxString & | aName, | ||
| PROPERTY_DISPOSITION | aDisposition, | ||
| const wxString & | aMessage ) |
Definition at line 5107 of file pads_sch_binary_parser.cpp.
References MakePropertyDiagnostic().
|
constexpr |
Definition at line 227 of file pads_sch_binary_model.h.
Referenced by BOOST_AUTO_TEST_CASE().
|
constexpr |
Definition at line 222 of file pads_sch_binary_model.h.
Referenced by BOOST_AUTO_TEST_CASE().
|
constexpr |
Definition at line 193 of file pads_sch_binary_model.h.
Referenced by MakeFieldId().