KiCad PCB EDA Suite
|
#include <job.h>
Public Member Functions | |
JOB_PARAM (const std::string &aJsonPath, ValueType *aPtr, ValueType aDefault) | |
virtual void | FromJson (const nlohmann::json &j) const override |
virtual void | ToJson (nlohmann::json &j) override |
Protected Attributes | |
ValueType * | m_ptr |
ValueType | m_default |
std::string | m_jsonPath |
|
inline |
|
inlineoverridevirtual |
Implements JOB_PARAM_BASE.
Reimplemented in JOB_PARAM_LSEQ.
Definition at line 59 of file job.h.
References JOB_PARAM< ValueType >::m_default, JOB_PARAM_BASE::m_jsonPath, and JOB_PARAM< ValueType >::m_ptr.
|
inlineoverridevirtual |
Implements JOB_PARAM_BASE.
Reimplemented in JOB_PARAM_LSEQ.
Definition at line 64 of file job.h.
References JOB_PARAM_BASE::m_jsonPath, and JOB_PARAM< ValueType >::m_ptr.
|
protected |
Definition at line 68 of file job.h.
Referenced by JOB_PARAM< ValueType >::FromJson().
|
protectedinherited |
Definition at line 45 of file job.h.
Referenced by JOB_PARAM< ValueType >::FromJson(), JOB_PARAM_LIST< ListElementType >::FromJson(), JOB_PARAM_LSEQ::FromJson(), JOB_PARAM< ValueType >::ToJson(), JOB_PARAM_LIST< ListElementType >::ToJson(), and JOB_PARAM_LSEQ::ToJson().
|
protected |
Definition at line 67 of file job.h.
Referenced by JOB_PARAM< ValueType >::FromJson(), and JOB_PARAM< ValueType >::ToJson().