ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-2.0/src/applications/simpleBuilder/simpleBuilderCmd.h
Revision: 1683
Committed: Thu Oct 28 22:34:02 2004 UTC (19 years, 8 months ago)
Content type: text/plain
File size: 1575 byte(s)
Log Message:
This commit was manufactured by cvs2svn to create branch 'new_design'.

File Contents

# Content
1 /* 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 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
34 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
43 char **inputs ; /* unamed options */
44 unsigned inputs_num ; /* unamed options number */
45 } ;
46
47 int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
48
49 void cmdline_parser_print_help(void);
50 void cmdline_parser_print_version(void);
51
52 #ifdef __cplusplus
53 }
54 #endif /* __cplusplus */
55 #endif /* SIMPLEBUILDERCMD_H */