KiCad PCB EDA Suite
Loading...
Searching...
No Matches
diff_job_output.h File Reference
#include <diff_merge/diff_scene.h>
#include <jobs/job_diff_base.h>
#include <gal/color4d.h>
#include <wx/string.h>
#include <functional>

Go to the source code of this file.

Classes

struct  KICAD_DIFF::DIFF_EMIT_OPTIONS
 Describes how a computed DOCUMENT_DIFF should be emitted by a diff job. More...
 

Namespaces

namespace  KICAD_DIFF
 

Functions

DIFF_EMIT_OPTIONS KICAD_DIFF::MakeEmitOptions (const JOB_DIFF_BASE &aJob, const wxString &aLabelA, const wxString &aLabelB)
 Build a DIFF_EMIT_OPTIONS pre-filled from the job's format, resolved output path and the supplied per-side labels.
 
int KICAD_DIFF::DiffExitCode (const DOCUMENT_DIFF &aResult)
 Map a computed diff onto its CLI exit code – SUCCESS when empty, otherwise ERR_RC_VIOLATIONS.
 
int KICAD_DIFF::EmitDiffResult (const DOCUMENT_DIFF &aResult, const DIFF_EMIT_OPTIONS &aOptions, int aDiffExitCode, REPORTER &aReporter)
 Emit a computed DOCUMENT_DIFF in the requested format.