| 
    KiCad PCB EDA Suite
    
   | 
 
#include <i18n_utility.h>#include <json_common.h>#include <settings/parameters.h>#include <wildcards_and_files_ext.h>#include <jobs/jobset.h>#include <jobs/job_registry.h>#include <jobs/jobs_output_folder.h>#include <jobs/jobs_output_archive.h>#include <kiid.h>#include <reporter.h>#include <wx/filename.h>#include <algorithm>#include <memory>Go to the source code of this file.
Functions | |
| NLOHMANN_JSON_SERIALIZE_ENUM (JOBSET_DESTINATION_T, { { JOBSET_DESTINATION_T::FOLDER, "folder" }, { JOBSET_DESTINATION_T::ARCHIVE, "archive" } }) KICOMMON_API void to_json(nlohmann | |
| KICOMMON_API void | from_json (const nlohmann::json &j, JOBSET_JOB &f) | 
| KICOMMON_API void | to_json (nlohmann::json &j, const JOBSET_DESTINATION &destination) | 
| KICOMMON_API void | from_json (const nlohmann::json &j, JOBSET_DESTINATION &destination) | 
Variables | |
| const int | jobsFileSchemaVersion = 1 | 
| KICOMMON_API std::map< JOBSET_DESTINATION_T, JOBSET_DESTINATION_T_INFO > | JobsetDestinationTypeInfos | 
| template class KICOMMON_API | PARAM_LIST< JOBSET_JOB > | 
| template class KICOMMON_API | PARAM_LIST< JOBSET_DESTINATION > | 
| KICOMMON_API void from_json | ( | const nlohmann::json & | j, | 
| JOBSET_DESTINATION & | destination ) | 
Definition at line 98 of file jobset.cpp.
References KIID::AsString(), JOBS_OUTPUT_HANDLER::FromJson(), JOBSET_DESTINATION::InitOutputHandler(), KICOMMON_API, JOBSET_DESTINATION::m_description, JOBSET_DESTINATION::m_id, JOBSET_DESTINATION::m_only, JOBSET_DESTINATION::m_outputHandler, and JOBSET_DESTINATION::m_type.
| KICOMMON_API void from_json | ( | const nlohmann::json & | j, | 
| JOBSET_JOB & | f ) | 
Definition at line 68 of file jobset.cpp.
References JOB_REGISTRY::CreateInstance(), JOB::FromJson(), KICOMMON_API, JOBSET_JOB::m_description, JOBSET_JOB::m_id, JOBSET_JOB::m_job, and JOBSET_JOB::m_type.
| NLOHMANN_JSON_SERIALIZE_ENUM | ( | JOBSET_DESTINATION_T | , | 
| { { JOBSET_DESTINATION_T::FOLDER, "folder" }, { JOBSET_DESTINATION_T::ARCHIVE, "archive" } } | ) | 
Definition at line 50 of file jobset.cpp.
References JOBSET_DESTINATION_T::JOBSET_DESTINATION_T.
| KICOMMON_API void to_json | ( | nlohmann::json & | j, | 
| const JOBSET_DESTINATION & | destination ) | 
Definition at line 85 of file jobset.cpp.
References KICOMMON_API, JOBSET_DESTINATION::m_description, JOBSET_DESTINATION::m_id, JOBSET_DESTINATION::m_only, JOBSET_DESTINATION::m_outputHandler, JOBSET_DESTINATION::m_type, and JOBS_OUTPUT_HANDLER::ToJson().
| KICOMMON_API std::map<JOBSET_DESTINATION_T, JOBSET_DESTINATION_T_INFO> JobsetDestinationTypeInfos | 
Definition at line 41 of file jobset.cpp.
Referenced by DIALOG_DESTINATION::DIALOG_DESTINATION(), PANEL_JOBSET::OnAddDestinationClick(), DIALOG_DESTINATION::onOutputPathBrowseClicked(), and PANEL_DESTINATION::PANEL_DESTINATION().
| const int jobsFileSchemaVersion = 1 | 
Definition at line 38 of file jobset.cpp.
Referenced by JOBSET::JOBSET().
| template class KICOMMON_API PARAM_LIST< JOBSET_DESTINATION > | 
Definition at line 338 of file jobset.cpp.
| template class KICOMMON_API PARAM_LIST< JOBSET_JOB > | 
Definition at line 337 of file jobset.cpp.