1 |
/* visualizerCmd.h */ |
2 |
|
3 |
/* File autogenerated by gengetopt version 2.12.1 */ |
4 |
|
5 |
#ifndef VISUALIZERCMD_H |
6 |
#define VISUALIZERCMD_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 "visualizer" |
19 |
#endif |
20 |
|
21 |
#ifndef CMDLINE_PARSER_VERSION |
22 |
#define CMDLINE_PARSER_VERSION "0.99" |
23 |
#endif |
24 |
|
25 |
struct gengetopt_args_info |
26 |
{ |
27 |
char * shape_arg; /* shape file name. */ |
28 |
char * output_arg; /* output file name. */ |
29 |
int grid_arg; /* number of grid points in each coordinate (default='101'). */ |
30 |
double range_arg; /* the sample range for the points in Angstroms (Ex: 10 = -10 to 10) (default='10'). */ |
31 |
|
32 |
int help_given ; /* Whether help was given. */ |
33 |
int version_given ; /* Whether version was given. */ |
34 |
int shape_given ; /* Whether shape was given. */ |
35 |
int output_given ; /* Whether output was given. */ |
36 |
int grid_given ; /* Whether grid was given. */ |
37 |
int range_given ; /* Whether range was given. */ |
38 |
|
39 |
} ; |
40 |
|
41 |
int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info); |
42 |
int cmdline_parser2 (int argc, char * const *argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required); |
43 |
|
44 |
void cmdline_parser_print_help(void); |
45 |
void cmdline_parser_print_version(void); |
46 |
|
47 |
void cmdline_parser_init (struct gengetopt_args_info *args_info); |
48 |
void cmdline_parser_free (struct gengetopt_args_info *args_info); |
49 |
|
50 |
#ifdef __cplusplus |
51 |
} |
52 |
#endif /* __cplusplus */ |
53 |
#endif /* VISUALIZERCMD_H */ |