7 for (
int i= argStart; i < argc; i++) {
9 cerr <<
"Unknown option '" << argv[i] <<
"'." << endl;
15 cerr <<
"illegal value for 'DEBUG' option." << endl;
19 else if (
option ==
"FTYPE") {
21 if ((
ftype !=
"FLOAT") && (
ftype !=
"DOUBLE")) {
22 cerr <<
"illegal value " <<
ftype <<
" of 'FTYPE' option." <<endl;
26 else if (
option ==
"REUSE") {
28 cerr <<
"illegal value for 'REUSE' option." << endl;
32 else if (
option ==
"CPU_ONLY") {
34 cerr <<
"illegal value for 'CPU_ONLY' option." << endl;
41 cerr <<
"You cannot use a GPU in CPU_only mode." << endl;
string ftype
Definition: parse_options.h:3
int extract_string_value(char *op, string &val)
Definition: command_line_processing.h:74
int extract_option(char *op, string &option)
Definition: command_line_processing.h:45
unsigned int dbgMode
Definition: parse_options.h:2
unsigned int cpu_only
Definition: parse_options.h:5
unsigned int fixsynapse
Definition: parse_options.h:4
int extract_bool_value(char *op, unsigned int &val)
Definition: command_line_processing.h:57
string option
Definition: parse_options.h:6