52 allocate(
adstring& _option_flag,int_num_arguments,
61 option_flags=_option_flags;
66 class command_line_options_list
69 command_line_options * options;
70 command_line_options_list(
int argc,
char * argv[],
78 cerr <<
"Unrecognized command line option " << tmp <<
endl;
83 optno = match(tmp,po);
86 cerr <<
"Unrecognized command line option " << tmp <<
endl;
89 int no=po.num_arguments(optno);
90 for (
int j=1;j<=po.num_arguments;j++)
94 cerr <<
"Not enough arguments passed to command line option "
103 cerr <<
"Not enough arguments passed to command line option "
possible_option(adstring_array &_option_flags, ivector _num_arguments)
prnstream & endl(prnstream &)
Array of integers(int) with indexes from index_min to indexmax.
class command_line_option option_flags