ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/applications/staticProps/StaticPropsCmd.h
(Generate patch)

Comparing trunk/OOPSE-4/src/applications/staticProps/StaticPropsCmd.h (file contents):
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 2701 by gezelter, Tue Apr 11 15:33:27 2006 UTC

# Line 1 | Line 1
1   /* StaticPropsCmd.h */
2  
3 < /* File autogenerated by gengetopt version 2.11  */
3 > /* File autogenerated by gengetopt version 2.16  */
4  
5   #ifndef STATICPROPSCMD_H
6   #define STATICPROPSCMD_H
# Line 22 | Line 22 | extern "C" {
22   #define CMDLINE_PARSER_VERSION "1.00"
23   #endif
24  
25 <  struct gengetopt_args_info
26 <  {
27 <    char * input_arg;   /* input dump file.  */
28 <    char * output_arg;  /* output file name.  */
29 <    int step_arg;       /* process every n frame (default='1').  */
30 <    int nrbins_arg;     /* number of bins for distance (default='100').  */
31 <    int nanglebins_arg; /* number of bins for cos(angle) (default='50').  */
32 <    double length_arg;  /* maximum length (Defaults to 1/2 smallest length of first frame).  */
33 <    char * sele1_arg;   /* select first stuntdouble set.  */
34 <    char * sele2_arg;   /* select second stuntdouble set.  */
35 <    char * refsele_arg; /* select reference (use and only use with --gxyz).  */
25 > struct gengetopt_args_info
26 > {
27 >  char * input_arg;     /* input dump file.  */
28 >  char * input_orig;    /* input dump file original value given at command line.  */
29 >  char * output_arg;    /* output file name.  */
30 >  char * output_orig;   /* output file name original value given at command line.  */
31 >  int step_arg; /* process every n frame (default='1').  */
32 >  char * step_orig;     /* process every n frame original value given at command line.  */
33 >  int nrbins_arg;       /* number of bins for distance (default='100').  */
34 >  char * nrbins_orig;   /* number of bins for distance original value given at command line.  */
35 >  int nanglebins_arg;   /* number of bins for cos(angle) (default='50').  */
36 >  char * nanglebins_orig;       /* number of bins for cos(angle) original value given at command line.  */
37 >  double length_arg;    /* maximum length (Defaults to 1/2 smallest length of first frame).  */
38 >  char * length_orig;   /* maximum length (Defaults to 1/2 smallest length of first frame) original value given at command line.  */
39 >  double zoffset_arg;   /* Where to set the zero for the slab_density calculation (default='0').  */
40 >  char * zoffset_orig;  /* Where to set the zero for the slab_density calculation original value given at command line.  */
41 >  char * sele1_arg;     /* select the first stuntdouble set.  */
42 >  char * sele1_orig;    /* select the first stuntdouble set original value given at command line.  */
43 >  char * sele2_arg;     /* select the second stuntdouble set.  */
44 >  char * sele2_orig;    /* select the second stuntdouble set original value given at command line.  */
45 >  char * sele3_arg;     /* select the third stuntdouble set.  */
46 >  char * sele3_orig;    /* select the third stuntdouble set original value given at command line.  */
47 >  char * refsele_arg;   /* select reference (use and only use with --gxyz).  */
48 >  char * refsele_orig;  /* select reference (use and only use with --gxyz) original value given at command line.  */
49 >  char * molname_arg;   /* molecule name.  */
50 >  char * molname_orig;  /* molecule name original value given at command line.  */
51 >  int begin_arg;        /* begin interanl index.  */
52 >  char * begin_orig;    /* begin interanl index original value given at command line.  */
53 >  int end_arg;  /* end internal index.  */
54 >  char * end_orig;      /* end internal index original value given at command line.  */
55 >  
56 >  int help_given ;      /* Whether help was given.  */
57 >  int version_given ;   /* Whether version was given.  */
58 >  int input_given ;     /* Whether input was given.  */
59 >  int output_given ;    /* Whether output was given.  */
60 >  int step_given ;      /* Whether step was given.  */
61 >  int nrbins_given ;    /* Whether nrbins was given.  */
62 >  int nanglebins_given ;        /* Whether nanglebins was given.  */
63 >  int length_given ;    /* Whether length was given.  */
64 >  int zoffset_given ;   /* Whether zoffset was given.  */
65 >  int sele1_given ;     /* Whether sele1 was given.  */
66 >  int sele2_given ;     /* Whether sele2 was given.  */
67 >  int sele3_given ;     /* Whether sele3 was given.  */
68 >  int refsele_given ;   /* Whether refsele was given.  */
69 >  int molname_given ;   /* Whether molname was given.  */
70 >  int begin_given ;     /* Whether begin was given.  */
71 >  int end_given ;       /* Whether end was given.  */
72 >  int gofr_given ;      /* Whether gofr was given.  */
73 >  int r_theta_given ;   /* Whether r_theta was given.  */
74 >  int r_omega_given ;   /* Whether r_omega was given.  */
75 >  int theta_omega_given ;       /* Whether theta_omega was given.  */
76 >  int gxyz_given ;      /* Whether gxyz was given.  */
77 >  int p2_given ;        /* Whether p2 was given.  */
78 >  int scd_given ;       /* Whether scd was given.  */
79 >  int density_given ;   /* Whether density was given.  */
80 >  int slab_density_given ;      /* Whether slab_density was given.  */
81  
82 <    int help_given ;    /* Whether help was given.  */
83 <    int version_given ; /* Whether version was given.  */
39 <    int input_given ;   /* Whether input was given.  */
40 <    int output_given ;  /* Whether output was given.  */
41 <    int step_given ;    /* Whether step was given.  */
42 <    int nrbins_given ;  /* Whether nrbins was given.  */
43 <    int nanglebins_given ;      /* Whether nanglebins was given.  */
44 <    int length_given ;  /* Whether length was given.  */
45 <    int sele1_given ;   /* Whether sele1 was given.  */
46 <    int sele2_given ;   /* Whether sele2 was given.  */
47 <    int refsele_given ; /* Whether refsele was given.  */
48 <    int gofr_given ;    /* Whether gofr was given.  */
49 <    int r_theta_given ; /* Whether r_theta was given.  */
50 <    int r_omega_given ; /* Whether r_omega was given.  */
51 <    int theta_omega_given ;     /* Whether theta_omega was given.  */
52 <    int gxyz_given ;    /* Whether gxyz was given.  */
82 >  int staticProps_group_counter; /* counter for group staticProps */
83 > } ;
84  
85 <  } ;
85 > int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
86 > int cmdline_parser2 (int argc, char * const *argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required);
87 > int cmdline_parser_file_save(const char *filename, struct gengetopt_args_info *args_info);
88  
89 <  int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
89 > void cmdline_parser_print_help(void);
90 > void cmdline_parser_print_version(void);
91  
92 <  void cmdline_parser_print_help(void);
93 <  void cmdline_parser_print_version(void);
92 > void cmdline_parser_init (struct gengetopt_args_info *args_info);
93 > void cmdline_parser_free (struct gengetopt_args_info *args_info);
94  
95 + int cmdline_parser_required (struct gengetopt_args_info *args_info, const char *prog_name);
96 +
97 +
98   #ifdef __cplusplus
99   }
100   #endif /* __cplusplus */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines