ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/applications/simpleBuilder/simpleBuilderCmd.h
Revision: 2204
Committed: Fri Apr 15 22:04:00 2005 UTC (19 years, 3 months ago) by gezelter
Content type: text/plain
File size: 1619 byte(s)
Log Message:
xemacs has been drafted to perform our indentation services

File Contents

# User Rev Content
1 tim 1501 /* simpleBuilderCmd.h */
2    
3     /* File autogenerated by gengetopt version 2.11 */
4    
5     #ifndef SIMPLEBUILDERCMD_H
6     #define SIMPLEBUILDERCMD_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     #define CMDLINE_PARSER_PACKAGE "simpleBuilder"
19     #endif
20    
21     #ifndef CMDLINE_PARSER_VERSION
22     #define CMDLINE_PARSER_VERSION "1.0"
23     #endif
24    
25 gezelter 2204 struct gengetopt_args_info
26     {
27     char * output_arg; /* Output file name. */
28     char * latticetype_arg; /* Lattice type string. Valid types are fcc,hcp,bcc and hcp-water. (default='fcc'). */
29     double density_arg; /* density (g/cm^3). */
30     int nx_arg; /* number of unit cells in x. */
31     int ny_arg; /* number of unit cells in y. */
32     int nz_arg; /* number of unit cells in z. */
33 tim 1501
34 gezelter 2204 int help_given ; /* Whether help was given. */
35     int version_given ; /* Whether version was given. */
36     int output_given ; /* Whether output was given. */
37     int latticetype_given ; /* Whether latticetype was given. */
38     int density_given ; /* Whether density was given. */
39     int nx_given ; /* Whether nx was given. */
40     int ny_given ; /* Whether ny was given. */
41     int nz_given ; /* Whether nz was given. */
42 tim 1501
43 gezelter 2204 char **inputs ; /* unamed options */
44     unsigned inputs_num ; /* unamed options number */
45     } ;
46 tim 1501
47 gezelter 2204 int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
48 tim 1501
49 gezelter 2204 void cmdline_parser_print_help(void);
50     void cmdline_parser_print_version(void);
51 tim 1501
52     #ifdef __cplusplus
53     }
54     #endif /* __cplusplus */
55     #endif /* SIMPLEBUILDERCMD_H */