LocARNA-1.9.2
Classes | Defines | Functions
src/LocARNA/options.hh File Reference

options -- an interface for getopt_long More...

#include <getopt.h>
#include <string>

Go to the source code of this file.

Classes

struct  LocARNA::option_def
 Definition structure of an option. More...

Defines

#define O_NO_ARG   0
#define O_ARG_STRING   1
#define O_ARG_INT   2
#define O_ARG_FLOAT   3
#define O_ARG_DOUBLE   4
#define O_ARG_BOOL   5
#define O_TEXT   10
#define O_SECTION   -1
#define O_SECTION_HIDE   -2
#define O_NODEFAULT   std::string("__")

Functions

bool LocARNA::process_options (int argc, char *argv[], option_def options[])
void LocARNA::print_usage (char *progname, option_def options[], bool terse)
void LocARNA::print_help (char *progname, option_def options[])
const char * LocARNA::convert_arg_type (int arg_type)
void LocARNA::print_galaxy_xml (char *progname, option_def options[])
 prints a galaxy wrapper in xml format
void LocARNA::print_options (option_def options[])

Detailed Description

options -- an interface for getopt_long

Interface to getopt

Todo:
replace by gengetopt
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends