26 _idealIsMinimal(false),
28 _produceCanonicalOutput(false),
30 _printStatistics(false),
36 static const char* IdealIsMinimalName =
"minimal";
37 static const char* PrintActionsName =
"time";
38 static const char* CanonicalName =
"canon";
39 static const char* InputFormatParamName =
"iformat";
40 static const char* OutputFormatParamName =
"oformat";
41 static const char* PrintDebugName =
"debug";
42 static const char* PrintStatisticsName =
"stats";
51 "Print what the algorithm does at each step.",
64 if (cli.
hasParam(InputFormatParamName))
66 if (cli.
hasParam(OutputFormatParamName))
70 if (cli.
hasParam(PrintStatisticsName))
const string & getString(const CliParams ¶ms, const string &name)
bool getBool(const CliParams ¶ms, const string &name)
void extractCliValues(CommonParams &common, const CliParams &cli)
void addDebugParam(CliParams ¶ms)
void addCommonParams(CliParams ¶ms)
string getFormatNameIndicatingToUseInputFormatAsOutputFormat()
Using the returned string in place of an (output) format name indicates to use the input format as th...
string getFormatNameIndicatingToGuessTheInputFormat()
Using the returned string in place of an (input) format name indicates to guess the format based on w...
bool hasParam(const string &name) const
void add(auto_ptr< Parameter > param)
void printStatistics(bool value)
void printActions(bool value)
void idealIsMinimal(bool value)
void setOutputFormat(const string &value)
void printDebug(bool value)
void produceCanonicalOutput(bool value)
void setInputFormat(const string &value)