KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_export_sch_netlist.h
Go to the documentation of this file.
1
/*
2
* This program source code file is part of KiCad, a free EDA CAD application.
3
*
4
* Copyright (C) 2022 Mark Roszko <
[email protected]
>
5
* Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6
*
7
* This program is free software: you can redistribute it and/or modify it
8
* under the terms of the GNU General Public License as published by the
9
* Free Software Foundation, either version 3 of the License, or (at your
10
* option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful, but
13
* WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
* General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <https://www.gnu.org/licenses/>.
19
*/
20
21
#ifndef JOB_EXPORT_SCH_NETLIST_H
22
#define JOB_EXPORT_SCH_NETLIST_H
23
24
#include <
kicommon.h
>
25
#include <vector>
26
#include "
job.h
"
27
28
class
KICOMMON_API
JOB_EXPORT_SCH_NETLIST
:
public
JOB
29
{
30
public
:
31
enum class
FORMAT
32
{
33
KICADXML
,
34
KICADSEXPR
,
35
ORCADPCB2
,
36
CADSTAR
,
37
SPICE
,
38
SPICEMODEL
,
39
PADS
,
40
ALLEGRO
41
};
42
43
static
std::map<JOB_EXPORT_SCH_NETLIST::FORMAT, wxString>& GetFormatNameMap();
44
45
public
:
46
JOB_EXPORT_SCH_NETLIST
();
47
wxString
GetDefaultDescription
()
const override
;
48
wxString
GetSettingsDialogTitle
()
const override
;
49
50
wxString
m_filename
;
51
52
// Netlist taken as a step of an import: the schematic is dropped afterwards, for a caller that unloads the
53
// project before the process ends, and an unannotated symbol is not reported
54
bool
m_forImport
=
false
;
55
56
FORMAT
format
;
57
58
bool
m_spiceSaveAllVoltages
;
59
bool
m_spiceSaveAllCurrents
;
60
bool
m_spiceSaveAllDissipations
;
61
bool
m_spiceSaveAllEvents
;
62
63
// Variant names to export. Empty vector means default variant only.
64
std::vector<wxString>
m_variantNames
;
65
};
66
67
#endif
JOB_EXPORT_SCH_NETLIST::format
FORMAT format
Definition
job_export_sch_netlist.h:56
JOB_EXPORT_SCH_NETLIST::m_filename
wxString m_filename
Definition
job_export_sch_netlist.h:50
JOB_EXPORT_SCH_NETLIST::JOB_EXPORT_SCH_NETLIST
JOB_EXPORT_SCH_NETLIST()
JOB_EXPORT_SCH_NETLIST::m_spiceSaveAllCurrents
bool m_spiceSaveAllCurrents
Definition
job_export_sch_netlist.h:59
JOB_EXPORT_SCH_NETLIST::m_variantNames
std::vector< wxString > m_variantNames
Definition
job_export_sch_netlist.h:64
JOB_EXPORT_SCH_NETLIST::m_forImport
bool m_forImport
Definition
job_export_sch_netlist.h:54
JOB_EXPORT_SCH_NETLIST::m_spiceSaveAllEvents
bool m_spiceSaveAllEvents
Definition
job_export_sch_netlist.h:61
JOB_EXPORT_SCH_NETLIST::m_spiceSaveAllVoltages
bool m_spiceSaveAllVoltages
Definition
job_export_sch_netlist.h:58
JOB_EXPORT_SCH_NETLIST::m_spiceSaveAllDissipations
bool m_spiceSaveAllDissipations
Definition
job_export_sch_netlist.h:60
JOB_EXPORT_SCH_NETLIST::FORMAT
FORMAT
Definition
job_export_sch_netlist.h:32
JOB_EXPORT_SCH_NETLIST::FORMAT::CADSTAR
@ CADSTAR
Definition
job_export_sch_netlist.h:36
JOB_EXPORT_SCH_NETLIST::FORMAT::ORCADPCB2
@ ORCADPCB2
Definition
job_export_sch_netlist.h:35
JOB_EXPORT_SCH_NETLIST::FORMAT::PADS
@ PADS
Definition
job_export_sch_netlist.h:39
JOB_EXPORT_SCH_NETLIST::FORMAT::KICADXML
@ KICADXML
Definition
job_export_sch_netlist.h:33
JOB_EXPORT_SCH_NETLIST::FORMAT::SPICE
@ SPICE
Definition
job_export_sch_netlist.h:37
JOB_EXPORT_SCH_NETLIST::FORMAT::SPICEMODEL
@ SPICEMODEL
Definition
job_export_sch_netlist.h:38
JOB_EXPORT_SCH_NETLIST::FORMAT::KICADSEXPR
@ KICADSEXPR
Definition
job_export_sch_netlist.h:34
JOB::JOB
JOB(const std::string &aType, bool aOutputIsDirectory)
Definition
job.cpp:26
JOB::GetDefaultDescription
virtual wxString GetDefaultDescription() const
Definition
job.cpp:74
JOB::GetSettingsDialogTitle
virtual wxString GetSettingsDialogTitle() const
Definition
job.cpp:80
job.h
kicommon.h
KICOMMON_API
#define KICOMMON_API
Definition
kicommon.h:27
ALLEGRO
Definition
allegro_builder.h:48
src
common
jobs
job_export_sch_netlist.h
Generated on Tue Oct 27 2026 00:06:19 for KiCad PCB EDA Suite by
1.13.2