KiCad PCB EDA Suite
Loading...
Searching...
No Matches
JOB_PARAM_BASE Class Referenceabstract

#include <job.h>

Inheritance diagram for JOB_PARAM_BASE:
JOB_PARAM< ValueType >

Public Member Functions

 JOB_PARAM_BASE (const std::string &aJsonPath)
 
virtual ~JOB_PARAM_BASE ()=default
 
virtual void FromJson (const nlohmann::json &j) const =0
 
virtual void ToJson (nlohmann::json &j)=0
 

Protected Attributes

std::string m_jsonPath
 

Detailed Description

Definition at line 28 of file job.h.

Constructor & Destructor Documentation

◆ JOB_PARAM_BASE()

JOB_PARAM_BASE::JOB_PARAM_BASE ( const std::string &  aJsonPath)

Definition at line 166 of file job.cpp.

◆ ~JOB_PARAM_BASE()

virtual JOB_PARAM_BASE::~JOB_PARAM_BASE ( )
virtualdefault

Member Function Documentation

◆ FromJson()

virtual void JOB_PARAM_BASE::FromJson ( const nlohmann::json &  j) const
pure virtual

Implemented in JOB_PARAM< ValueType >.

◆ ToJson()

virtual void JOB_PARAM_BASE::ToJson ( nlohmann::json &  j)
pure virtual

Implemented in JOB_PARAM< ValueType >.

Member Data Documentation

◆ m_jsonPath

std::string JOB_PARAM_BASE::m_jsonPath
protected

Definition at line 40 of file job.h.

Referenced by JOB_PARAM< ValueType >::FromJson(), and JOB_PARAM< ValueType >::ToJson().


The documentation for this class was generated from the following files: