|
KiCad PCB EDA Suite
|
#include <sch_io/ltspice/sch_io_ltspice_parser.h>#include <sch_io/ltspice/ltspice_schematic.h>#include <schematic.h>#include <sch_line.h>#include <sch_label.h>#include <sch_text.h>#include <sch_edit_frame.h>#include <sch_shape.h>#include <sch_bus_entry.h>#include <wx/buffer.h>#include <wx/ffile.h>#include <wx/filename.h>#include <wx/strconv.h>#include <wx/tokenzr.h>#include <wx/txtstrm.h>#include <wx/wfstream.h>#include <sim/spice_value.h>#include <fmt/format.h>#include <cmath>#include <set>Go to the source code of this file.
Functions | |
| static std::vector< wxString > | tokenizeQuoted (const wxString &aText) |
| Parses the datastructure produced by the LTSPICE_SCHEMATIC into a KiCad schematic file. | |
| static wxString | convertLtSpiceTextToNgspice (const wxString &aText) |
| static bool | convertPwlFileToNgspice (const wxFileName &aSourceFile, const wxFileName &aDestFile) |
| LABEL_FLAG_SHAPE | getLabelShape (LTSPICE_SCHEMATIC::POLARITY aPolarity) |
|
static |
Definition at line 86 of file sch_io_ltspice_parser.cpp.
References SPICE_VALUE::ToDouble(), and SPICE_VALUE::ToSpiceString().
Referenced by SCH_IO_LTSPICE_PARSER::CreateKicadSCH_ITEMs().
|
static |
Definition at line 159 of file sch_io_ltspice_parser.cpp.
References SPICE_VALUE::ToDouble().
Referenced by SCH_IO_LTSPICE_PARSER::CreateFields().
| LABEL_FLAG_SHAPE getLabelShape | ( | LTSPICE_SCHEMATIC::POLARITY | aPolarity | ) |
Definition at line 810 of file sch_io_ltspice_parser.cpp.
References L_BIDI, L_INPUT, L_OUTPUT, LTSPICE_SCHEMATIC::OUTPUT, and LTSPICE_SCHEMATIC::PIN_INPUT.
Referenced by SCH_IO_LTSPICE_PARSER::CreatePin().
|
static |
Parses the datastructure produced by the LTSPICE_SCHEMATIC into a KiCad schematic file.
Definition at line 52 of file sch_io_ltspice_parser.cpp.
Referenced by SCH_IO_LTSPICE_PARSER::CreateFields().