|
KiCad PCB EDA Suite
|
Common utilities and types for parsing PADS file formats. More...
Go to the source code of this file.
Classes | |
| struct | PADS_COMMON::RELATED_FILES |
| Result of detecting related PADS project files. More... | |
Namespaces | |
| namespace | PADS_COMMON |
Enumerations | |
| enum class | PADS_COMMON::PADS_FILE_TYPE { PADS_COMMON::UNKNOWN , PADS_COMMON::PCB_ASCII , PADS_COMMON::SCHEMATIC_ASCII } |
| Types of PADS files that can be detected. More... | |
Functions | |
| KIID | PADS_COMMON::GenerateDeterministicUuid (const std::string &aIdentifier) |
| Generate a deterministic KIID from a PADS component identifier. | |
| PADS_FILE_TYPE | PADS_COMMON::DetectPadsFileType (const wxString &aFilePath) |
| Detect the type of a PADS file by examining its header. | |
| RELATED_FILES | PADS_COMMON::FindRelatedPadsFiles (const wxString &aFilePath) |
| Find related PADS project files from a given source file. | |
| int | PADS_COMMON::ParseInt (const std::string &aStr, int aDefault=0, const std::string &aContext={}) |
| Parse integer from string with error context. | |
| double | PADS_COMMON::ParseDouble (const std::string &aStr, double aDefault=0.0, const std::string &aContext={}) |
| Parse double from string with error context. | |
| wxString | PADS_COMMON::ConvertInvertedNetName (const std::string &aNetName) |
| Convert a PADS net name to KiCad format, handling inverted signal notation. | |
| LINE_STYLE | PADS_COMMON::PadsLineStyleToKiCad (int aPadsStyle) |
| Convert a PADS line style integer to a KiCad LINE_STYLE enum value. | |
Common utilities and types for parsing PADS file formats.
This header provides shared functionality used by both the PCB (pcbnew) and schematic (eeschema) PADS importers. Utilities include deterministic UUID generation, file type detection, and safe parsing helpers.
Definition in file pads_common.h.