| 1 | 
tim | 
311 | 
/* StaticPropsCmd.h */ | 
| 2 | 
tim | 
310 | 
 | 
| 3 | 
  | 
  | 
/* File autogenerated by gengetopt version 2.11  */ | 
| 4 | 
  | 
  | 
 | 
| 5 | 
  | 
  | 
#ifndef STATICPROPSCMD_H | 
| 6 | 
  | 
  | 
#define STATICPROPSCMD_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 | 
tim | 
311 | 
#define CMDLINE_PARSER_PACKAGE "StaticProps" | 
| 19 | 
tim | 
310 | 
#endif | 
| 20 | 
  | 
  | 
 | 
| 21 | 
  | 
  | 
#ifndef CMDLINE_PARSER_VERSION | 
| 22 | 
  | 
  | 
#define CMDLINE_PARSER_VERSION "1.00" | 
| 23 | 
  | 
  | 
#endif | 
| 24 | 
  | 
  | 
 | 
| 25 | 
gezelter | 
507 | 
  struct gengetopt_args_info | 
| 26 | 
  | 
  | 
  { | 
| 27 | 
  | 
  | 
    char * input_arg;   /* input dump file.  */ | 
| 28 | 
  | 
  | 
    char * output_arg;  /* output file name.  */ | 
| 29 | 
  | 
  | 
    int step_arg;       /* process every n frame (default='1').  */ | 
| 30 | 
  | 
  | 
    int nrbins_arg;     /* number of bins for distance (default='100').  */ | 
| 31 | 
  | 
  | 
    int nanglebins_arg; /* number of bins for cos(angle) (default='50').  */ | 
| 32 | 
  | 
  | 
    double length_arg;  /* maximum length (Defaults to 1/2 smallest length of first frame).  */ | 
| 33 | 
  | 
  | 
    char * sele1_arg;   /* select first stuntdouble set.  */ | 
| 34 | 
  | 
  | 
    char * sele2_arg;   /* select second stuntdouble set.  */ | 
| 35 | 
  | 
  | 
    char * refsele_arg; /* select reference (use and only use with --gxyz).  */ | 
| 36 | 
tim | 
310 | 
 | 
| 37 | 
gezelter | 
507 | 
    int help_given ;    /* Whether help was given.  */ | 
| 38 | 
  | 
  | 
    int version_given ; /* Whether version was given.  */ | 
| 39 | 
  | 
  | 
    int input_given ;   /* Whether input was given.  */ | 
| 40 | 
  | 
  | 
    int output_given ;  /* Whether output was given.  */ | 
| 41 | 
  | 
  | 
    int step_given ;    /* Whether step was given.  */ | 
| 42 | 
  | 
  | 
    int nrbins_given ;  /* Whether nrbins was given.  */ | 
| 43 | 
  | 
  | 
    int nanglebins_given ;      /* Whether nanglebins was given.  */ | 
| 44 | 
  | 
  | 
    int length_given ;  /* Whether length was given.  */ | 
| 45 | 
  | 
  | 
    int sele1_given ;   /* Whether sele1 was given.  */ | 
| 46 | 
  | 
  | 
    int sele2_given ;   /* Whether sele2 was given.  */ | 
| 47 | 
  | 
  | 
    int refsele_given ; /* Whether refsele was given.  */ | 
| 48 | 
  | 
  | 
    int gofr_given ;    /* Whether gofr was given.  */ | 
| 49 | 
  | 
  | 
    int r_theta_given ; /* Whether r_theta was given.  */ | 
| 50 | 
  | 
  | 
    int r_omega_given ; /* Whether r_omega was given.  */ | 
| 51 | 
  | 
  | 
    int theta_omega_given ;     /* Whether theta_omega was given.  */ | 
| 52 | 
  | 
  | 
    int gxyz_given ;    /* Whether gxyz was given.  */ | 
| 53 | 
tim | 
310 | 
 | 
| 54 | 
gezelter | 
507 | 
  } ; | 
| 55 | 
tim | 
310 | 
 | 
| 56 | 
gezelter | 
507 | 
  int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info); | 
| 57 | 
tim | 
310 | 
 | 
| 58 | 
gezelter | 
507 | 
  void cmdline_parser_print_help(void); | 
| 59 | 
  | 
  | 
  void cmdline_parser_print_version(void); | 
| 60 | 
tim | 
310 | 
 | 
| 61 | 
  | 
  | 
#ifdef __cplusplus | 
| 62 | 
  | 
  | 
} | 
| 63 | 
  | 
  | 
#endif /* __cplusplus */ | 
| 64 | 
  | 
  | 
#endif /* STATICPROPSCMD_H */ |