14const std::string DebugSettings::debugOptionName =
"debug";
15const std::string DebugSettings::traceOptionName =
"trace";
16const std::string DebugSettings::additionalChecksOptionName =
"additional-checks";
17const std::string DebugSettings::logfileOptionName =
"logfile";
18const std::string DebugSettings::logfileOptionShortName =
"l";
19const std::string DebugSettings::testOptionName =
"test";
28 .setShortName(logfileOptionShortName)
virtual std::string getValueAsString() const =0
Retrieves the value of this argument as a string.
static ArgumentBuilder createStringArgument(std::string const &name, std::string const &description)
Creates a string argument with the given parameters.
This class provides the interface to create an option...
ArgumentBase const & getArgumentByName(std::string const &argumentName) const
Returns a reference to the argument with the specified long name.
bool getHasOptionBeenSet() const
Retrieves whether the option has been set.
bool isDebugSet() const
Retrieves whether the debug option was set.
bool isTestSet() const
Retrieves whether the test option was set.
bool isLogfileSet() const
Retrieves whether the logfile option was set.
std::string getLogfilename() const
Retrieves the name of the log file if the logfile option was set.
DebugSettings()
Creates a new set of debug settings.
static const std::string moduleName
bool isTraceSet() const
Retrieves whether the trace option was set.
bool isAdditionalChecksSet() const
Retrieves whether additional checks on the input should be performed.
This is the base class of the settings for a particular module.
void addOption(std::shared_ptr< Option > const &option)
Adds and registers the given option.
Option & getOption(std::string const &longName)
Retrieves the option with the given long name.