#include <command_pcb_export_gerbers.h>
◆ PCB_EXPORT_GERBERS_COMMAND()
CLI::PCB_EXPORT_GERBERS_COMMAND::PCB_EXPORT_GERBERS_COMMAND |
( |
| ) |
|
◆ addCommonArgs()
void CLI::COMMAND::addCommonArgs |
( |
bool |
aInput, |
|
|
bool |
aOutput, |
|
|
bool |
aInputIsDir, |
|
|
bool |
aOutputIsDir |
|
) |
| |
|
protectedinherited |
Set up the most common of args used across cli.
- Parameters
-
aInput | Configures the input arg |
aOutput | Configures the output arg |
aInputIsDir | Configures whether the input arg description will be for a file or directory |
aOutputIsDir | Configures whether the output arg description will be for a file or directory |
Definition at line 115 of file command.cpp.
References _, ARG_INPUT, ARG_OUTPUT, and UTF8STDSTR.
Referenced by CLI::JOBSET_RUN_COMMAND::JOBSET_RUN_COMMAND(), CLI::PCB_DRC_COMMAND::PCB_DRC_COMMAND(), CLI::PCB_EXPORT_3D_COMMAND::PCB_EXPORT_3D_COMMAND(), CLI::PCB_EXPORT_BASE_COMMAND::PCB_EXPORT_BASE_COMMAND(), CLI::PCB_RENDER_COMMAND::PCB_RENDER_COMMAND(), CLI::SCH_ERC_COMMAND::SCH_ERC_COMMAND(), CLI::SCH_EXPORT_BOM_COMMAND::SCH_EXPORT_BOM_COMMAND(), CLI::SCH_EXPORT_NETLIST_COMMAND::SCH_EXPORT_NETLIST_COMMAND(), CLI::SCH_EXPORT_PLOT_COMMAND::SCH_EXPORT_PLOT_COMMAND(), CLI::SCH_EXPORT_PYTHONBOM_COMMAND::SCH_EXPORT_PYTHONBOM_COMMAND(), CLI::SYM_EXPORT_SVG_COMMAND::SYM_EXPORT_SVG_COMMAND(), and CLI::SYM_UPGRADE_COMMAND::SYM_UPGRADE_COMMAND().
◆ addDefineArg()
void CLI::COMMAND::addDefineArg |
( |
| ) |
|
|
protectedinherited |
Set up the drawing sheet arg used by many of the export commands.
Definition at line 169 of file command.cpp.
References _, ARG_DEFINE_VAR_LONG, ARG_DEFINE_VAR_SHORT, and UTF8STDSTR.
Referenced by CLI::FP_EXPORT_SVG_COMMAND::FP_EXPORT_SVG_COMMAND(), CLI::PCB_DRC_COMMAND::PCB_DRC_COMMAND(), CLI::PCB_EXPORT_3D_COMMAND::PCB_EXPORT_3D_COMMAND(), CLI::PCB_EXPORT_DXF_COMMAND::PCB_EXPORT_DXF_COMMAND(), CLI::PCB_EXPORT_GENCAD_COMMAND::PCB_EXPORT_GENCAD_COMMAND(), CLI::PCB_EXPORT_GERBER_COMMAND::PCB_EXPORT_GERBER_COMMAND(), CLI::PCB_EXPORT_IPC2581_COMMAND::PCB_EXPORT_IPC2581_COMMAND(), CLI::PCB_EXPORT_PDF_COMMAND::PCB_EXPORT_PDF_COMMAND(), CLI::PCB_EXPORT_SVG_COMMAND::PCB_EXPORT_SVG_COMMAND(), CLI::PCB_RENDER_COMMAND::PCB_RENDER_COMMAND(), CLI::SCH_ERC_COMMAND::SCH_ERC_COMMAND(), and CLI::SCH_EXPORT_PLOT_COMMAND::SCH_EXPORT_PLOT_COMMAND().
◆ addDrawingSheetArg()
void CLI::COMMAND::addDrawingSheetArg |
( |
| ) |
|
|
protectedinherited |
◆ addLayerArg()
void CLI::PCB_EXPORT_BASE_COMMAND::addLayerArg |
( |
bool |
aRequire | ) |
|
|
protectedinherited |
◆ convertLayerStringList()
LSEQ CLI::PCB_EXPORT_BASE_COMMAND::convertLayerStringList |
( |
wxString & |
aLayerString, |
|
|
bool & |
aLayerArgSet |
|
) |
| const |
|
protectedinherited |
◆ doPerform()
int CLI::PCB_EXPORT_GERBERS_COMMAND::doPerform |
( |
KIWAY & |
aKiway | ) |
|
|
overrideprotectedvirtual |
◆ GetArgParser()
argparse::ArgumentParser & CLI::COMMAND::GetArgParser |
( |
| ) |
|
|
inlineinherited |
◆ GetName()
const std::string & CLI::COMMAND::GetName |
( |
| ) |
const |
|
inlineinherited |
◆ Perform()
int CLI::COMMAND::Perform |
( |
KIWAY & |
aKiway | ) |
|
|
inherited |
◆ populateJob()
Definition at line 93 of file command_pcb_export_gerber.cpp.
References _, ARG_DISABLE_APERTURE_MACROS, ARG_EXCLUDE_REFDES, ARG_EXCLUDE_VALUE, ARG_INCLUDE_BORDER_TITLE, ARG_NO_NETLIST, ARG_NO_PROTEL_EXTENSION, ARG_NO_X2, ARG_PRECISION, ARG_SUBTRACT_SOLDERMASK, ARG_USE_DRILL_FILE_ORIGIN, CLI::EXIT_CODES::ERR_ARGS, CLI::EXIT_CODES::ERR_INVALID_INPUT_FILE, JOB_EXPORT_PCB_GERBER::m_disableApertureMacros, JOB_EXPORT_PCB_PLOT::m_drawingSheet, JOB_EXPORT_PCB_PLOT::m_filename, JOB_EXPORT_PCB_GERBER::m_includeNetlistAttributes, JOB_EXPORT_PCB_PLOT::m_plotDrawingSheet, JOB_EXPORT_PCB_PLOT::m_plotFootprintValues, JOB_EXPORT_PCB_PLOT::m_plotRefDes, JOB_EXPORT_PCB_GERBER::m_precision, JOB_EXPORT_PCB_PLOT::m_printMaskLayer, JOB_EXPORT_PCB_GERBER::m_subtractSolderMaskFromSilk, JOB_EXPORT_PCB_GERBER::m_useAuxOrigin, JOB_EXPORT_PCB_GERBER::m_useProtelFileExtension, JOB_EXPORT_PCB_GERBER::m_useX2Format, CLI::EXIT_CODES::OK, JOB::SetOutputPath(), and JOB::SetVarOverrides().
◆ PrintHelp()
void CLI::COMMAND::PrintHelp |
( |
| ) |
|
|
inherited |
◆ m_argDefineVars
std::map<wxString, wxString> CLI::COMMAND::m_argDefineVars |
|
protectedinherited |
Value of the drawing sheet arg if configured.
Definition at line 145 of file command.h.
◆ m_argDrawingSheet
wxString CLI::COMMAND::m_argDrawingSheet |
|
protectedinherited |
Value of the drawing sheet arg if configured.
Definition at line 140 of file command.h.
◆ m_argInput
wxString CLI::COMMAND::m_argInput |
|
protectedinherited |
Value of the common input arg if configured.
Definition at line 130 of file command.h.
◆ m_argOutput
wxString CLI::COMMAND::m_argOutput |
|
protectedinherited |
Value of the output arg if configured.
Definition at line 135 of file command.h.
◆ m_argParser
argparse::ArgumentParser CLI::COMMAND::m_argParser |
|
protectedinherited |
Definition at line 100 of file command.h.
Referenced by CLI::COMMAND::COMMAND(), CLI::FP_COMMAND::FP_COMMAND(), CLI::FP_EXPORT_COMMAND::FP_EXPORT_COMMAND(), CLI::FP_EXPORT_SVG_COMMAND::FP_EXPORT_SVG_COMMAND(), CLI::FP_UPGRADE_COMMAND::FP_UPGRADE_COMMAND(), CLI::COMMAND::GetArgParser(), CLI::JOBSET_COMMAND::JOBSET_COMMAND(), CLI::JOBSET_RUN_COMMAND::JOBSET_RUN_COMMAND(), CLI::PCB_COMMAND::PCB_COMMAND(), CLI::PCB_DRC_COMMAND::PCB_DRC_COMMAND(), CLI::PCB_EXPORT_3D_COMMAND::PCB_EXPORT_3D_COMMAND(), CLI::PCB_EXPORT_COMMAND::PCB_EXPORT_COMMAND(), CLI::PCB_EXPORT_DRILL_COMMAND::PCB_EXPORT_DRILL_COMMAND(), CLI::PCB_EXPORT_DXF_COMMAND::PCB_EXPORT_DXF_COMMAND(), CLI::PCB_EXPORT_GENCAD_COMMAND::PCB_EXPORT_GENCAD_COMMAND(), CLI::PCB_EXPORT_GERBER_COMMAND::PCB_EXPORT_GERBER_COMMAND(), PCB_EXPORT_GERBERS_COMMAND(), CLI::PCB_EXPORT_IPC2581_COMMAND::PCB_EXPORT_IPC2581_COMMAND(), CLI::PCB_EXPORT_PDF_COMMAND::PCB_EXPORT_PDF_COMMAND(), CLI::PCB_EXPORT_POS_COMMAND::PCB_EXPORT_POS_COMMAND(), CLI::PCB_EXPORT_SVG_COMMAND::PCB_EXPORT_SVG_COMMAND(), CLI::PCB_RENDER_COMMAND::PCB_RENDER_COMMAND(), CLI::SCH_COMMAND::SCH_COMMAND(), CLI::SCH_ERC_COMMAND::SCH_ERC_COMMAND(), CLI::SCH_EXPORT_BOM_COMMAND::SCH_EXPORT_BOM_COMMAND(), CLI::SCH_EXPORT_COMMAND::SCH_EXPORT_COMMAND(), CLI::SCH_EXPORT_NETLIST_COMMAND::SCH_EXPORT_NETLIST_COMMAND(), CLI::SCH_EXPORT_PLOT_COMMAND::SCH_EXPORT_PLOT_COMMAND(), CLI::SCH_EXPORT_PYTHONBOM_COMMAND::SCH_EXPORT_PYTHONBOM_COMMAND(), CLI::SYM_COMMAND::SYM_COMMAND(), CLI::SYM_EXPORT_COMMAND::SYM_EXPORT_COMMAND(), CLI::SYM_EXPORT_SVG_COMMAND::SYM_EXPORT_SVG_COMMAND(), CLI::SYM_UPGRADE_COMMAND::SYM_UPGRADE_COMMAND(), and CLI::VERSION_COMMAND::VERSION_COMMAND().
◆ m_hasDefineArg
bool CLI::COMMAND::m_hasDefineArg |
|
protectedinherited |
Whether or not the input arg was added for parsing.
Definition at line 120 of file command.h.
◆ m_hasDrawingSheetArg
bool CLI::COMMAND::m_hasDrawingSheetArg |
|
protectedinherited |
Whether or not the input arg was added for parsing.
Definition at line 115 of file command.h.
◆ m_hasInputArg
bool CLI::COMMAND::m_hasInputArg |
|
protectedinherited |
Whether or not the input arg was added for parsing.
Definition at line 105 of file command.h.
◆ m_hasLayerArg
bool CLI::PCB_EXPORT_BASE_COMMAND::m_hasLayerArg |
|
protectedinherited |
◆ m_hasOutputArg
bool CLI::COMMAND::m_hasOutputArg |
|
protectedinherited |
Whether or not the output arg was added for parsing.
Definition at line 110 of file command.h.
◆ m_layerGuiMasks
std::map<std::string, LSET> CLI::PCB_EXPORT_BASE_COMMAND::m_layerGuiMasks |
|
protectedinherited |
◆ m_layerMasks
std::map<std::string, LSET> CLI::PCB_EXPORT_BASE_COMMAND::m_layerMasks |
|
protectedinherited |
◆ m_name
std::string CLI::COMMAND::m_name |
|
protectedinherited |
◆ m_outputArgExpectsDir
bool CLI::COMMAND::m_outputArgExpectsDir |
|
protectedinherited |
Whether or not the output arg is expecting a directory.
Definition at line 125 of file command.h.
◆ m_requireLayers
bool CLI::PCB_EXPORT_BASE_COMMAND::m_requireLayers |
|
protectedinherited |
◆ m_selectedLayers
LSEQ CLI::PCB_EXPORT_BASE_COMMAND::m_selectedLayers |
|
protectedinherited |
◆ m_selectedLayersSet
bool CLI::PCB_EXPORT_BASE_COMMAND::m_selectedLayersSet |
|
protectedinherited |
The documentation for this class was generated from the following files: