ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/applications/staticProps/StaticPropsCmd.h
Revision: 1995
Committed: Thu Feb 10 22:37:21 2005 UTC (19 years, 5 months ago) by tim
Content type: text/plain
File size: 2018 byte(s)
Log Message:
more work in StaticProps

File Contents

# User Rev Content
1 tim 1995 /* StaticPropsCmd.h */
2 tim 1994
3     /* File autogenerated by gengetopt version 2.11 */
4    
5     #ifndef STATICPROPSCMD_H
6     #define STATICPROPSCMD_H
7    
8     /* If we use autoconf. */
9     #ifdef HAVE_CONFIG_H
10     #include "config.h"
11     #endif
12    
13     #ifdef __cplusplus
14     extern "C" {
15     #endif /* __cplusplus */
16    
17     #ifndef CMDLINE_PARSER_PACKAGE
18 tim 1995 #define CMDLINE_PARSER_PACKAGE "StaticProps"
19 tim 1994 #endif
20    
21     #ifndef CMDLINE_PARSER_VERSION
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 tim 1995 int step_arg; /* process every n frame (default='1'). */
30     int nrbins_arg; /* number of bins for distance (default='50'). */
31 tim 1994 int nanglebins_arg; /* number of bins for cos(angle) (default='50'). */
32 tim 1995 double length_arg; /* maximum length (Defaults to 1/2 smallest length of first frame). */
33 tim 1994 char * sele1_arg; /* select first stuntdouble set. */
34     char * sele2_arg; /* select second stuntdouble set. */
35    
36     int help_given ; /* Whether help was given. */
37     int version_given ; /* Whether version was given. */
38     int input_given ; /* Whether input was given. */
39     int output_given ; /* Whether output was given. */
40 tim 1995 int step_given ; /* Whether step was given. */
41     int nrbins_given ; /* Whether nrbins was given. */
42 tim 1994 int nanglebins_given ; /* Whether nanglebins was given. */
43     int length_given ; /* Whether length was given. */
44     int sele1_given ; /* Whether sele1 was given. */
45     int sele2_given ; /* Whether sele2 was given. */
46     int gofr_given ; /* Whether gofr was given. */
47     int r_theta_given ; /* Whether r_theta was given. */
48     int r_omega_given ; /* Whether r_omega was given. */
49     int theta_omega_given ; /* Whether theta_omega was given. */
50     int xyz_given ; /* Whether xyz was given. */
51    
52     } ;
53    
54     int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
55    
56     void cmdline_parser_print_help(void);
57     void cmdline_parser_print_version(void);
58    
59     #ifdef __cplusplus
60     }
61     #endif /* __cplusplus */
62     #endif /* STATICPROPSCMD_H */