|
KiCad PCB EDA Suite
|
#include <map>#include <optional>#include <set>#include <string>#include <vector>#include <kiid.h>#include <math/vector2d.h>#include <wx/string.h>Go to the source code of this file.
Classes | |
| struct | DRILL_SYMBOL_ASSIGNMENT |
| class | DRILL_SYMBOL_PROFILE |
| Grouping rules and symbol assignments, shared by reference so a chart and its map can never disagree about which symbol means which hole. More... | |
Enumerations | |
| enum class | DRILL_GROUP_KEY { SIZE_GRP , SLOT , PLATING , SPAN , OPERATION , HOLE_FUNCTION , PROTECTION , POST_MACHINING } |
| Which properties split holes into separate chart rows and symbols. More... | |
| enum class | DRILL_MARK_MODE { SHAPE , LETTER , SIZE_TEXT } |
| enum class | DRILL_MARK_POLICY { SHAPES , LETTERS , SHAPES_THEN_LETTERS , SIZE_TEXT } |
Functions | |
| const char * | DrillGroupKeyToken (DRILL_GROUP_KEY aKey) |
| Stable file tokens, deliberately independent of enum ordering so a later insertion into the enum cannot silently change what a board file means. | |
| const char * | DrillMarkPolicyToken (DRILL_MARK_POLICY aPolicy) |
| const char * | DrillMarkModeToken (DRILL_MARK_MODE aMode) |
| bool | DrillGroupKeyFromToken (const wxString &aToken, DRILL_GROUP_KEY &aKey) |
| bool | DrillMarkPolicyFromToken (const wxString &aToken, DRILL_MARK_POLICY &aPolicy) |
| bool | DrillMarkModeFromToken (const wxString &aToken, DRILL_MARK_MODE &aMode) |
|
strong |
Which properties split holes into separate chart rows and symbols.
A disabled key does not merely go unprinted, it stops distinguishing holes, so two operations differing only in a disabled property share one row and one symbol.
| Enumerator | |
|---|---|
| SIZE_GRP | |
| SLOT | |
| PLATING | |
| SPAN | |
| OPERATION | |
| HOLE_FUNCTION | |
| PROTECTION | |
| POST_MACHINING | |
Definition at line 42 of file drill_symbol_profile.h.
|
strong |
| Enumerator | |
|---|---|
| SHAPE | |
| LETTER | |
| SIZE_TEXT | |
Definition at line 55 of file drill_symbol_profile.h.
|
strong |
| Enumerator | |
|---|---|
| SHAPES | |
| LETTERS | |
| SHAPES_THEN_LETTERS | |
| SIZE_TEXT | |
Definition at line 63 of file drill_symbol_profile.h.
| bool DrillGroupKeyFromToken | ( | const wxString & | aToken, |
| DRILL_GROUP_KEY & | aKey ) |
Definition at line 269 of file drill_symbol_profile.cpp.
Referenced by PCB_IO_KICAD_SEXPR_PARSER::parseDrillSymbolProfile().
| const char * DrillGroupKeyToken | ( | DRILL_GROUP_KEY | aKey | ) |
Stable file tokens, deliberately independent of enum ordering so a later insertion into the enum cannot silently change what a board file means.
Definition at line 251 of file drill_symbol_profile.cpp.
Referenced by PCB_IO_KICAD_SEXPR::formatDrillSymbolProfile().
| bool DrillMarkModeFromToken | ( | const wxString & | aToken, |
| DRILL_MARK_MODE & | aMode ) |
Definition at line 293 of file drill_symbol_profile.cpp.
Referenced by PCB_IO_KICAD_SEXPR_PARSER::parseDrillSymbolProfile().
| const char * DrillMarkModeToken | ( | DRILL_MARK_MODE | aMode | ) |
Definition at line 263 of file drill_symbol_profile.cpp.
Referenced by PCB_IO_KICAD_SEXPR::formatDrillSymbolProfile().
| bool DrillMarkPolicyFromToken | ( | const wxString & | aToken, |
| DRILL_MARK_POLICY & | aPolicy ) |
Definition at line 281 of file drill_symbol_profile.cpp.
Referenced by PCB_IO_KICAD_SEXPR_PARSER::parseDrillSymbolProfile().
| const char * DrillMarkPolicyToken | ( | DRILL_MARK_POLICY | aPolicy | ) |
Definition at line 257 of file drill_symbol_profile.cpp.
Referenced by PCB_IO_KICAD_SEXPR::formatDrillSymbolProfile().