ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/SHAPES/visualizerCmd.h
Revision: 1361
Committed: Tue Jul 20 20:22:43 2004 UTC (19 years, 11 months ago) by gezelter
Content type: text/plain
File size: 1466 byte(s)
Log Message:
using gengetopts --unamed-opts="SHAPEFILE [OUTPUTFILE]"

File Contents

# Content
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 int grid_arg; /* number of grid points in each coordinate (default='101'). */
28 double range_arg; /* the sample range for the points in Angstroms (Ex: 10 = -10 to 10) (default='10'). */
29
30 int help_given ; /* Whether help was given. */
31 int version_given ; /* Whether version was given. */
32 int grid_given ; /* Whether grid was given. */
33 int range_given ; /* Whether range was given. */
34
35 char **inputs ; /* unamed options */
36 unsigned inputs_num ; /* unamed options number */
37 } ;
38
39 int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
40 int cmdline_parser2 (int argc, char * const *argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required);
41
42 void cmdline_parser_print_help(void);
43 void cmdline_parser_print_version(void);
44
45 void cmdline_parser_init (struct gengetopt_args_info *args_info);
46 void cmdline_parser_free (struct gengetopt_args_info *args_info);
47
48 #ifdef __cplusplus
49 }
50 #endif /* __cplusplus */
51 #endif /* VISUALIZERCMD_H */