KiCad PCB EDA Suite
Loading...
Searching...
No Matches
job_export_pcb_stats.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 The KiCad Developers, see AUTHORS.txt for contributors.
5
*
6
* This program is free software: you can redistribute it and/or modify it
7
* under the terms of the GNU General Public License as published by the
8
* Free Software Foundation, either version 3 of the License, or (at your
9
* option) any later version.
10
*
11
* This program is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License along
17
* with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
20
#ifndef JOB_EXPORT_BOARD_STATS_H
21
#define JOB_EXPORT_BOARD_STATS_H
22
23
#include "
job.h
"
24
25
class
KICOMMON_API
JOB_EXPORT_PCB_STATS
:
public
JOB
26
{
27
public
:
28
enum class
OUTPUT_FORMAT
29
{
30
REPORT
,
31
JSON
32
};
33
34
enum class
UNITS
35
{
36
MM
,
37
INCH
38
};
39
40
JOB_EXPORT_PCB_STATS
();
41
42
wxString
GetDefaultDescription
()
const override
;
43
wxString
GetSettingsDialogTitle
()
const override
;
44
45
void
SetDefaultOutputPath
(
const
wxString& aReferenceName );
46
47
wxString
m_filename
;
48
OUTPUT_FORMAT
m_format
;
49
UNITS
m_units
;
50
bool
m_excludeFootprintsWithoutPads
;
51
bool
m_subtractHolesFromBoardArea
;
52
bool
m_subtractHolesFromCopperAreas
;
53
};
54
55
#endif
JOB_EXPORT_PCB_STATS::m_format
OUTPUT_FORMAT m_format
Definition
job_export_pcb_stats.h:48
JOB_EXPORT_PCB_STATS::UNITS
UNITS
Definition
job_export_pcb_stats.h:35
JOB_EXPORT_PCB_STATS::UNITS::INCH
@ INCH
Definition
job_export_pcb_stats.h:37
JOB_EXPORT_PCB_STATS::UNITS::MM
@ MM
Definition
job_export_pcb_stats.h:36
JOB_EXPORT_PCB_STATS::OUTPUT_FORMAT
OUTPUT_FORMAT
Definition
job_export_pcb_stats.h:29
JOB_EXPORT_PCB_STATS::OUTPUT_FORMAT::JSON
@ JSON
Definition
job_export_pcb_stats.h:31
JOB_EXPORT_PCB_STATS::OUTPUT_FORMAT::REPORT
@ REPORT
Definition
job_export_pcb_stats.h:30
JOB_EXPORT_PCB_STATS::m_subtractHolesFromBoardArea
bool m_subtractHolesFromBoardArea
Definition
job_export_pcb_stats.h:51
JOB_EXPORT_PCB_STATS::m_filename
wxString m_filename
Definition
job_export_pcb_stats.h:47
JOB_EXPORT_PCB_STATS::SetDefaultOutputPath
void SetDefaultOutputPath(const wxString &aReferenceName)
Definition
job_export_pcb_stats.cpp:63
JOB_EXPORT_PCB_STATS::m_excludeFootprintsWithoutPads
bool m_excludeFootprintsWithoutPads
Definition
job_export_pcb_stats.h:50
JOB_EXPORT_PCB_STATS::JOB_EXPORT_PCB_STATS
JOB_EXPORT_PCB_STATS()
JOB_EXPORT_PCB_STATS::m_subtractHolesFromCopperAreas
bool m_subtractHolesFromCopperAreas
Definition
job_export_pcb_stats.h:52
JOB_EXPORT_PCB_STATS::m_units
UNITS m_units
Definition
job_export_pcb_stats.h:49
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_API
#define KICOMMON_API
Definition
kicommon.h:28
src
common
jobs
job_export_pcb_stats.h
Generated on Tue Oct 14 2025 00:08:08 for KiCad PCB EDA Suite by
1.13.2