1 |
tim |
306 |
/* GofRCmd.h */ |
2 |
|
|
|
3 |
|
|
/* File autogenerated by gengetopt version 2.11 */ |
4 |
|
|
|
5 |
|
|
#ifndef GOFRCMD_H |
6 |
|
|
#define GOFRCMD_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 "gofr" |
19 |
|
|
#endif |
20 |
|
|
|
21 |
|
|
#ifndef CMDLINE_PARSER_VERSION |
22 |
|
|
#define CMDLINE_PARSER_VERSION "1.00" |
23 |
|
|
#endif |
24 |
|
|
|
25 |
|
|
struct gengetopt_args_info |
26 |
|
|
{ |
27 |
|
|
char * input_arg; /* input dump file. */ |
28 |
|
|
char * output_arg; /* output file name. */ |
29 |
|
|
int frame_arg; /* print every n frame (default='1'). */ |
30 |
|
|
int nbins_arg; /* number of bins (default='50'). */ |
31 |
|
|
double length_arg; /* maximum length. */ |
32 |
|
|
char * sele1_arg; /* select first stuntdouble set. */ |
33 |
|
|
char * sele2_arg; /* select second stuntdouble set. */ |
34 |
|
|
|
35 |
|
|
int help_given ; /* Whether help was given. */ |
36 |
|
|
int version_given ; /* Whether version was given. */ |
37 |
|
|
int input_given ; /* Whether input was given. */ |
38 |
|
|
int output_given ; /* Whether output was given. */ |
39 |
|
|
int frame_given ; /* Whether frame was given. */ |
40 |
|
|
int nbins_given ; /* Whether nbins was given. */ |
41 |
|
|
int length_given ; /* Whether length was given. */ |
42 |
|
|
int sele1_given ; /* Whether sele1 was given. */ |
43 |
|
|
int sele2_given ; /* Whether sele2 was given. */ |
44 |
|
|
|
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 /* GOFRCMD_H */ |