41 m_format( OUTPUT_FORMAT::REPORT ),
42 m_exitCodeViolations(
false )
45 m_params.emplace_back(
new JOB_PARAM<int>(
"severity", &m_severity, m_severity ) );
47 m_params.emplace_back(
new JOB_PARAM<bool>(
"fail_on_error", &m_exitCodeViolations, m_exitCodeViolations ) );
JOB_RC(const std::string &aType)
An simple container class that lets us dispatch output jobs to kifaces.
NLOHMANN_JSON_SERIALIZE_ENUM(JOB_RC::UNITS, { { JOB_RC::UNITS::INCH, "in" }, { JOB_RC::UNITS::MM, "mm" }, { JOB_RC::UNITS::MILS, "mils" }, }) NLOHMANN_JSON_SERIALIZE_ENUM(JOB_RC