--- trunk/src/applications/staticProps/StaticPropsCmd.h 2005/05/26 22:45:00 543 +++ trunk/src/applications/staticProps/StaticPropsCmd.h 2006/05/12 21:34:43 955 @@ -1,6 +1,6 @@ /* StaticPropsCmd.h */ -/* File autogenerated by gengetopt version 2.11 */ +/* File autogenerated by gengetopt version 2.16 */ #ifndef STATICPROPSCMD_H #define STATICPROPSCMD_H @@ -25,40 +25,83 @@ struct gengetopt_args_info struct gengetopt_args_info { char * input_arg; /* input dump file. */ + char * input_orig; /* input dump file original value given at command line. */ char * output_arg; /* output file name. */ + char * output_orig; /* output file name original value given at command line. */ int step_arg; /* process every n frame (default='1'). */ + char * step_orig; /* process every n frame original value given at command line. */ int nrbins_arg; /* number of bins for distance (default='100'). */ + char * nrbins_orig; /* number of bins for distance original value given at command line. */ + int nbins_x_arg; /* number of bins in x axis. */ + char * nbins_x_orig; /* number of bins in x axis original value given at command line. */ + int nbins_y_arg; /* number of bins in y axis. */ + char * nbins_y_orig; /* number of bins in y axis original value given at command line. */ int nanglebins_arg; /* number of bins for cos(angle) (default='50'). */ + char * nanglebins_orig; /* number of bins for cos(angle) original value given at command line. */ double length_arg; /* maximum length (Defaults to 1/2 smallest length of first frame). */ - char * sele1_arg; /* select first stuntdouble set. */ - char * sele2_arg; /* select second stuntdouble set. */ + char * length_orig; /* maximum length (Defaults to 1/2 smallest length of first frame) original value given at command line. */ + double zoffset_arg; /* Where to set the zero for the slab_density calculation (default='0'). */ + char * zoffset_orig; /* Where to set the zero for the slab_density calculation original value given at command line. */ + char * sele1_arg; /* select the first stuntdouble set. */ + char * sele1_orig; /* select the first stuntdouble set original value given at command line. */ + char * sele2_arg; /* select the second stuntdouble set. */ + char * sele2_orig; /* select the second stuntdouble set original value given at command line. */ + char * sele3_arg; /* select the third stuntdouble set. */ + char * sele3_orig; /* select the third stuntdouble set original value given at command line. */ char * refsele_arg; /* select reference (use and only use with --gxyz). */ - + char * refsele_orig; /* select reference (use and only use with --gxyz) original value given at command line. */ + char * molname_arg; /* molecule name. */ + char * molname_orig; /* molecule name original value given at command line. */ + int begin_arg; /* begin interanl index. */ + char * begin_orig; /* begin interanl index original value given at command line. */ + int end_arg; /* end internal index. */ + char * end_orig; /* end internal index original value given at command line. */ + int help_given ; /* Whether help was given. */ int version_given ; /* Whether version was given. */ int input_given ; /* Whether input was given. */ int output_given ; /* Whether output was given. */ int step_given ; /* Whether step was given. */ + int nbins_x_given; /* Whether nbins_x was given */ + int nbins_y_given; /* Whether nbins_y was given */ int nrbins_given ; /* Whether nrbins was given. */ int nanglebins_given ; /* Whether nanglebins was given. */ int length_given ; /* Whether length was given. */ + int zoffset_given ; /* Whether zoffset was given. */ int sele1_given ; /* Whether sele1 was given. */ int sele2_given ; /* Whether sele2 was given. */ + int sele3_given ; /* Whether sele3 was given. */ int refsele_given ; /* Whether refsele was given. */ + int molname_given ; /* Whether molname was given. */ + int begin_given ; /* Whether begin was given. */ + int end_given ; /* Whether end was given. */ int gofr_given ; /* Whether gofr was given. */ int r_theta_given ; /* Whether r_theta was given. */ int r_omega_given ; /* Whether r_omega was given. */ int theta_omega_given ; /* Whether theta_omega was given. */ int gxyz_given ; /* Whether gxyz was given. */ int p2_given ; /* Whether p2 was given. */ + int scd_given ; /* Whether scd was given. */ + int density_given ; /* Whether density was given. */ + int slab_density_given ; /* Whether slab_density was given. */ + int hxy_given; /*Whether hxy was given. */ + int staticProps_group_counter; /* counter for group staticProps */ } ; int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info); +int cmdline_parser2 (int argc, char * const *argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required); +int cmdline_parser_file_save(const char *filename, struct gengetopt_args_info *args_info); void cmdline_parser_print_help(void); void cmdline_parser_print_version(void); +void cmdline_parser_init (struct gengetopt_args_info *args_info); +void cmdline_parser_free (struct gengetopt_args_info *args_info); + +int cmdline_parser_required (struct gengetopt_args_info *args_info, const char *prog_name); + + #ifdef __cplusplus } #endif /* __cplusplus */