KiCad PCB EDA Suite
|
#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 <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 |
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 53 of file jobset.cpp.
References 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 77 of file jobset.cpp.
References JOBS_OUTPUT_HANDLER::FromJson(), JOBSET_OUTPUT::InitOutputHandler(), 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 36 of file jobset.cpp.
KICOMMON_API void to_json | ( | nlohmann::json & | j, |
const JOBSET_OUTPUT & | f | ||
) |
Definition at line 69 of file jobset.cpp.
References JOBSET_OUTPUT::m_outputHandler, JOBSET_OUTPUT::m_type, and JOBS_OUTPUT_HANDLER::ToJson().
const int jobsFileSchemaVersion = 1 |
Definition at line 34 of file jobset.cpp.
template class KICOMMON_API PARAM_LIST< JOBSET_JOB > |
Definition at line 264 of file jobset.cpp.
template class KICOMMON_API PARAM_LIST< JOBSET_OUTPUT > |
Definition at line 265 of file jobset.cpp.