KiCad PCB EDA Suite
|
#include <i18n_utility.h>
#include <nlohmann/json.hpp>
#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 <algorithm>
Go to the source code of this file.
Functions | |
NLOHMANN_JSON_SERIALIZE_ENUM (JOBSET_OUTPUT_TYPE, { { JOBSET_OUTPUT_TYPE::FOLDER, "folder" }, { JOBSET_OUTPUT_TYPE::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_OUTPUT &f) |
KICOMMON_API void | from_json (const nlohmann::json &j, JOBSET_OUTPUT &f) |
Variables | |
const int | jobsFileSchemaVersion = 1 |
KICOMMON_API std::map< JOBSET_OUTPUT_TYPE, JOBSET_OUTPUT_TYPE_INFO > | JobsetOutputTypeInfos |
template class KICOMMON_API | PARAM_LIST< JOBSET_JOB > |
template class KICOMMON_API | PARAM_LIST< JOBSET_OUTPUT > |
KICOMMON_API void from_json | ( | const nlohmann::json & | j, |
JOBSET_JOB & | f | ||
) |
Definition at line 65 of file jobset.cpp.
References JOBSET_JOB::m_description, JOBSET_JOB::m_id, JOBSET_JOB::m_job, and JOBSET_JOB::m_type.
KICOMMON_API void from_json | ( | const nlohmann::json & | j, |
JOBSET_OUTPUT & | f | ||
) |
Definition at line 95 of file jobset.cpp.
References KIID::AsString(), JOBS_OUTPUT_HANDLER::FromJson(), JOBSET_OUTPUT::InitOutputHandler(), JOBSET_OUTPUT::m_description, JOBSET_OUTPUT::m_id, JOBSET_OUTPUT::m_only, JOBSET_OUTPUT::m_outputHandler, and JOBSET_OUTPUT::m_type.
NLOHMANN_JSON_SERIALIZE_ENUM | ( | JOBSET_OUTPUT_TYPE | , |
{ { JOBSET_OUTPUT_TYPE::FOLDER, "folder" }, { JOBSET_OUTPUT_TYPE::ARCHIVE, "archive" } } | |||
) |
Definition at line 47 of file jobset.cpp.
KICOMMON_API void to_json | ( | nlohmann::json & | j, |
const JOBSET_OUTPUT & | f | ||
) |
Definition at line 82 of file jobset.cpp.
References JOBSET_OUTPUT::m_description, JOBSET_OUTPUT::m_id, JOBSET_OUTPUT::m_only, JOBSET_OUTPUT::m_outputHandler, JOBSET_OUTPUT::m_type, and JOBS_OUTPUT_HANDLER::ToJson().
KICOMMON_API std::map<JOBSET_OUTPUT_TYPE, JOBSET_OUTPUT_TYPE_INFO> JobsetOutputTypeInfos |
Definition at line 39 of file jobset.cpp.
Referenced by DIALOG_JOBSET_OUTPUT_OPTIONS::DIALOG_JOBSET_OUTPUT_OPTIONS(), PANEL_JOBSET::OnAddOutputClick(), DIALOG_JOBSET_OUTPUT_OPTIONS::onOutputPathBrowseClicked(), and PANEL_JOBSET_OUTPUT::PANEL_JOBSET_OUTPUT().
const int jobsFileSchemaVersion = 1 |
Definition at line 36 of file jobset.cpp.
template class KICOMMON_API PARAM_LIST< JOBSET_JOB > |
Definition at line 332 of file jobset.cpp.
template class KICOMMON_API PARAM_LIST< JOBSET_OUTPUT > |
Definition at line 333 of file jobset.cpp.