1 #ifndef LOCARNA_OPTIONS_HH
2 #define LOCARNA_OPTIONS_HH
41 #define O_ARG_STRING 1
44 #define O_ARG_DOUBLE 4
48 #define O_SECTION_HIDE -2
50 #define O_NODEFAULT std::string("__")
120 convert_arg_type(
int arg_type);
Definition: aligner.cc:15
void print_help(char *progname, option_def options[])
Definition: options.cc:682
void print_usage(char *progname, option_def options[], bool terse)
Definition: options.cc:419
void print_galaxy_xml(char *progname, option_def options[])
prints a galaxy wrapper in xml format
Definition: options.cc:446
bool process_options(int argc, char *argv[], option_def *options)
process options
Definition: options.cc:126
void print_options(option_def options[])
Definition: options.cc:327
std::string O_error_msg
string holding for error message
Definition: options.cc:47
Definition structure of an option.
Definition: options.hh:55
void * argument
Definition: options.hh:60
std::string longname
long option name
Definition: options.hh:56
int arg_type
type of argument
Definition: options.hh:59
std::string deflt
Definition: options.hh:62
bool * flag
pointer to flag that indicates if option given
Definition: options.hh:58
std::string description
optional description (shown in help)
Definition: options.hh:66
std::string argname
optional name for an argument (shown in usage string)
Definition: options.hh:65
char shortname
short option char
Definition: options.hh:57