|
KiCad PCB EDA Suite
|
#include "ipc2581_export_job.h"#include "pcb_io_ipc2581.h"#include <map>#include <wx/filefn.h>#include <wx/filename.h>#include <board.h>#include <core/utf8.h>#include <gestfich.h>#include <jobs/job_export_pcb_ipc2581.h>#include <ki_exception.h>#include <paths.h>#include <project.h>#include <project/project_file.h>#include <reporter.h>#include <wildcards_and_files_ext.h>Go to the source code of this file.
Functions | |
| bool | GenerateIpc2581File (JOB_EXPORT_PCB_IPC2581 &aJob, BOARD *aBoard, PROGRESS_REPORTER *aProgressReporter, REPORTER *aReporter) |
| Write the IPC-2581 file or archive of aJob and record it as a job output. | |
| bool GenerateIpc2581File | ( | JOB_EXPORT_PCB_IPC2581 & | aJob, |
| BOARD * | aBoard, | ||
| PROGRESS_REPORTER * | aProgressReporter, | ||
| REPORTER * | aReporter ) |
Write the IPC-2581 file or archive of aJob and record it as a job output.
Definition at line 40 of file ipc2581_export_job.cpp.
References _, JOB::AddOutput(), JOB_EXPORT_PCB_FAB::ANONYMIZE, IP2581_BOM::bomRev, JOB_EXPORT_PCB_IPC2581::C, PATHS::EnsurePathExists(), JOB::GetFullOutputPath(), BOARD::GetProject(), PROJECT::GetProjectFile(), FILEEXT::Ipc2581FileExtension, JOB_EXPORT_PCB_IPC2581::m_bomRev, JOB_EXPORT_PCB_IPC2581::m_colDist, JOB_EXPORT_PCB_IPC2581::m_colDistPn, JOB_EXPORT_PCB_IPC2581::m_colInternalId, JOB_EXPORT_PCB_IPC2581::m_colMfg, JOB_EXPORT_PCB_FAB::m_colMfgPn, JOB_EXPORT_PCB_IPC2581::m_compress, JOB_EXPORT_PCB_FAB::m_dataSet, PROJECT_FILE::m_IP2581Bom, JOB_EXPORT_PCB_FAB::m_netNames, JOB_EXPORT_PCB_FAB::m_precision, JOB_EXPORT_PCB_IPC2581::m_refDes, JOB_EXPORT_PCB_FAB::m_sections, JOB_EXPORT_PCB_FAB::m_units, JOB_EXPORT_PCB_FAB::m_variantNames, JOB_EXPORT_PCB_IPC2581::m_version, SCOPED_TEMP_PATH::MakeDirectory(), SCOPED_TEMP_PATH::MakeFile(), JOB_EXPORT_PCB_FAB::MM, FAB::ModeToken(), JOB_EXPORT_PCB_IPC2581::OMIT, SCOPED_TEMP_PATH::Path(), REPORTER::Report(), RPT_SEVERITY_ERROR, PCB_IO_IPC2581::SaveBoard(), IP2581_BOM::schRevision, IO_BASE::SetProgressReporter(), IO_BASE::SetReporter(), JOB_EXPORT_PCB_IPC2581::SupportsDataSet(), IO_ERROR::What(), WriteDirectoryArchive(), and ZIP.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PCBNEW_JOBS_HANDLER::JobExportIpc2581(), and DIALOG_EXPORT_2581::onOKClick().