1 |
|
/* nanorodBuilderCmd.h */ |
2 |
|
|
3 |
< |
/* File autogenerated by gengetopt version 2.12 */ |
3 |
> |
/* File autogenerated by gengetopt version 2.13 */ |
4 |
|
|
5 |
|
#ifndef NANORODBUILDERCMD_H |
6 |
|
#define NANORODBUILDERCMD_H |
29 |
|
double length_arg; /* length of nanorod in Angstroms. */ |
30 |
|
double width_arg; /* diameter of nanorod in Angstroms. */ |
31 |
|
double latticeCnst_arg; /* lattice spacing in Angstrons for cubic lattice. */ |
32 |
< |
long genGeomview_arg; /* generate a geomview file with the object geometry. */ |
33 |
< |
|
32 |
> |
int genGeomview_flag; /* generate a geomview file with the object geometry (default=off). */ |
33 |
> |
int twinnedCrystal_flag; /* generate a twinned crystal nanorod (default=off). */ |
34 |
> |
|
35 |
|
int help_given ; /* Whether help was given. */ |
36 |
|
int version_given ; /* Whether version was given. */ |
37 |
|
int output_given ; /* Whether output was given. */ |
40 |
|
int width_given ; /* Whether width was given. */ |
41 |
|
int latticeCnst_given ; /* Whether latticeCnst was given. */ |
42 |
|
int genGeomview_given ; /* Whether genGeomview was given. */ |
43 |
+ |
int twinnedCrystal_given ; /* Whether twinnedCrystal was given. */ |
44 |
|
|
45 |
|
char **inputs ; /* unamed options */ |
46 |
|
unsigned inputs_num ; /* unamed options number */ |
47 |
|
} ; |
48 |
|
|
49 |
|
int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info); |
50 |
< |
int cmdline_parser2 (int argc, char * const *argv, struct gengetopt_args_info *args_info, int override, int initialize); |
50 |
> |
int cmdline_parser2 (int argc, char * const *argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required); |
51 |
|
|
52 |
|
void cmdline_parser_print_help(void); |
53 |
|
void cmdline_parser_print_version(void); |
55 |
|
void cmdline_parser_init (struct gengetopt_args_info *args_info); |
56 |
|
void cmdline_parser_free (struct gengetopt_args_info *args_info); |
57 |
|
|
58 |
+ |
int cmdline_parser_required (struct gengetopt_args_info *args_info, const char *prog_name); |
59 |
+ |
|
60 |
+ |
|
61 |
|
#ifdef __cplusplus |
62 |
|
} |
63 |
|
#endif /* __cplusplus */ |